梦网云通讯个性化群发API接口multi_send说明POST实例


Post请求示例

urlencode

userid=J10003&pwd=26dad7f364507df18f3841cc9c4ff94d&timestamp=0803192020&multimt=[{"mobile":"13800138000","content":"%b2%e2%ca%d4%b6%cc%d0

%c5","svrtype":"SMS001","exno":"0006","custid":"b3d0a2783d31b21b8573","exdata":"exdata000001"},{"mobile":"13100131000","content":"%b2%e

2%ca%d4%b6%cc%d0%c5","svrtype":"SMS002","exno":"0007","custid":"b3d0a2783d31b21b8573","exdata":"exdata000002"}]


JSON

{"userid":"J10003","pwd":"26dad7f364507df18f3841cc9c4ff94d","timestamp":"0803192020","multimt":[{"mobile":"13800138000","content":"%b2%e2%ca%d4%b6%cc%d0%c5","svrtype":"SMS001","exno":"0006","custid":"b3d0a2783d31b21b8573","exdata":"exdata000001"},{"mobile":"13100131000","content":"%b2%e2%ca%d4%b6%cc%d0%c5","svrtype":"SMS002","exno":"0007","custid":"b3d0a2783d31b21b8573","exdata":"exdata000002"}]}


XML

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

<mtreq>

   <userid>J10003</userid>

<pwd>26dad7f364507df18f3841cc9c4ff94d </pwd>

<timestamp>0803192020</timestamp>

<multimt>

 <mt>

 <mobile>13800138000</mobile>

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

<svrtype>SMS001</svrtype>

 <exno>0006</exno>

 <custid>b3d0a2783d31b21b8573</custid>

 <exdata>exdata000002</exdata>

</mt>

<mt>

 <mobile>13100131000</mobile>

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

<svrtype>SMS002</svrtype>

 <exno>0007</exno>

 <custid>b3d0a2783d31b21b8573</custid>

 <exdata>exdata000002</exdata>

</mt>

</multimt>

</mtreq>


发送成功返回示例


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

{

"result":0,

"msgid":9223372036854775808,

"custid":9223372036854775808

}


XML


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

<mtrsp>

    <result>0</result>

<msgid>9223372036854775808</msgid>

<custid>9223372036854775808</custid>

</mtrsp>


发送失败返回示例


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

{

"result":-100999,

"msgid":0,

"custid":""

}


XML

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

<mtrsp>

    <result>-100999</result>

<msgid>0</msgid>

<custid></custid>

</mtrsp>

 

 

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

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值