Mendapatkan informasi alur persetujuan berdasarkan penyetuju.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:QueryApprovalInfo |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| UserId |
string |
Yes |
ID pengguna penyetuju saat ini, ID pengguna qbi. |
12352fasdavsa |
| Status |
integer |
Yes |
Status persetujuan:
Valid values:
|
0 |
| PageSize |
integer |
No |
Jumlah baris per halaman, default 1000. |
1000 |
| Page |
integer |
No |
Nomor halaman, default 1. |
1 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons |
||
| RequestId |
string |
ID permintaan. |
D787E1A3-A93C-424A-B626-C2B05DF8D885 |
| Result |
object |
Mengembalikan hasil eksekusi antarmuka. |
|
| Data |
array<object> |
Array informasi alur persetujuan. |
|
|
object |
Objek informasi alur persetujuan. |
||
| ApplicantId |
string |
Applicant's user ID, qbi user ID. |
1359508 |
| ApplicantName |
string |
Applicant's nickname. |
李飞 |
| ApplicationId |
string |
Application ID. |
64813ef6da58e80eef8ed2f9 |
| ApplyReason |
string |
Application reason. |
开发需要 |
| ApproverId |
string |
Approver's user ID, qbi user ID. |
sdasascasxasd |
| ApproverName |
string |
Approver's nickname. |
data_fusion_002 |
| DeleteFlag |
boolean |
Whether the resource has been deleted:
|
true |
| ExpireDate |
integer |
Permission expiration date, timestamp. |
1708568097135 |
| FlagStatus |
integer |
Permission approval status:
|
0 |
| GmtCreate |
integer |
Application creation time, timestamp. |
1687315758 |
| GmtModified |
integer |
Application modification time, timestamp. |
1640595729000 |
| HandleReason |
string |
Handling reason. |
开发需要 |
| ResourceId |
string |
The ID of the resource for which permission is requested. |
acl-ct4t2e4u2x4ej1bzur |
| ResourceName |
string |
The name of the resource for which permission is requested (e.g., report name, space name...). |
测试资源 |
| ResourceType |
string |
The type of the resource. |
DASHBOARD |
| WorkspaceName |
string |
The name of the workspace. |
测试工作空间 |
| Page |
integer |
Nomor halaman saat ini. |
1 |
| PageSize |
integer |
Jumlah catatan yang diminta per halaman. |
1000 |
| Start |
integer |
Posisi awal dari halaman saat ini. |
0 |
| Total |
integer |
Jumlah total item. |
3 |
| TotalPages |
integer |
Jumlah total halaman. |
1 |
| Success |
boolean |
Menunjukkan apakah panggilan API berhasil. Nilai yang mungkin adalah:
|
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "D787E1A3-A93C-424A-B626-C2B05DF8D885",
"Result": {
"Data": [
{
"ApplicantId": "1359508",
"ApplicantName": "李飞",
"ApplicationId": "64813ef6da58e80eef8ed2f9",
"ApplyReason": "开发需要",
"ApproverId": "sdasascasxasd",
"ApproverName": "data_fusion_002",
"DeleteFlag": true,
"ExpireDate": 1708568097135,
"FlagStatus": 0,
"GmtCreate": 1687315758,
"GmtModified": 1640595729000,
"HandleReason": "开发需要",
"ResourceId": "acl-ct4t2e4u2x4ej1bzur",
"ResourceName": "测试资源",
"ResourceType": "DASHBOARD",
"WorkspaceName": "测试工作空间"
}
],
"Page": 1,
"PageSize": 1000,
"Start": 0,
"Total": 3,
"TotalPages": 1
},
"Success": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Invalid.Parameter.Error | The parameter is invalid:%s. | |
| 400 | Invalid.User.Organization | The user is not in your organization. | |
| 400 | Parameter.Error | The input parameter is invalid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.