Skip to main content

Get Work Item Details

Get the details of a specific approval or activity work item. The user specified by the token must have access to the work item.

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

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 EmailApprovalEnabled and LineItemApprovalEnabled. The default response format is XML. Pass format=json to receive JSON.

Request

Parameters

getWorkItemDetails
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 Get Work Items for User or 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 when not yet completed.
WorkItemCompletedByNameFull name of the user who completed the work item. Empty when 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 when not set.
RequestNotesNotes attached to the change request. Empty when 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. In XML, each action is a separate ActionName element within Actions.
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 when none are configured.

Examples

Request

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

Response

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

{
"getWorkItemDetails": {
"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": "Test notes field",
"WorkItemReassignDisabled": false
}
}
}

Verified with RSA Governance & Lifecycle version 8.0.0.188886 P10_HF01.

See Also