ZOL论坛 > 技术论坛 > 梦网云通讯获取状态报告API接口get_rpt说明POST请求示例
帖子很冷清,卤煮很失落!求安慰
返回列表
签到
手机签到经验翻倍!
快来扫一扫!

梦网云通讯获取状态报告API接口get_rpt说明POST请求示例

20浏览 / 0回复

阿其一直在吃...

阿其一直在吃萝卜糕

0
精华
1
帖子

等  级:Lv.1
经  验:88
  • Z金豆: 25

    千万礼品等你来兑哦~快点击这里兑换吧~

  • 城  市:广东
  • 注  册:2017-04-11
  • 登  录:2017-06-14
发表于 2017-05-19 14:59:17
电梯直达 确定
楼主

Post请求示例


urlencode


userid=J10003&pwd=26dad7f364507df18f3841cc9c4ff94d×tamp=0803192020&retsize=300


JSON


{"userid":"J10003","pwd":"26dad7f364507df18f3841cc9c4ff94d","timestamp":"0803192020","retsize":300}


XML


   <userid>J10003

<pwd>26dad7f364507df18f3841cc9c4ff94d

<timestamp>0803192020

<retsize>300


获取成功返回示例


JSON (urlencodeJSON请求都以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


<rptrsp>

<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

<rpt>

    <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

    


获取失败返回示例

JSON (urlencodeJSON请求都以JSON返回数据)


{

"result":-100999,

"rpts":""

}


XML


<rptrsp>

   <result>-100999

  

 

 http://www.monyun.cn/?zG9h4yTS

 


论坛精选大家都在看24小时热帖7天热帖大家都在问

针对ZOL论坛您有任何使用问题和建议 您可以 联系论坛管理员查看帮助  或  给我提意见

快捷回复 看沙发 返回列表