POST api/BillAlert
Request Information
URI Parameters
None.
Body Parameters
RequestBillAlertName | Description | Type | Additional information |
---|---|---|---|
Msisdn | Collection of string |
None. |
|
Content | Collection of 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", "sample string 2" ], "HeaderID": 1, "HeaderName": "sample string 2", "SMSCount": 3, "SMSLanguage": "sample string 4", "ServiceCode": "sample string 5", "IsSchedule": true, "SendDate": "sample string 7", "SendTime": "sample string 8" }
application/xml, text/xml
Sample:
<RequestBillAlert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMS.Controllers"> <Content xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Content> <HeaderID>1</HeaderID> <HeaderName>sample string 2</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>3</SMSCount> <SMSLanguage>sample string 4</SMSLanguage> <SendDate>sample string 7</SendDate> <SendTime>sample string 8</SendTime> <ServiceCode>sample string 5</ServiceCode> </RequestBillAlert>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultBillAlertName | 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:
<ResultBillAlert 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> </ResultBillAlert>