List Work Requests

GET {{baseUrl}}/workRequests?compartmentId={{compartment_ocid}}&limit=10

Lists the work requests in a compartment.

Request Params

KeyDatatypeRequiredDescription
compartmentIdstring(Required) The ID of the compartment in which to list resources.
pagestringThe 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.
integrationInstanceIdstringThe Integration Instance identifier to use to filter results

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringThe client request ID for tracing.
Acceptstring

RESPONSES

status: OK

[{"operationType":"UPDATE_INTEGRATION_INSTANCE","status":"FAILED","id":"\u003cstring\u003e","compartmentId":"\u003cstring\u003e","resources":[{"actionType":"DELETED","entityType":"\u003cstring\u003e","identifier":"\u003cstring\u003e","entityUri":"\u003cstring\u003e"},{"actionType":"STOPPED","entityType":"\u003cstring\u003e","identifier":"\u003cstring\u003e","entityUri":"\u003cstring\u003e"}],"percentComplete":"\u003cfloat\u003e","timeAccepted":"\u003cdateTime\u003e","timeFinished":"\u003cdateTime\u003e","timeStarted":"\u003cdateTime\u003e"},{"operationType":"DELETE_INTEGRATION_INSTANCE","status":"CANCELED","id":"\u003cstring\u003e","compartmentId":"\u003cstring\u003e","resources":[{"actionType":"STARTED","entityType":"\u003cstring\u003e","identifier":"\u003cstring\u003e","entityUri":"\u003cstring\u003e"},{"actionType":"STARTED","entityType":"\u003cstring\u003e","identifier":"\u003cstring\u003e","entityUri":"\u003cstring\u003e"}],"percentComplete":"\u003cfloat\u003e","timeAccepted":"\u003cdateTime\u003e","timeFinished":"\u003cdateTime\u003e","timeStarted":"\u003cdateTime\u003e"}]