Lists work request logs

GET {{baseUrl}}/workRequests/:workRequestId/logs?page=&limit=100&sortOrder=ASC&sortBy=timeCreated

Returns a (paginated) list of logs for a given work request.

Request Params

KeyDatatypeRequiredDescription
pagenullThe page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
limitnumberThe maximum number of items to return.
sortOrderstringThe sort order to use, either 'asc' or 'desc'. The default order depends on the sortBy value.
sortBystringThe field to sort by. You can provide one sort order (sortOrder).
Default order for timeCreated is descending. Default order for
displayName is ascending. The displayName sort order is case
sensitive.

HEADERS

KeyDatatypeRequiredDescription
opc-request-idnullThe client request id for tracing.
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header

RESPONSES

status: OK

{"items":[{"message":"aliquip cupidatat","timestamp":"1997-06-11T07:25:35.068Z"},{"message":"magna sit in occaecat","timestamp":"2000-02-10T21:05:07.722Z"}]}