POST api/Values/SendZNSSms
Request Information
URI Parameters
None.
Body Parameters
OTTSMS| Name | Description | Type | Additional information |
|---|---|---|---|
| client_id | string |
None. |
|
| from | string |
None. |
|
| to | string |
None. |
|
| text | string |
None. |
|
| client_req_id | string |
None. |
|
| dlr | integer |
None. |
|
| smsid | string |
None. |
|
| unicode | integer |
None. |
|
| brand_name | string |
None. |
|
| isSendSMSIfZNSFail | boolean |
None. |
|
| smsFailover | SMSFailover |
None. |
Request Formats
application/json, text/json
Sample:
{
"client_id": "sample string 1",
"from": "sample string 2",
"to": "sample string 3",
"text": "sample string 4",
"client_req_id": "sample string 5",
"dlr": 1,
"smsid": "sample string 6",
"unicode": 1,
"brand_name": "sample string 7",
"isSendSMSIfZNSFail": true,
"smsFailover": {
"from": "sample string 1",
"to": "sample string 2",
"text": "sample string 3",
"unicode": 1
}
}
application/xml, text/xml
Sample:
<OTTSMS xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<client_id>sample string 1</client_id>
<from>sample string 2</from>
<to>sample string 3</to>
<text>sample string 4</text>
<client_req_id>sample string 5</client_req_id>
<dlr>1</dlr>
<smsid>sample string 6</smsid>
<unicode>1</unicode>
<brand_name>sample string 7</brand_name>
<isSendSMSIfZNSFail>true</isSendSMSIfZNSFail>
<smsFailover>
<from>sample string 1</from>
<to>sample string 2</to>
<text>sample string 3</text>
<unicode>1</unicode>
</smsFailover>
</OTTSMS>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |