MnsCardTemplate
You can use MNS to pull the review status of card SMS templates (MnsCardTemplate).
Prerequisites
-
You have registered an Alibaba Cloud account and generated an access key (AccessKey). For more information, see Create an AccessKey for a RAM user.
-
Make sure you can ping the following endpoints from your local machine:
dysmsapi.aliyuncs.com,mns.cn-hangzhou.aliyuncs.com(for the China (Hangzhou) region), ordybaseapi.aliyuncs.com. -
You have created a RAM user and granted it Short Message Service permissions and Lightweight Message Queue permissions.
-
You have read Configure message receipts and understand the receipt message modes, types, and configuration process.
Message format for card SMS template review status
Name | Type | Description |
approval_status | Integer | The overall review status of the template.
|
extData | Struct | The custom parameters that are passed when the template is submitted. |
tmpOps | List | The review status from mobile phone vendors. For more information about the fields, see tmpOps field descriptions. |
template_code | String | The code of the card SMS template. |
desc | String | The description of the overall status. |
tmpOps field descriptions
Name | Type | Description |
state | Integer | The review status from the mobile phone vendor.
|
desc | String | The review comments from the mobile phone vendor. |
vendorCode | String | Information about the mobile phone vendor. |