3.2          单内容单被叫发送接口

HTTP接口】地址:http://sms.95ai.cn:1082/wgws/OrderServlet4J

 仅支持Post方式的提交。

                             参数为参数列表的中参数。

             编码方式UTF-8

【功能说明】发送短信

【参数说明】

参数名称

数据类型

说明

apName

String

AP账号:

apPassword

String

AP密码:

srcId

String

附加号(可置空)。

ServiceId

String

此处填写回执传送的URL地址,格式为:

receiptUrl=<url>

receiptUrl= http://sms.95ai.cn:1082/wgws/RecvSelfSvl

calledNumber

String

手机号码,一次只能输入一个手机号码

content

String

短信内容

sendTime

String

发送时间,为空表示立即发送,时间格式为:yyyyMMddHHmmss


【返回值】   String (JSON对象格式)

{

    "successCnt": 1,--提交成功数

    "msgId": [

        "-4091316026912689928",--数组格式,如果是长短信会有多个msgId

        "-4091316026912689927"

],

"message": "",--提交失败时的描述信息

    "error": 0  --0为正确,其他情况为异常

}