|
发表于 2017-8-13 19:04:53
|
显示全部楼层
来自 广东省深圳市
梦网云通讯平台:相同内容群发接口batch_send说明Post请求示例
urlencode
userid=J10003&pwd=26dad7f364507df18f3841cc9c4ff94d&mobile=13800138000,13000130000,18000180000&content=%b2%e2%ca%d4%b6%cc%d0%c5×tamp=0803192020&svrtype=SMS001&exno=0006&custid=b3d0a2783d31b21b8573&exdata
=exdata000002
JSON
{"userid":"J10003","pwd":"26dad7f364507df18f3841cc9c4ff94d","mobile":"13800138000,13000130000,18000180000","content":"%b2%e2%ca%d4%b6%cc%d0%c5","timestamp":"0803192020","svrtype":"SMS001","exno":"0006","custid":"b3d0a2783d31b21b8573","exdata":"exdata000002"}
XML
userid>J10003
pwd>26dad7f364507df18f3841cc9c4ff94d
mobile>13800138000,13000130000,18000180000
content>%b2%e2%ca%d4%b6%cc%d0%c5
timestamp>0803192020
svrtype>SMS001
exno>0006
custid>b3d0a2783d31b21b8573
exdata>exdata000002
发送成功返回示例
JSON (urlencode与JSON请求都以JSON返回数据)
{
"result":0,
"msgid":9223372036854775808,
"custid":"b3d0a2783d31b21b8573"
}
XML
result>0
msgid>9223372036854775808
custid>b3d0a2783d31b21b8573
发送失败返回示例
JSON (urlencode与JSON请求都以JSON返回数据)
{
"result":-100999,
"msgid":0,
"custid":""
}
XML
result>-100999
msgid>0
custid> |
|