POST api/SendSMS
SendSMS is used to send text Message. Method-Type: POST, Content-Type: appication/json, Authorization-Type : Bearer Token
Request Information
URI Parameters
None.
Body Parameters
MTRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| refid |
is a reference id from end users to refer for delivery reports |
string |
None. |
| mobile |
is the receiver number of the message |
string |
Required |
| message |
is the message content to be sent |
string |
Required |
| senderid |
is the sender/display name of the SMS |
string |
Required |
| mType |
is the message type of the SMS, set it -1 as a value |
SMSType |
Required |
| eType |
is the encoding type of the SMS, set it -1 as a value |
EncodingType |
Required |
| validity |
is the validity of the SMS, set it zero as a value if you don't care |
integer |
None. |
| delivery |
is the delivery time of the SMS, set it zero as a value if you don't care |
integer |
None. |
| UDH |
is the user data header of the SMS, set it empty string as a value |
string |
None. |
| RequestDate | string |
None. |
Request Formats
application/json, text/json
application/xml, text/xml
application/x-www-form-urlencoded
Response Information
Resource Description
MTResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | string |
None. |
|
| ResponseMessage | string |
None. |
|
| Data | MTData |
None. |