POST api/BulkSMS
Request Information
URI Parameters
None.
Body Parameters
RequestBulkSMS| Name | Description | Type | Additional information |
|---|---|---|---|
| Msisdn | Collection of string |
None. |
|
| Content | string |
None. |
|
| HeaderID | integer |
None. |
|
| HeaderName | string |
None. |
|
| SMSCount | integer |
None. |
|
| SMSLanguage | string |
None. |
|
| ServiceCode | string |
None. |
|
| IsSchedule | boolean |
None. |
|
| SendDate | string |
None. |
|
| SendTime | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Msisdn": [
"sample string 1",
"sample string 2"
],
"Content": "sample string 1",
"HeaderID": 2,
"HeaderName": "sample string 3",
"SMSCount": 4,
"SMSLanguage": "sample string 5",
"ServiceCode": "sample string 6",
"IsSchedule": true,
"SendDate": "sample string 8",
"SendTime": "sample string 9"
}
application/xml, text/xml
Sample:
<RequestBulkSMS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMS.Controllers">
<Content>sample string 1</Content>
<HeaderID>2</HeaderID>
<HeaderName>sample string 3</HeaderName>
<IsSchedule>true</IsSchedule>
<Msisdn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Msisdn>
<SMSCount>4</SMSCount>
<SMSLanguage>sample string 5</SMSLanguage>
<SendDate>sample string 8</SendDate>
<SendTime>sample string 9</SendTime>
<ServiceCode>sample string 6</ServiceCode>
</RequestBulkSMS>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultBulkSMS| Name | Description | Type | Additional information |
|---|---|---|---|
| ResultCode | string |
None. |
|
| ResultDesc | string |
None. |
|
| Status | boolean |
None. |
|
| Total | integer |
None. |
|
| Success | integer |
None. |
|
| Failed | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResultCode": "sample string 1",
"ResultDesc": "sample string 2",
"Status": true,
"Total": 4,
"Success": 5,
"Failed": 6
}
application/xml, text/xml
Sample:
<ResultBulkSMS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMS.Controllers"> <Failed>6</Failed> <ResultCode>sample string 1</ResultCode> <ResultDesc>sample string 2</ResultDesc> <Status>true</Status> <Success>5</Success> <Total>4</Total> </ResultBulkSMS>