テンプレートリスト情報をページごとに照会します。
操作説明
テンプレートリスト情報をページごとに照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
dm:QueryTemplateByParam |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| 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 |
例
成功レスポンス
JSONJSON
{
"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"
}
]
}
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。