0
回答
梦网云通讯相同内容群发API接口batch_send说明Post请求示例
利用AWS快速构建适用于生产的无服务器应用程序,免费试用12个月>>>   

 

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

 

<无标签>
举报
qingshangu
发帖于7个月前 0回/75阅
顶部