Mengambil daftar kategori aset.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:ListMetaCategory |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
ID penyewa. Anda dapat memanggil operasi GetUserActiveTenant atau ListUserTenants untuk mendapatkan parameter ini. |
3*** |
| ParentCategoryId |
integer |
No |
ID kategori induk. |
30000322682 |
| PageNumber |
integer |
Yes |
Nomor halaman. Nilai dimulai dari 1. |
1 |
| PageSize |
integer |
Yes |
Jumlah entri per halaman. |
50 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931 |
| ErrorCode |
string |
Kode kesalahan. |
UnknownError |
| ErrorMessage |
string |
Paket kesalahan yang dikembalikan jika panggilan gagal. |
UnknownError |
| Success |
boolean |
Apakah permintaan berhasil. Nilai valid:
|
true |
| TotalCount |
integer |
Jumlah total rekaman yang memenuhi kondisi. |
1 |
| CategoryList |
object |
||
| MetaCategory |
array |
Daftar informasi kategori. |
|
| MetaCategory |
Informasi kategori. |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"TotalCount": 1,
"CategoryList": {
"MetaCategory": [
{
"CategoryId": 0,
"Name": "",
"Depth": 0,
"ParentCategoryId": 0,
"CreateTime": "",
"Description": "",
"Remark": "",
"OwnerIds": {
"undefined": [
0
]
},
"OwnerNickNames": {
"undefined": [
""
]
}
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.