Mengambil status sakelar izin tingkat baris untuk set data tertentu.
Deskripsi operasi
This interface only supports the new row and column permission model of Quick BI. If you are still using the old row and column permissions, please migrate to the new row and column permission model before calling this interface. To migrate to the new row and column permission model, follow these steps: In Organization Management -> Security Configuration -> Upgrade Row and Column Permissions, click One-Click Upgrade to upgrade to the new row-level permissions.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:QueryDatasetSwitchInfo |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| CubeId |
string |
Yes |
ID set data. |
7c7223ae-****-3c744528014b |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
boolean |
Indicates whether the request was successful. Possible values:
|
true |
| RequestId |
string |
Request ID. |
FAECEFA8-09BB-58AB-BC58-C8ACEFE4D232 |
| Result |
object |
Details of the dataset's row and column permission switches. |
|
| CubeId |
string |
Dataset ID. |
7c7223ae-****-3c744528014b |
| IsOpenColumnLevelPermission |
integer |
Status of the column-level field permission switch. Possible values:
|
1 |
| IsOpenRowLevelPermission |
integer |
Status of the row-level permission switch.
|
1 |
Contoh
Respons sukses
JSONformat
{
"Success": true,
"RequestId": "FAECEFA8-09BB-58AB-BC58-C8ACEFE4D232",
"Result": {
"CubeId": "7c7223ae-****-3c744528014b",
"IsOpenColumnLevelPermission": 1,
"IsOpenRowLevelPermission": 1
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Cube.Not.Exist | The Cube does not exist. | The Cube does not exist. |
| 400 | CubePermission.Columnlevel.VersionError | You are not allowed to use the new dataLevelPermission API. | You are not allowed to use new dataLevelPermission api. |
| 400 | Cube.NotBelongTo.CurrentOrganization | The cube does not belong to the current organization %s. | Cube do not belong to current organization:%s. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.