短信发送(普通短信)(iuchttpservice/services/send_sms) 在线调试
短信发送(普通短信)
网关地址
| 沙箱环境调用地址: | 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 |
|---|
是否需要业务登录
| 否 |
|---|
HTTP请求方式
| GET,POST |
|---|
请求参数
| 参数名 | 类型 | 必填 | 最大长度 | 默认值 | 中文名 | 描述 |
|---|---|---|---|---|---|---|
| mobile_tel | String | 是 | 24 | 手机号码 |
每次只能传一个手机号码
|
|
| sms_content | String | 是 | 500 | 短信内容 |
短信内容,最多500字
|
|
| own_company_id | String | 是 | 20 | 归属机构编码 | ||
| company_id | String | 是 | 10 | 机构编码 |
租户机构编码(如银行的编码)
|
|
| businsys_no | Integer | 是 | 10 | 业务系统编号 | ||
| sms_authkey | String | 是 | 32 | 短信服务授权码 | ||
| sms_priority | Integer | 是 | 10 | 短信优先级 |
1~5通知类型,6~10营销类型
|
返回参数
| 参数名 | 类型 | 最大长度 | 默认值 | 中文名 | 描述 |
|---|
请求示例
/iuc/v1/iuchttpservice/services/send_sms?mobile_tel=13567132874& sms_content=您好&own_company_id=10000&company_id=10000&sms_priority=5& businsys_no=10000& sms_authkey=6d9fb9c2b33c4f33a1e3979d535f6429
正确返回示例
{"data":[{"sms_id":"2016050303346904"}]}
