梦网云平台个性化短信发送接口multi_send说明POST实例
梦网云平台个性化短信发送接口multi_send说明POST实例
meng2017wang 发表于2个月前
梦网云平台个性化短信发送接口multi_send说明POST实例
  • 发表于 2个月前
  • 阅读 0
  • 收藏 0
  • 点赞 0
  • 评论 0

腾讯云 学生专属云服务套餐 10元起购>>>   

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.0 encoding=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.0 encoding=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.0 encoding=utf-8?>

<mtrsp>

    <result>-100999</result>

<msgid>0</msgid>

<custid></custid>

</mtrsp>

共有 人打赏支持
粉丝 0
博文 8
码字总数 3324
评论 (0)
×
meng2017wang
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
* 金额(元)
¥1 ¥5 ¥10 ¥20 其他金额
打赏人
留言
* 支付类型
微信扫码支付
打赏金额:
已支付成功
打赏金额: