Mengkueri informasi daftar templat per halaman.
Deskripsi operasi
Mengkueri informasi daftar templat per halaman.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dm:QueryTemplateByParam |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| PageNo |
integer |
No |
Nomor halaman saat ini. Nilai default: 1. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai default: 20. |
20 |
| KeyWord |
string |
No |
Kata kunci nama templat. Secara default, kueri per halaman dilakukan pada semua templat. |
test |
| Status |
integer |
No |
Tidak digunakan lagi. Dipertahankan untuk kompatibilitas mundur. |
Abandoned, historical reasons for compatibility |
| FromType |
integer |
No |
Tidak digunakan lagi. Dipertahankan untuk kompatibilitas mundur. |
Abandoned, historical reasons for compatibility |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Tanggapan. |
||
| PageSize |
integer |
Jumlah entri per halaman. |
20 |
| RequestId |
string |
ID permintaan. |
10Axxxxxxxxxxxx37 |
| PageNumber |
integer |
Nomor halaman saat ini. |
1 |
| TotalCount |
integer |
Jumlah total entri. |
21 |
| data |
object |
||
| template |
array<object> |
Array informasi templat. |
|
|
object |
Informasi templat. |
||
| TemplateComment |
string |
The review comments for the template. |
pass |
| UtcCreatetime |
integer |
The time when the template was created. The time is in UTC. |
1661830382 |
| Smsrejectinfo |
integer |
This parameter is deprecated. It is retained for historical compatibility. |
Abandoned, historical reasons for compatibility |
| SmsTemplateCode |
integer |
This parameter is deprecated. It is retained for historical compatibility. |
Abandoned, historical reasons for compatibility |
| CreateTime |
string |
The time when the template was created. |
2019-09-29T13:28Z |
| TemplateStatus |
string |
The status of the template. Valid values:
|
2 |
| TemplateType |
integer |
This parameter is deprecated. It is retained for historical compatibility. |
Abandoned, historical reasons for compatibility |
| TemplateName |
string |
The template name. |
test |
| SmsStatus |
integer |
This parameter is deprecated. It is retained for historical compatibility. |
Abandoned, historical reasons for compatibility |
| TemplateId |
string |
The template ID. |
3xxxx8 |
Contoh
Respons sukses
JSONformat
{
"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"
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.