POST api/Sms/SendVoice
Request Information
URI Parameters
None.
Body Parameters
VoiceVCodeRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| AppId | string |
None. |
|
| Phone | string |
None. |
|
| Sign | string |
None. |
|
| VCode | string |
None. |
|
| Timestamp | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AppId": "sample string 1",
"Phone": "sample string 2",
"Sign": "sample string 3",
"VCode": "sample string 4",
"Timestamp": "sample string 5"
}
application/xml, text/xml
Sample:
<VoiceVCodeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fenqibao.DTO.Sms.Request"> <AppId>sample string 1</AppId> <Phone>sample string 2</Phone> <Sign>sample string 3</Sign> <Timestamp>sample string 5</Timestamp> <VCode>sample string 4</VCode> </VoiceVCodeRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SmsBaseResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| status | boolean |
None. |
|
| code | integer |
None. |
|
| msg | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": true,
"code": 2,
"msg": "sample string 3"
}
application/xml, text/xml
Sample:
<SmsBaseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fenqibao.DTO.Sms.Response"> <code>2</code> <msg>sample string 3</msg> <status>true</status> </SmsBaseResponse>