Last Updated on : 2023-06-20 12:34:13download
Query the template details of push notification.
GET: /v1.0/iot-03/msg-templates/app-notifications/{template_id}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
template_id | String | uri | true | Template ID. |
Parameter name | Type | Description |
---|---|---|
result | AppNotificationsTemplateDetailRes |
Description of result
Parameter name | Type | Description |
---|---|---|
name | String | The template name with 1 to 30 characters. |
title | String | The template title with 1 to 40 characters. |
content | String | The template content with 1 to 100 characters. |
type | Integer | The type of messages in the app notification center. 0: Operation message. 1: System message. |
status | Integer | The review status of the template. 0: The review is in progress. 1: Passed the review. 2: Failed to pass the review. View the reasons for failure in verify_reason . |
verify_code | Integer | The review code. For more information, see the list of review codes. |
verify_reason | String | Describe the reason why the review is not passed. |
GET: /v1.0/iot-03/msg-templates/app-notifications/PUSH_12313****
{
"result": {
"verify_code": 100,
"title": "Test title",
"type": 0,
"content": "Test content",
"verify_reason": "Illegal words",
"name": "The test template of messages in notification center",
"status": 2
},
"t": 1586153261345,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback