Lists work request errors

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

Return a (paginated) list of errors 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":[{"code":"velit in adipisicing","message":"in pariatur ad aute aliquip","timestamp":"2016-04-12T22:45:49.863Z"},{"code":"qui reprehenderit exerci","message":"nulla incididunt officia mollit","timestamp":"1972-07-21T00:28:36.939Z"}]}