List work requests

GET {{baseUrl}}/workRequests?compartmentId={{compartment_ocid}}&resourceId=&page=&limit=100&sortOrder=ASC&sortBy=timeCreated

Lists the work requests in a compartment.

Request Params

KeyDatatypeRequiredDescription
compartmentIdstring(Required) The ocid of the compartment in which to list resources.
resourceIdnullFilter work requests by the resource ocid.
pagenullThe page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
limitnumberThe maximum number of items to return.
sortOrderstringThe sort order to use, either 'asc' or 'desc'. The default order depends on the sortBy value.
sortBystringThe 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

KeyDatatypeRequiredDescription
opc-request-idnullThe client request id for tracing.
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header

RESPONSES

status: OK

{"items":[{"operationType":"non Excepteur","percentComplete":-59426603.94240296,"status":"dolore do consequat laboris qui","timeAccepted":"1941-09-17T10:48:51.325Z","timeFinished":"1967-11-01T17:43:28.601Z","timeStarted":"1997-04-01T16:35:41.859Z"},{"operationType":"in eiusmod","percentComplete":84923494.22076303,"status":"esse consequat fugiat","timeAccepted":"1959-10-05T22:46:18.811Z","timeFinished":"1968-11-04T22:19:54.814Z","timeStarted":"1997-09-11T20:59:56.834Z"}]}