Completed Work Items

GET {{baseUrl}}/work-items/completed

This gets a collection of completed work items belonging to either the specified user(admin required), or the current user.

Request Params

KeyDatatypeRequiredDescription
ownerIdstringThe id of the owner of the work item list being requested. Either an admin, or the owning/current user must make this request.
limitnumberMax number of results to return.
See V3 API Standard Collection Parameters for more information.
offsetnumberOffset into the full result set. Usually specified with limit to paginate through the results.
See V3 API Standard Collection Parameters for more information.
countbooleanIf true it will populate the X-Total-Count response header with the number of results that would be returned if limit and offset were ignored.

Since requesting a total count can have a performance impact, it is recommended not to send count=true if that value will not be used.

See V3 API Standard Collection Parameters for more information. |

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

[{"id":"2c9180835d2e5168015d32f890ca1581","requesterId":"2c9180835d2e5168015d32f890ca1581","requesterDisplayName":"John Smith","ownerId":"2c9180835d2e5168015d32f890ca1581","ownerName":"Jason Smith","created":"2017-07-11T18:45:37.098Z","modified":"2018-06-25T20:22:28.104Z","description":"Create account on source 'AD'","state":"FINISHED","type":"GENERIC","remediationItems":{"id":"2c9180835d2e5168015d32f890ca1581","targetId":"2c9180835d2e5168015d32f890ca1581","targetName":"john.smith","targetDisplayName":"emailAddress","applicationName":"Active Directory","attributeName":"phoneNumber","attributeOperation":"update","attributeValue":"512-555-1212","nativeIdentity":"jason.smith2"},"approvalItems":{"id":"2c9180835d2e5168015d32f890ca1581","account":"john.smith","application":"Active Directory","name":"emailAddress","operation":"update","value":"a@b.com","state":"FINISHED"},"name":"Account Create","completed":"2018-10-19T13:49:37.385Z","numItems":19,"errors":["The work item ID that was specified was not found."]},{"id":"2c9180835d2e5168015d32f890ca1581","requesterId":"2c9180835d2e5168015d32f890ca1581","requesterDisplayName":"John Smith","ownerId":"2c9180835d2e5168015d32f890ca1581","ownerName":"Jason Smith","created":"2017-07-11T18:45:37.098Z","modified":"2018-06-25T20:22:28.104Z","description":"Create account on source 'AD'","state":"FINISHED","type":"GENERIC","remediationItems":{"id":"2c9180835d2e5168015d32f890ca1581","targetId":"2c9180835d2e5168015d32f890ca1581","targetName":"john.smith","targetDisplayName":"emailAddress","applicationName":"Active Directory","attributeName":"phoneNumber","attributeOperation":"update","attributeValue":"512-555-1212","nativeIdentity":"jason.smith2"},"approvalItems":{"id":"2c9180835d2e5168015d32f890ca1581","account":"john.smith","application":"Active Directory","name":"emailAddress","operation":"update","value":"a@b.com","state":"FINISHED"},"name":"Account Create","completed":"2018-10-19T13:49:37.385Z","numItems":19,"errors":["The work item ID that was specified was not found."]}]