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
Key | Datatype | Required | Description |
---|---|---|---|
page | null | The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. | |
limit | number | The maximum number of items to return. | |
sortOrder | string | The sort order to use, either 'asc' or 'desc'. The default order depends on the sortBy value. | |
sortBy | string | The 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
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | null | The client request id for tracing. | |
Date | string | (Required) Current Date | |
Authorization | string | (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"}]}