Skip to main content

Get Work Items for User

Get work items of a given type (approval or activity) for the user specified by the token.

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

Request

Parameters

getWorkItemsForUser
approval or activity
auth-user-idThe username of the user whose work items to retrieve. Required when using a trusted application token. Not applicable for user tokens.
stateFilter by work item state. pending (Default) | completed | all
page-sizeNumber of work items to return per page. Defaults to 20.
start-pagePage number to start from. Defaults to 1.
sortSort work items by due date. asc (Default) | desc
formatxml - (Default) Returns work items as XML.

json - Useful for parsing into JavaScript or other languages. See www.json.org for details.
tokenDeprecated. Use the Authorization request header instead.

Headers

Bearer token
Acceptapplication/json
Content-Typeapplication/json

Response

Parameters

NumWorkItemsTotal number of work items returned.
Approval[] / Activity[]Array of work items matching the requested workItemType.
WorkItemIdComposite ID of the work item. Pass this to Get Work Item Details.
WorkItemNameDisplay name of the work item.
WorkItemDueDateDate and time the work item is due.
WorkItemCompletedDateDate and time the work item was completed. Empty if still pending.
RequestNameName of the parent change request.

Examples

Request

curl -K -X GET \
"https://instance.securid.com/aveksa/command.submit?cmd=getWorkItemsForUser&workItemType=approval&format=json&state=pending" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json"

Response

{
"getWorkItemsForUser": {
"Approval": [
{
"WorkItemName": "Asset Business Owner Approval",
"WorkItemId": "441:WPDS:1",
"RequestName": "00201",
"WorkItemCompletedDate": "2025-12-10 10:03:10.0",
"WorkItemDueDate": "2025-12-15 10:02:40.0"
}
],
"NumWorkItems": 1
}
}

See Also

Verified with RSA Governance & Lifecycle version 8.0.0.188886 P10_HF01.