Get work request status

get

/20180828/workRequests/{workRequestId}

This path retrieves the details of a work request.

Request

Path Parameters
Header Parameters
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. The only valid characters for request IDs are letters, numbers, underscore, and dash.
Back to Top

Response

Supported Media Types

200 Response

The work request was retrieved.
Headers
  • For optimistic concurrency control. See `if-match`.
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
  • A decimal number representing the number of seconds the client should wait before polling this endpoint again.
Body ()
Root Schema : WorkRequest
Type: object
An asynchronous work request. Work requests help you monitor long-running operations. When you start a long-running operation, the service creates a work request. A work request is an activity log that allows you to track each step in the operation's progress. Each work request has an OCID that allows you to interact with it programmatically and use it for automation.
Show Source
  • The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request.
  • The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the work request.
  • Allowed Values: [ "CREATE_DATA_SHARING_AGREEMENT", "UPDATE_DATA_SHARING_AGREEMENT", "DELETE_DATA_SHARING_AGREEMENT", "MOVE_DATA_SHARING_AGREEMENT", "CREATE_DATA_SHARING_CONSTRAINT", "UPDATE_DATA_SHARING_CONSTRAINT", "DELETE_DATA_SHARING_CONSTRAINT", "MOVE_DATA_SHARING_CONSTRAINT", "CREATE_DATA_SHARING_REQUEST", "UPDATE_DATA_SHARING_REQUEST", "DELETE_DATA_SHARING_REQUEST", "MOVE_DATA_SHARING_REQUEST", "CREATE_DELIVERY_ENDPOINT", "UPDATE_DELIVERY_ENDPOINT", "DELETE_DELIVERY_ENDPOINT", "MOVE_DELIVERY_ENDPOINT", "CREATE_PAYER", "UPDATE_PAYER", "DELETE_PAYER", "MOVE_PAYER", "MOVE_PAYER_DIRECTORY_ENTRY", "CREATE_PROVIDER", "UPDATE_PROVIDER", "DELETE_PROVIDER", "MOVE_PROVIDER", "MOVE_PROVIDER_DIRECTORY_ENTRY", "CREATE_QUERY_ENDPOINT", "UPDATE_QUERY_ENDPOINT", "DELETE_QUERY_ENDPOINT", "MOVE_QUERY_ENDPOINT" ]
    The asynchronous operation tracked by this work request.
  • Displays the progress of the operation tracked by the work request as a percentage of the total work that must be performed.
  • resources
    Maximum Number of Items: 32
    The resources that are affected by the work request.
  • Allowed Values: [ "ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED" ]
    The status of the work request.
  • The date and time that the work request was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
  • The date and time that the work request was finished, in the format defined by [RFC 3339](https://tools.ietf.org/rfc/rfc3339).
  • The date and time that the work request was started, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
  • The date and time that the work request was updated, in the format defined by [RFC 3339](https://tools.ietf.org/rfc/rfc3339).
Nested Schema : resources
Type: array
Maximum Number of Items: 32
The resources that are affected by the work request.
Show Source
Nested Schema : WorkRequestResource
Type: object
A resource created or operated on by a work request.
Show Source
  • Allowed Values: [ "CREATED", "UPDATED", "DELETED", "IN_PROGRESS", "RELATED", "FAILED" ]
    The way in which this resource is affected by the operation tracked in the work request. A resource being created, updated, or deleted remains in the IN_PROGRESS state until work is complete for that resource, at which point it transitions to CREATED, UPDATED, or DELETED state, respectively.
  • The resource type that the work request affects.
  • The URI path that you can use for a GET request to access the resource metadata.
  • An [OCID](/iaas/Content/General/Concepts/identifiers.htm) or other unique identifier for the resource.
  • metadata
    Additional Properties Allowed: additionalProperties
    Additional information that helps to explain the resource.
Nested Schema : metadata
Type: object
Additional Properties Allowed
Show Source
Additional information that helps to explain the resource.
Allowed Values: [ "IS_DRY_RUN" ]

401 Response

Unauthorized
Headers
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

404 Response

Not Found
Headers
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

429 Response

Too Many Requests
Headers
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

500 Response

Internal Server Error
Headers
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

Default Response

An error has occurred.
Headers
Body ()
Root Schema : Error
Type: object
Error information.
Show Source
Back to Top