Set the status of the request execution

post

ess/rest/scheduler/v1/requests/{requestId}/executionStatus

Sets the status of the request execution. It is meant to be invoked from a job request to signal the result of its execution to the scheduler. The scheduler uses it as an indicator to transition the request state.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • The request handle associated with the executing request represents an opaque identifer for the executing instance of the request.
  • Allowed Values: [ "SUCCESS", "UPDATE", "PAUSE", "WARNING", "ERROR", "BUSINESS_ERROR", "CANCEL", "SUSPEND" ]
    Callback status of an asynchronous job. Returning an asynchronous status does not guarantee that the state of the request will change to the corresponding value. The new state of the request will depend on the old state, the async status, and any errors that may occur in subsequent processing. SUCCESS -- the job ran successfully UPDATE -- the asynchronous job is updated PAUSE -- the job has paused for the execution of sub-requests WARNING -- the job is issuing a warning ERROR -- the job encountered a retryable error CANCEL -- The job has cancelled its execution. Usually this originates from cancelling the job using the scheduler APIs SUSPEND -- the job has suspended itself BUSINESS_ERROR -- the job encountered a non-retryable error
  • An error message if the status is ERROR or BUSINESS_ERROR, a warning message if the status is WARNING, the paused state if the status is PAUSED. The value will be ignored if the status is SUCCESS or CANCEL.
Request Body - application/vnd.oracle.resource+json ()
Root Schema : schema
Type: object
Show Source
  • The request handle associated with the executing request represents an opaque identifer for the executing instance of the request.
  • Allowed Values: [ "SUCCESS", "UPDATE", "PAUSE", "WARNING", "ERROR", "BUSINESS_ERROR", "CANCEL", "SUSPEND" ]
    Callback status of an asynchronous job. Returning an asynchronous status does not guarantee that the state of the request will change to the corresponding value. The new state of the request will depend on the old state, the async status, and any errors that may occur in subsequent processing. SUCCESS -- the job ran successfully UPDATE -- the asynchronous job is updated PAUSE -- the job has paused for the execution of sub-requests WARNING -- the job is issuing a warning ERROR -- the job encountered a retryable error CANCEL -- The job has cancelled its execution. Usually this originates from cancelling the job using the scheduler APIs SUSPEND -- the job has suspended itself BUSINESS_ERROR -- the job encountered a non-retryable error
  • An error message if the status is ERROR or BUSINESS_ERROR, a warning message if the status is WARNING, the paused state if the status is PAUSED. The value will be ignored if the status is SUCCESS or CANCEL.
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()

400 Response

Invalid input
Body ()
Root Schema : SimpleExceptionDetail
Type: object
Show Source

403 Response

Not allowed for this operation
Body ()
Root Schema : SimpleExceptionDetail
Type: object
Show Source

404 Response

Request ID not found
Body ()
Root Schema : SimpleExceptionDetail
Type: object
Show Source

500 Response

A scheduling sub-system error occurred.
Body ()
Root Schema : SimpleExceptionDetail
Type: object
Show Source
Back to Top