POST api/SmsInfo/AliSmsPostCallback
阿里云短信回调
Request Information
URI Parameters
None.
Body Parameters
Collection of AliSmsCallbackDtoName | Description | Type | Additional information |
---|---|---|---|
send_time |
发送时间 |
string |
None. |
SendTimeParsed |
(解析后的)接收到短信的时间 |
date |
None. |
report_time |
状态报告时间 |
string |
None. |
phone_number |
手机号码 |
string |
None. |
success |
是否接收成功 |
boolean |
None. |
err_code |
状态报告编码,DELIVERED(成功) |
string |
None. |
sms_size |
短信长度 |
string |
None. |
err_msg |
状态报告说明 |
string |
None. |
biz_id |
发送序列号 |
string |
None. |
out_id |
用户序列号 |
string |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml, text/xml
Sample:
<ArrayOfAliSmsCallbackDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.CloudService.AliCloud.Sms"> <AliSmsCallbackDto> <biz_id>sample string 8</biz_id> <err_code>sample string 5</err_code> <err_msg>sample string 7</err_msg> <out_id>sample string 9</out_id> <phone_number>sample string 3</phone_number> <report_time>sample string 2</report_time> <send_time>sample string 1</send_time> <sms_size>sample string 6</sms_size> <success>true</success> </AliSmsCallbackDto> <AliSmsCallbackDto> <biz_id>sample string 8</biz_id> <err_code>sample string 5</err_code> <err_msg>sample string 7</err_msg> <out_id>sample string 9</out_id> <phone_number>sample string 3</phone_number> <report_time>sample string 2</report_time> <send_time>sample string 1</send_time> <sms_size>sample string 6</sms_size> <success>true</success> </AliSmsCallbackDto> </ArrayOfAliSmsCallbackDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
阿里云短信回调
AliSmsCallBackResultDtoName | Description | Type | Additional information |
---|---|---|---|
code |
应答编码 0为成功 |
integer |
None. |
msg |
描述信息 |
string |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml, text/xml
Sample:
<AliSmsCallBackResultDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.CloudService.AliCloud.Sms"> <code>1</code> <msg>sample string 2</msg> </AliSmsCallBackResultDto>