@@ -63,8 +63,6 @@ def create_isms_template(
63
63
- **Remark** (str) - (Required) 备注
64
64
- **TemplateName** (str) - (Required) 视频短信模板名称
65
65
- **UnsubscribeInfo** (str) - (Required) 退订信息,如:“回T退订”
66
- - **NetworkOperator** (str) - 需要报备的运营商。json数组的字符串格式。true-需要报备,false-不需要报备。如:{"telecom":true, "mobile":false, "unicom":true }
67
- - **Purpose** (int) - 模板用途类型:1-验证码类短信模板;2-系统通知类短信模板;3-会员推广类短信模板;
68
66
- **Zone** (str) - 可用区。参见 `可用区列表 <https://docs.ucloud.cn/api/summary/regionlist>`_
69
67
70
68
**Response**
@@ -160,6 +158,11 @@ def get_isms_send_receipt(
160
158
161
159
**Response Model**
162
160
161
+ **ReceiptPerTask**
162
+ - **ReceiptSet** (list) - 见 **ReceiptPerPhone** 模型定义
163
+ - **TaskId** (str) - 发送短信时返回的TaskId
164
+
165
+
163
166
**ReceiptPerPhone**
164
167
- **Phone** (str) - 手机号码
165
168
- **ReceiptCode** (str) - 回执码
@@ -169,11 +172,6 @@ def get_isms_send_receipt(
169
172
- **SessionId** (str) - SessionId
170
173
171
174
172
- **ReceiptPerTask**
173
- - **ReceiptSet** (list) - 见 **ReceiptPerPhone** 模型定义
174
- - **TaskId** (str) - 发送短信时返回的TaskId
175
-
176
-
177
175
"""
178
176
# build request
179
177
d = {
@@ -247,7 +245,7 @@ def query_isms_template(
247
245
- **ExpireTime** (int) - 截止有效时间,时间戳格式1629357838
248
246
- **Purpose** (int) - 视频短信类型(3-会员营销)
249
247
- **Remark** (str) - 备注信息
250
- - **StatusDesc** (str) - 状态描述。json格式,给出运营商维度的审核状态信息,示例:{"telecom_status":2,"telecom_desc":"审核通过","unicom_status":2,"unicom_desc":"审核通过","mobile_status":2,"mobile_desc":"审核通过"}
248
+ - **StatusDesc** (str) - 状态描述。json格式,给出运营商维度的审核状态信息,示例:{"telecom_status":2,"telecom_desc":"审核通过","unicom_status":2,"unicom_desc":"审核通过","mobile_status":2,"mobile_desc":"审核通过"}。状态枚举值:0-创建模板时未向该运营商报备 1->审核中 2->审核通过 3->审核未通过 4->禁用 7->过期 11->待审核
251
249
- **TemplateId** (str) - 模板ID
252
250
- **TemplateName** (str) - 模板名称
253
251
0 commit comments