梦网云通讯获取状态报告接口get_rpt说明POST请求示例 [ 技术分享 ]
Post请求示例 urlencode userid=J10003&pwd=26dad7f364507df18f3841cc9c4ff94d×tamp=0803192020&retsize=300 JSON {"userid":"J10003","pwd":"26dad7f364507df18f3841cc9c4ff94d","timestamp":"0803192020","retsize":300} XML <?xml version=1.0 encoding=utf-8?>
<userid>J10003</userid>
26dad7f364507df18f3841cc9c4ff94d
0803192020
300
获取成功返回示例 JSON (urlencode与JSON请求都以JSON返回数据) { "result":0, "rpts": [ { "msgid":9223372045854775808, "custid":"b3d0a2783d31b21b8573", "pknum":1, "pktotal":2, "mobile":"13800138000", "spno":"1000457890006", "exno":"0006", "stime":"2016-08-04 17:38:55", "rtime":"2016-08-04 17:38:59", "status":0, "errcode":"DELIVRD", "errdesc":"success", "exdata":"exdata0002" }, { "msgid":9223372045854875808, "custid":"b3d0a2783d31b21b8573", "pknum":2, "pktotal":2, "mobile":"13800138000", "spno":"1000457890006", "exno":"0006", "stime":"2016-08-04 17:38:55", "rtime":"2016-08-04 17:38:59", "status":0, "errcode":"DELIVRD", "errdesc":"success", "exdata":"exdata0002" } ] } XML <?xml version=1.0 encoding=utf-8?> 0
<msgid>9223372045854775808</msgid>
b3d0a2783d31b21b8573
1
2
13800138000
1000457890006
0006
2016-08-04 17:38:55
2016-08-04 17:38:59
0
DELIVRD
success
exdata0002
<msgid>9223372045854875808</msgid>
b3d0a2783d31b21b8573
2
2
13800138000
1000457890006
0006
2016-08-04 17:38:55
2016-08-04 17:38:59
0
DELIVRD
success
exdata0002
</rpt>
获取失败返回示例 JSON (urlencode与JSON请求都以JSON返回数据) { "result":-100999, "rpts":"" } XML <?xml version=1.0 encoding=utf-8?> -100999
共 2 条回复
-
pingguoyuan 回复于 2017-05-17 14:45 举报
-
admin_admin 回复于 2017-05-17 17:32 举报
内容注意格式啊 markdown
pingguoyuan
最后登录:2017-06-13
在线时长:0小时28分
- 粉丝0
- 金钱95
- 威望0
- 积分95