pingguoyuan 2017-05-17 14:44:27 2206次浏览 2条回复 0 0 0

Post请求示例 urlencode userid=J10003&pwd=26dad7f364507df18f3841cc9c4ff94d&timestamp=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

您需要登录后才可以回复。登录 | 立即注册