POST sms/Send
Request Information
URI Parameters
None.
Body Parameters
SmsRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| MobileNumber | string |
Required |
|
| Content | string |
Required |
|
| Time | string |
Required |
|
| Signature | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"MobileNumber": "sample string 1",
"Content": "sample string 2",
"Time": "sample string 3",
"Signature": "sample string 4"
}
application/xml, text/xml
Sample:
<SmsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LuckyLotterCoreApp.API.Models"> <Content>sample string 2</Content> <MobileNumber>sample string 1</MobileNumber> <Signature>sample string 4</Signature> <Time>sample string 3</Time> </SmsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseObject| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| Message | string |
None. |
|
| Time | string |
None. |
|
| Value | Object |
None. |
|
| ListValue | Collection of Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": "sample string 1",
"Message": "sample string 2",
"Time": "sample string 3",
"Value": {},
"ListValue": [
{},
{}
]
}
application/xml, text/xml
Sample:
<ResponseObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LuckyLotter.Admin.Lib">
<Code>sample string 1</Code>
<ListValue xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:anyType />
<d2p1:anyType />
</ListValue>
<Message>sample string 2</Message>
<Time>sample string 3</Time>
<Value />
</ResponseObject>