All Products
Search
Document Center

Quick BI:QueryApprovalInfo

Last Updated:Nov 04, 2025
This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.

Get approval flow information based on the approver.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
quickbi-public:QueryApprovalInfoget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
UserIdstringYes

Current approver user ID, qbi user ID.

12352fasdavsa
StatusintegerYes

Approval status:

  • 0: Pending
  • 1: Processed
0
PageSizeintegerNo

Number of rows per page, default is 1000.

1000
PageintegerNo

Page number, default is 1.

1

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

Request ID.

D787E1A3-A93C-424A-B626-C2B05DF8D885
Resultobject

Return the result of the interface execution.

Dataarray<object>

Array of approval flow information.

ApprovalsResultModelobject

Approval flow information object.

ApplicantIdstring

Applicant's user ID, qbi user ID.

1359508
ApplicantNamestring

Applicant's nickname.

Li Fei
ApplicationIdstring

Application ID.

64813ef6da58e80eef8ed2f9
ApplyReasonstring

Application reason.

Development needs
ApproverIdstring

Approver's user ID, qbi user ID.

sdasascasxasd
ApproverNamestring

Approver's nickname.

data_fusion_002
DeleteFlagboolean

Whether the resource has been deleted:

  • true: Deleted
  • false: Not deleted
true
ExpireDatelong

Permission expiration date, timestamp.

1708568097135
FlagStatusinteger

Permission approval status:

  • 0: Under review, corresponding to 0 in the request parameters
  • 1: Approved, corresponding to 1 in the request parameters
  • 2: Rejected, corresponding to 1 in the request parameters
0
GmtCreatelong

Application creation time, timestamp.

1687315758
GmtModifiedlong

Application modification time, timestamp.

1640595729000
HandleReasonstring

Handling reason.

Development needs
ResourceIdstring

The ID of the resource for which permission is requested.

acl-ct4t2e4u2x4ej1bzur
ResourceNamestring

The name of the resource for which permission is requested (e.g., report name, space name...).

Test Resources
ResourceTypestring

The type of the resource.

DASHBOARD
WorkspaceNamestring

The name of the workspace.

Test Workspace
Pageinteger

The current page number.

1
PageSizeinteger

The number of records requested per page.

1000
Startinteger

The starting position of the current page.

0
Totalinteger

The total number of items.

3
TotalPagesinteger

The total number of pages.

1
Successboolean

Indicates whether the API call was successful. Possible values are:

  • true: success
  • false: failure
true

Examples

Sample success responses

JSONformat

{
  "RequestId": "D787E1A3-A93C-424A-B626-C2B05DF8D885",
  "Result": {
    "Data": [
      {
        "ApplicantId": 1359508,
        "ApplicantName": "Li Fei",
        "ApplicationId": "64813ef6da58e80eef8ed2f9",
        "ApplyReason": "Development needs",
        "ApproverId": "sdasascasxasd",
        "ApproverName": "data_fusion_002",
        "DeleteFlag": true,
        "ExpireDate": 1708568097135,
        "FlagStatus": 0,
        "GmtCreate": 1687315758,
        "GmtModified": 1640595729000,
        "HandleReason": "Development needs",
        "ResourceId": "acl-ct4t2e4u2x4ej1bzur",
        "ResourceName": "Test Resources",
        "ResourceType": "DASHBOARD",
        "WorkspaceName": "Test Workspace"
      }
    ],
    "Page": 1,
    "PageSize": 1000,
    "Start": 0,
    "Total": 3,
    "TotalPages": 1
  },
  "Success": true
}

Error codes

HTTP status codeError codeError messageDescription
500Invalid.Parameter.ErrorThe parameter is invalid:%s.invalid parameter: ${0}.
500Invalid.User.OrganizationThe user is not in your organization.The user is not in your organization.
500Parameter.ErrorThe input parameter is invalid.input parameter error.

For a list of error codes, visit the Service error codes.