短信相关
查询移动短信上行接口
查询指定时间段内从终端上行到平台的短信记录。
请求地址
POST
https://uphone.uyou.com/productapi/v1/card/smsUp
请求头部入参
| 名称 | 是否必须 | 类型 | 默认值 | 参数说明 |
|---|---|---|---|---|
Authorization | 是 | string | - | 身份认证凭证,参考 1.2 身份认证 |
请求业务入参
| 名称 | 是否必须 | 类型 | 默认值 | 参数说明 |
|---|---|---|---|---|
startDate | 是 | string | - | 开始日期,格式 yyyy-MM-dd |
endDate | 是 | string | - | 结束日期,格式 yyyy-MM-dd |
响应业务出参
| 名称 | 是否必须 | 类型 | 默认值 | 参数说明 |
|---|---|---|---|---|
success | 是 | boolean | - | true: 成功;false: 失败 |
message | 是 | string | - | 消息描述 |
data | 是 | json | - | 接口返回的JSON数据 |
data.userName | 是 | String | - | 客户名称 |
data.iccid | 是 | String | - | iccid |
data.msisdn | 是 | String | - | msisdn |
data.msgId | 是 | String | - | 短信编号 |
data.upMsg | 是 | String | - | 短信内容 |
data.isSend | 是 | String | - | 发送状态 |
data.createTime | 是 | String | - | 创建日期 |
data.pushFailCount | 是 | String | - | 推送失败次数 |
响应示例
{
"success": true,
"message": "服务调用成功",
"data": [
{
"iccid": "81060490192070491024",
"upMsg": "发送消息",
"createTime": "2021-08-04 11:07:08",
"msgId": "",
"isSend": "未发送",
"pushFailCount": 0,
"msisdn": "1850900217035",
"username": "test1"
},
{
"iccid": "84030490195426497985",
"upMsg": "发送消息",
"createTime": "2021-08-04 20:15:48",
"msgId": "",
"isSend": "未发送",
"pushFailCount": 0,
"msisdn": "1760900219650",
"username": "test2"
}
]
}