模板列表資訊分頁查詢。
介面說明
分頁查詢範本列表資訊
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
dm:QueryTemplateByParam |
get |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| PageNo |
integer |
否 |
當前頁碼。預設是 1 |
1 |
| PageSize |
integer |
否 |
分頁大小。預設是 20 |
20 |
| KeyWord |
string |
否 |
指定模版名稱關鍵字。預設分頁查詢所有模版列表 |
test |
| Status |
integer |
否 |
廢棄,歷史原因相容 |
Abandoned, historical reasons for compatibility |
| FromType |
integer |
否 |
廢棄,歷史原因相容 |
Abandoned, historical reasons for compatibility |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
響應 |
||
| PageSize |
integer |
分頁大小 |
20 |
| RequestId |
string |
請求 ID |
10Axxxxxxxxxxxx37 |
| PageNumber |
integer |
當前頁碼 |
1 |
| TotalCount |
integer |
總數量 |
21 |
| data |
object |
||
| template |
array<object> |
模板資訊列表數組 |
|
|
object |
模板資訊 |
||
| TemplateComment |
string |
模板審核意見 |
pass |
| UtcCreatetime |
integer |
建立時間,utc 格式。 |
1661830382 |
| Smsrejectinfo |
integer |
廢棄,歷史原因相容 |
Abandoned, historical reasons for compatibility |
| SmsTemplateCode |
integer |
廢棄,歷史原因相容 |
Abandoned, historical reasons for compatibility |
| CreateTime |
string |
建立時間 |
2019-09-29T13:28Z |
| TemplateStatus |
string |
模板狀態,取值和說明如下:
|
2 |
| TemplateType |
integer |
廢棄,歷史原因相容 |
Abandoned, historical reasons for compatibility |
| TemplateName |
string |
模板名稱 |
test |
| SmsStatus |
integer |
廢棄,歷史原因相容 |
Abandoned, historical reasons for compatibility |
| TemplateId |
string |
模板 ID |
3xxxx8 |
樣本
正常返回樣本
JSON格式
{
"PageSize": 20,
"RequestId": "10Axxxxxxxxxxxx37",
"PageNumber": 1,
"TotalCount": 21,
"data": {
"template": [
{
"TemplateComment": "pass",
"UtcCreatetime": 1661830382,
"Smsrejectinfo": 0,
"SmsTemplateCode": 0,
"CreateTime": "2019-09-29T13:28Z",
"TemplateStatus": "2",
"TemplateType": 0,
"TemplateName": "test",
"SmsStatus": 0,
"TemplateId": "3xxxx8"
}
]
}
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。