Lists work request logs

GET {{baseUrl}}/workRequests/:workRequestId/logs?limit=10&sortBy=timeAccepted&sortOrder=ASC

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

Request Params

KeyDatatypeRequiredDescription
pagestringThe position at which to start retrieving results. This must come from the opc-next-page header field of a previous response.
limitnumberThe maximum number of items to return.
sortBystringThe field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending.
sortOrderstringThe sort order to use, either 'ASC' or 'DESC'.

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringThe client request ID for tracing.
Acceptstring

RESPONSES

status: OK

{"items":[{"message":"mollit deserunt adipisicing","timestamp":"2009-03-18T03:37:43.578Z"},{"message":"deserunt ut officia","timestamp":"1974-04-12T02:42:08.748Z"}]}