查短信发送记录
HTTP 头信息:
Accept:application/json;charset=utf-8; Content-Type:application/x-www-form-urlencoded;charset=utf-8;
请求
URL:`https://sms.yunpian.com/v2/sms/get_record.json` 注意:海外服务器地址 us.yunpian.com 访问方式:POST
请求参数
响应
名称 | 类型 | 描述 |
---|---|---|
sid | long(64 位) | 短信 id,64 位整型, 对应 Java 和 C#的 long,不可用 int 解析 |
mobile | string | 接收手机号 |
send_time | string | 发送时间 |
text | string | 短信的内容 |
send_status | string | 发送状态 |
report_status | string | 报告状态 |
fee | integer | 发送成功短信的计费条数(计费条数:70 个字一条,超出 70 个字时按每 67 字一条计费) |
user_receive_time | string | 用户接收时间 |
error_msg | string | 运营商返回的代码,如:"DB:0103" |
uid | string | 用户自定义的 id |
Json 响应示例:
调用成功的返回值示例:
[ { "sid": "1234567890", "mobile": "13800000000", "send_time": "2015-11-02 16:34:56", "text": "【云片网】你的验证码是1234", "send_status": "SUCCESS", "report_status": "FAIL", "fee": 1, "user_receive_time": null, "error_msg": "1:1", "uid": null }, { "sid": "1234567891", "mobile": "13800000000", "send_time": "2015-11-02 15:34:42", "text": "【云片网】你的验证码是4321", "send_status": "SUCCESS", "report_status": "FAIL", "fee": 1, "user_receive_time": null, "error_msg": "1:1", "uid": null } ]