Mendapatkan konfigurasi peran organisasi yang ditentukan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:QueryOrganizationRoleConfig |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RoleId |
integer |
Yes |
ID peran organisasi, termasuk peran yang telah ditentukan sebelumnya dan peran kustom:
|
111111111 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID Permintaan. |
BCE45E6D-9304-4F94-86BB-5A772B1615FF |
| Result |
object |
Detail konfigurasi peran organisasi. |
|
| AuthConfigList |
array<object> |
Daftar konfigurasi izin peran. |
|
|
object |
Konfigurasi izin spesifik. |
||
| AuthKey |
string |
Permission type:
|
quick_monitor |
| IsSystemRole |
boolean |
Apakah ini peran yang telah ditentukan sebelumnya. Nilai yang mungkin:
|
true |
| RoleId |
integer |
ID peran organisasi, termasuk peran yang telah ditentukan sebelumnya dan peran kustom:
|
111111111 |
| RoleName |
string |
Nama peran. |
组织管理员 |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. Nilai yang mungkin:
|
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "BCE45E6D-9304-4F94-86BB-5A772B1615FF",
"Result": {
"AuthConfigList": [
{
"AuthKey": "quick_monitor"
}
],
"IsSystemRole": true,
"RoleId": 111111111,
"RoleName": "组织管理员"
},
"Success": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | User.Role.NotExist | User role not exist: %s. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.