ListWorkRequests

GET {{baseUrl}}/workRequests/?compartmentId={{tenancy_ocid}}&limit=693

Lists the work requests in compartment.

Request Params

KeyDatatypeRequiredDescription
compartmentIdstring(Required) The OCID of the compartment (remember that the tenancy is simply the root compartment).
pagestringThe value of the opc-next-page response header from the previous "List" call.
limitnumberThe maximum number of items to return in a paginated "List" call.
resourceIdentifierstringThe identifier of the resource the work request affects.

HEADERS

KeyDatatypeRequiredDescription
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header

RESPONSES

status: OK

[{"id":"ut","operationType":"DELETE_COMPARTMENT","status":"CANCELING","compartmentId":"aliqua est nostrud laboris","errors":[{"code":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"message":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"code":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"message":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"percentComplete":34.256699975111445,"resources":[{"identifier":"in nisi","actionType":"FAILED","entityType":"cillum","entityUri":"culpa laborum d"},{"identifier":"anim enim in nulla","actionType":"CREATED","entityType":"sint officia mollit pariatur","entityUri":"enim labore amet"}],"timeAccepted":"2009-08-22T06:28:04.509Z","timeFinished":"2016-10-07T16:55:35.459Z","timeStarted":"1998-01-02T10:53:00.192Z"},{"id":"tempor proident","operationType":"DELETE_COMPARTMENT","status":"IN_PROGRESS","compartmentId":"culpa velit anim","errors":[{"code":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"message":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"code":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"message":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"percentComplete":96.59452734988422,"resources":[{"identifier":"tempor sunt elit","actionType":"RELATED","entityType":"et sed dolor labore aute","entityUri":"commodo veniam magna exercitation"},{"identifier":"nisi l","actionType":"RELATED","entityType":"eu","entityUri":"aute proident ullamco"}],"timeAccepted":"1983-11-20T05:55:47.549Z","timeFinished":"1975-06-25T11:58:00.844Z","timeStarted":"1994-11-21T20:02:08.148Z"}]