List Work Request Errors
GET {{baseUrl}}/workRequests/:workRequestId/errors?limit=100&sortBy=TIMESTAMP&sortOrder=DESC
Returns a page of errors for the specified work request.
If the opc-next-page
header appears in the response, then
there are more items to retrieve. To get the next page in the subsequent
GET request, include the header's value as the page
query parameter.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
page | string | The page at which to start retrieving results. |
You get this value from the opc-next-page
header in a previous list request.
To retireve the first page, omit this query parameter.
Example: MToxMA==
|
| limit
| number | | The maximum number of items to return per page. |
| sortBy
| string | | The field to sort by. You can specify only one sort order. If no value is specified, then the default is TIMESTAMP
.
The default sort order for both TIMESTAMP
and CODE
is ascending.
|
| sortOrder
| string | | Sort the results in this order, use either ASC
(ascending) or DESC
(descending). |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | The client request ID for tracing. This value is included in the opc-request-id response header. | |
Accept | string |
RESPONSES
status: OK
[{"code":"consequat sint dolor pariatur voluptate","message":"sunt anim","timeStamp":"2011-08-29T10:32:14.840Z"},{"code":"do adipisicing aliquip","message":"cillum ea ut amet","timeStamp":"2000-05-17T00:29:59.903Z"}]