Queries the approval details of a ticket.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Tid | long | No | The ID of the tenant. You can call the GetUserActiveTenant operation to obtain the tenant ID. | 3*** |
WorkflowInstanceId | long | Yes | The ID of the approval process. You can call the GetOrderBaseInfo operation to obtain the ID of the approval process. | 184**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "66DE630B-ECA1-52A3-9198-602066F9****",
"ErrorCode": "MissingWorkflowInstanceId",
"ErrorMessage": "WorkflowInstanceId is mandatory for this action.",
"ApprovalDetail": {
"WorkflowNodes": {
"WorkflowNode": [
{
"OperateTime": "2019-10-15 13:47:54",
"OperatorId": 0,
"NodeName": "DBA",
"AuditUserIdList": {
"AuditUserIds": [
"10****"
]
},
"OperateComment": "Reason: Approved\n",
"WorkflowInsCode": "APPROVED"
}
]
},
"Description": "\\[Instance permissions] Application\\<br/>Permission type: ⌈Logon⌋\\<br/>Application period: 30.0 days\\<br/>Background description: \\[Instance permissions] logon test\\<br/>\\<br/>\\[Application list]\\<br/>\\<span style='color:red'>product\\</span> rm-bp144d5ky4l4rli0417\\*\\*\\*\\*.mysql.rds.aliyuncs.com:3306 - PRODUCT\\<br/>\n",
"CreateTime": "2021-10-29 14:17:25",
"CurrentHandlers": {
"CurrentHandler": [
{
"NickName": "nickName",
"Id": 1
}
]
},
"OrderType": "PERM_APPLY",
"Title": "Permission application ticket - 384\\*\\*\\*\\*\n",
"AuditId": 0,
"OrderId": 0,
"WorkflowInsCode": "APPROVED",
"ReasonList": {
"Reasons": [
"According to security rules, permission applications need to be approved.\n"
]
},
"TemplateId": 1234
},
"Success": true
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history