POST api/Sms
Request Information
URI Parameters
None.
Body Parameters
SmsClassName | Description | Type | Additional information |
---|---|---|---|
phone | integer |
None. |
|
code | integer |
None. |
|
mode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "phone": 1, "code": 2, "mode": 3 }
application/xml, text/xml
Sample:
<SmsClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnlineSalesServer.Models"> <code>2</code> <mode>3</mode> <phone>1</phone> </SmsClass>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |