POST api/SmsInfo/TencentSmsPostCallback
腾讯云短信回调
Request Information
URI Parameters
None.
Body Parameters
Collection of TencentSmsCallbackDto| Name | Description | Type | Additional information |
|---|---|---|---|
| user_receive_time |
用户实际接收到短信的时间 |
string |
None. |
| ReceiveTimeParsed |
(解析后的)接收到短信的时间 |
date |
None. |
| nationcode |
国家(或地区)码 |
string |
None. |
| mobile |
手机号码 |
string |
None. |
| report_status |
实际是否收到短信接收状态,SUCCESS(成功)、FAIL(失败) |
string |
None. |
| errmsg |
用户接收短信状态码错误信息 |
string |
None. |
| description |
用户接收短信状态描述 |
string |
None. |
| sid |
本次发送标识 ID |
string |
None. |
Request Formats
application/json
Sample:
text/json
Sample:
application/xml, text/xml
Sample:
<ArrayOfTencentSmsCallbackDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.CloudService.TencentCloud.Sms">
<TencentSmsCallbackDto>
<description>sample string 6</description>
<errmsg>sample string 5</errmsg>
<mobile>sample string 3</mobile>
<nationcode>sample string 2</nationcode>
<report_status>sample string 4</report_status>
<sid>sample string 7</sid>
<user_receive_time>sample string 1</user_receive_time>
</TencentSmsCallbackDto>
<TencentSmsCallbackDto>
<description>sample string 6</description>
<errmsg>sample string 5</errmsg>
<mobile>sample string 3</mobile>
<nationcode>sample string 2</nationcode>
<report_status>sample string 4</report_status>
<sid>sample string 7</sid>
<user_receive_time>sample string 1</user_receive_time>
</TencentSmsCallbackDto>
</ArrayOfTencentSmsCallbackDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
腾讯云短信回调
TencentSmsCallBackResultDto| Name | Description | Type | Additional information |
|---|---|---|---|
| result |
错误码,0表示成功(计费依据),非0表示失败 |
integer |
None. |
| errmsg |
错误消息,result 非0时的具体错误信息 |
string |
None. |
Response Formats
application/json
Sample:
text/json
Sample:
application/xml, text/xml
Sample:
<TencentSmsCallBackResultDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.CloudService.TencentCloud.Sms"> <errmsg>sample string 2</errmsg> <result>1</result> </TencentSmsCallBackResultDto>