更新时间:2023-06-15 05:14:05
本文介绍App推送模板详情查询的 API。
App推送模板详情查询
GET: /v1.0/iot-03/msg-templates/app-notifications/{template_id}
| 参数名 | 类型 | 参数位置 | 是否必填 | 说明 |
|---|---|---|---|---|
| template_id | String | uri | true | 模板ID |
| 参数名 | 类型 | 说明 |
|---|---|---|
| result | AppNotificationsTemplateDetailRes |
result 说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| name | String | 模板名称,长度为1~30个字符 |
| title | String | 模板标题,长度为1~40个字符 |
| content | String | 模板内容,长度为1~100个字符 |
| type | Integer | app通知栏推送类型,0:运营消息 1:系统消息 |
| status | Integer | 模板审核状态。其中:0:审核中,1:审核通过,2:审核未通过,请求返回verify_reason中查看审核失败原因 |
| verify_code | Integer | 审核码,详情请参考审核码列表 |
| verify_reason | String | 审核不通过结果简单描述 |
GET: /v1.0/iot-03/msg-templates/app-notifications/PUSH_12313****
{
"result": {
"verify_code": 100,
"title": "测试标题",
"type": 0,
"content": "测试内容",
"verify_reason": "Illegal words",
"name": "App 通知栏模板测试模板",
"status": 2
},
"t": 1586153261345,
"success": true
}
参考 错误码。
该内容对您有帮助吗?
是意见反馈该内容对您有帮助吗?
是意见反馈