POST Communicate/SendSms
Request Information
URI Parameters
None.
Body Parameters
SmsRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ServiceUsername | string |
Required |
|
| ServicePassword | string |
Required |
|
| Message | string |
Required |
|
| MobileNumber | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"MobileNumber": "sample string 4",
"Message": "sample string 3",
"ServicePassword": "sample string 2",
"ServiceUsername": "sample string 1"
}
application/xml, text/xml
Sample:
<SmsRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ServiceUsername>sample string 1</ServiceUsername> <ServicePassword>sample string 2</ServicePassword> <Message>sample string 3</Message> <MobileNumber>sample string 4</MobileNumber> </SmsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SmsResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Recipient | string |
None. |
|
| Status | string |
None. |
|
| ResponseString | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseString": "sample string 3",
"Status": "sample string 2",
"Recipient": "sample string 1"
}
application/xml, text/xml
Sample:
<SmsResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Recipient>sample string 1</Recipient> <Status>sample string 2</Status> <ResponseString>sample string 3</ResponseString> </SmsResponse>