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
Key | Datatype | Required | Description |
---|---|---|---|
page | string | The position at which to start retrieving results. This must come from the opc-next-page header field of a previous response. | |
limit | number | The maximum number of items to return. | |
sortBy | string | The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending. | |
sortOrder | string | The sort order to use, either 'ASC' or 'DESC'. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | The client request ID for tracing. | |
Accept | string |
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"}]}