Skip to main content

Get Approval Details

Get the details of a specific approval or activity work item.

GET https://instance.securid.com/aveksa/command.submit?cmd=getApprovalDetails

caution

This command is deprecated and has been replaced by Get Work Item Details. Future releases may remove it.

note

The response wrapper key is Approval for approval-type work items and Activity for fulfillment-type work items (for example, Manual Fulfillment steps). Activity responses omit LineItemApprovalEnabled and EmailApprovalEnabled. The RSA reference states this command requires a user token from loginUser. Trusted application tokens also work in practice.

Request

Parameters

getApprovalDetails
formatxml - (Default) Returns the response as XML.

json - Returns the response as JSON.
The ID of the work item, in id:WPDS:n format. Retrieve this from Find Approvals.

Headers

Bearer token

Response

Parameters

WorkItemIdUnique identifier of the work item, in id:WPDS:n format.
WorkItemNameDisplay name of the work item step.
WorkItemStateCurrent state of the work item. Confirmed values: Available Open Accepted Rejected Canceled Completed.
WorkItemDueDateDue date and time of the work item.
WorkItemCompletedDateDate and time the work item was completed. Empty string if not yet completed.
WorkItemCompletedByNameFull name of the user who completed the work item. Empty string if not yet completed.
WorkItemReassignDisabledWhether reassignment is disabled for this work item.
RequestIdNumeric ID of the parent change request.
RequestNameName of the parent change request.
RequestedByNameDisplay name of the user who submitted the request, in LastName, FirstName format.
RequestDescriptionDescription of the change request. Empty string if not set.
RequestNotesNotes attached to the change request. Empty string if not set.
RequestHasAttachmentsWhether the request has file attachments.
Actions.ActionNameThe action(s) available or taken for this work item. A single string for completed items. An array of strings for pending items where multiple actions are available.
EmailApprovalEnabledWhether email-based approval is enabled. Present only for Approval-type work items.
LineItemApprovalEnabledWhether line-item level approval is enabled. Present only for Approval-type work items.
ExtraFieldsAdditional custom fields. Empty string if none are configured.

Examples

Request

curl -K -X GET \
"https://instance.securid.com/aveksa/command.submit?cmd=getApprovalDetails&format=json&approval-id=1001:WPDS:1" \
-H "Authorization: Bearer <token>"

Response

Pending approval with multiple available actions. Actions.ActionName is an array.

{
"getApprovalDetails": {
"Approval": {
"WorkItemCompletedByName": "",
"RequestId": 1001,
"Actions": {
"ActionName": [
"Rejected",
"Accepted"
]
},
"RequestHasAttachments": false,
"ExtraFields": "",
"RequestName": "00001",
"RequestDescription": "Test description field",
"WorkItemCompletedDate": "",
"LineItemApprovalEnabled": true,
"WorkItemState": "Available",
"RequestedByName": "AveksaAdmin,",
"EmailApprovalEnabled": true,
"WorkItemDueDate": "2026-06-24 17:00:00.0",
"WorkItemName": "Asset Business Owner Approval",
"WorkItemId": "1001:WPDS:1",
"RequestNotes": "",
"WorkItemReassignDisabled": false
}
}
}

Verified with RSA Governance & Lifecycle version 8.0.0.188886 P10_HF01.

See Also