梦网云通讯相同内容群发API接口batch_send说明Post请求示例

 

urlencode                                                                                          

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

{"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

<?xml version=1.0 encoding=utf-8?>

<mtreq>

   <userid>J10003</userid>

<pwd>26dad7f364507df18f3841cc9c4ff94d </pwd>

<mobile>13800138000,13000130000,18000180000</mobile>

<content>%b2%e2%ca%d4%b6%cc%d0%c5</content>

<timestamp>0803192020</timestamp>

<svrtype>SMS001</svrtype>

<exno>0006</exno>

<custid>b3d0a2783d31b21b8573</custid>

<exdata>exdata000002</exdata>

</mtreq>

 

发送成功返回示例

JSON (urlencode与JSON请求都以JSON返回数据)

{

"result":0,

"msgid":9223372036854775808,

"custid":"b3d0a2783d31b21b8573"

}

 

XML

<?xml version=1.0 encoding=utf-8?>

<mtrsp>

    <result>0</result>

<msgid>9223372036854775808</msgid>

<custid>b3d0a2783d31b21b8573</custid>

</mtrsp>

 

发送失败返回示例

JSON (urlencode与JSON请求都以JSON返回数据)

{

"result":-100999,

"msgid":0,

"custid":""

}

 

XML

<?xml version=1.0 encoding=utf-8?>

<mtrsp>

    <result>-100999</result>

<msgid>0</msgid>

<custid></custid>

</mtrsp>

 

 

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

 

转载于:https://www.cnblogs.com/wallace77/p/6893788.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值