群发短信接口(iuchttpservice/services/send_sms_batch) 在线调试
群发短信接口(向多个手机发送同一内容短信)
网关地址
| 沙箱环境调用地址: | https://sandbox.hscloud.cn |
| 数据核查类生产调用地址: | https://api.hscloud.cn |
| 仿真业务接口生产调用地址: | https://vopen.hscloud.cn |
| 其余生产调用地址: | https://open.hscloud.cn |
URL
| https://sandbox.hscloud.cn/iuc/v1/iuchttpservice/services/send_sms_batch |
|---|
是否需要业务登录
| 是 |
|---|
HTTP请求方式
| GET,POST |
|---|
请求参数
| 参数名 | 类型 | 必填 | 最大长度 | 默认值 | 中文名 | 描述 |
|---|---|---|---|---|---|---|
| sms_priority | Integer | 是 | 2 | 短信优先级 | ||
| sms_authkey | String | 是 | 40 | 短信服务授权码 | ||
| businsys_no | Integer | 是 | 20 | 业务系统编号 | ||
| company_id | String | 是 | 20 | 机构编码 | ||
| own_company_id | String | 是 | 20 | 归属机构编码 | ||
| sms_content | String | 是 | 200 | 短信内容 | ||
| mobile_tel_str | String | 是 | 3000 | 手机号码串 |
一次性最多50个
|
返回参数
| 参数名 | 类型 | 最大长度 | 默认值 | 中文名 | 描述 |
|---|---|---|---|---|---|
| sms_id | String | 32 | 短信编号 |
|
请求示例
https://ip:port/iuchttpservice/services/send_sms_batch?mobile_tel_str=1356713****,1872909****&sms_content=您好&own_company_id=10000&company_id=10000&sms_priority=5& businsys_no=10000& sms_authkey=6d9fb9c2b33c4f33a1e3979d535f****
正确返回示例
{"data":[{"sms_batch_no":"2016050303346904"}]}
错误返回示例
{"error_code":"5101004","error_ext_info":"","error_info":"手机号不合法:13567132874,18729098752","error_no":"5101004"}
