消息&短信 MSGSMS-查询短信模板:响应参数

时间:2024-01-17 14:42:47

响应参数

状态码: 200

表4 响应Body参数

参数

参数类型

描述

results

Array of SmsTemplateResp

查询结果

total

Long

总数

表5 SmsTemplateResp参数

参数

是否必选

参数类型

描述

id

String

模板主键ID,用于获取、修改、删除模板以及查询模板变量的唯一标识

create_time

String

创建时间[yyyy-MM-dd HH:mm:ss]

update_time

String

更新时间[yyyy-MM-dd HH:mm:ss]

customer_id

String

租户customer id

tenant

TentantBasic

-

template_name

String

模板名称

template_id

String

模板ID

template_type

String

模板类型

app_name

String

应用名称

app_key

String

应用key

sign_id

String

签名id

template_content

String

模板内容

has_variable

String

是否有变量

template_desc

String

申请描述

review_desc

String

审核意见

review_order

String

审核人账号

flow_status

String

流程状态

universal_template

Integer

是否是通用模板

status

String

模板状态

  • Test:测试
  • Normal:正常

region

String

地域

  • cn:国内
  • intl:国际

brackets

String

中括号类型。支持枚举值:

  • CN:中文类型:【】
  • GB:英文类型: []
    须知:
    • 默认值为:CN
    • 输入值不在上述枚举值范围内的,也按CN处理。
    • 只有地域为国内时,该字段有效。

site

String

地域,取值范围:cn及hk ,当前该参数暂时不使用

urge_status

String

催审状态

urge_time

String

催审时间

urge_desc

String

催审描述

send_country1

Integer

发送国家1

send_country2

Integer

发送国家2

send_country3

Integer

发送国家3

is_support_multiomp

boolean

是否支持多OMP

country_name

String

国家名称列表,返回发送国家前三名的国家名称,国家名称间以"~"分隔

support.huaweicloud.com/api-msgsms/sms_05_0038.html