POST api/SendWhatsAppMessageAsync
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
obj | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "MessageTypeID": 1, "MobileNoFileURL": "sample string 2", "MediaFileURL": "sample string 3", "MediaMessage": "sample string 4", "TextMessage": "sample string 5", "MessageLink": "sample string 6", "ComposeMessageList": [ { "SerialNo": 1, "MobileNo": "sample string 2", "Message": "sample string 3", "Status": true }, { "SerialNo": 1, "MobileNo": "sample string 2", "Message": "sample string 3", "Status": true }, { "SerialNo": 1, "MobileNo": "sample string 2", "Message": "sample string 3", "Status": true } ] }
text/html
Sample:
{"MessageTypeID":1,"MobileNoFileURL":"sample string 2","MediaFileURL":"sample string 3","MediaMessage":"sample string 4","TextMessage":"sample string 5","MessageLink":"sample string 6","ComposeMessageList":[{"SerialNo":1,"MobileNo":"sample string 2","Message":"sample string 3","Status":true},{"SerialNo":1,"MobileNo":"sample string 2","Message":"sample string 3","Status":true},{"SerialNo":1,"MobileNo":"sample string 2","Message":"sample string 3","Status":true}]}
application/xml, text/xml
Sample:
<WhatsAppMessageViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModels.WhatsApp"> <ComposeMessageList> <ComposeMessage> <Message>sample string 3</Message> <MobileNo>sample string 2</MobileNo> <SerialNo>1</SerialNo> <Status>true</Status> </ComposeMessage> <ComposeMessage> <Message>sample string 3</Message> <MobileNo>sample string 2</MobileNo> <SerialNo>1</SerialNo> <Status>true</Status> </ComposeMessage> <ComposeMessage> <Message>sample string 3</Message> <MobileNo>sample string 2</MobileNo> <SerialNo>1</SerialNo> <Status>true</Status> </ComposeMessage> </ComposeMessageList> <MediaFileURL>sample string 3</MediaFileURL> <MediaMessage>sample string 4</MediaMessage> <MessageLink>sample string 6</MessageLink> <MessageTypeID>1</MessageTypeID> <MobileNoFileURL>sample string 2</MobileNoFileURL> <TextMessage>sample string 5</TextMessage> </WhatsAppMessageViewModel>
application/x-www-form-urlencoded
Sample: