List Work Requests
GET {{baseUrl}}/workRequests?compartmentId={{compartment_ocid}}&limit=10
Lists the work requests in a compartment.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
compartmentId | string | (Required) The ID of the compartment in which to list resources. | |
page | string | 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. | |
integrationInstanceId | string | The Integration Instance identifier to use to filter results |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | The client request ID for tracing. | |
Accept | string |
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"}]