Perform Scenario Action

post

/essbase/rest/v1/scenarios/{id}

Performs the specified scenario workflow action. Common actions are submit to submit a scenario for approval, approve to approve a scenario, reject to reject it, and apply to overwrite the base data with the scenario data. Additional actions include copy, refresh, and clear.

Request

Supported Media Types
Path Parameters
Query Parameters
  • Valid values are submit, approve, reject, apply, copy, refresh, and clear.

  • Optional overwrite parameter, applicable only when action is refresh. If true, when the base and scenario data have different values, the base value overwrites the scenario changes. Default is false.

    Default Value: false
Body ()

Action parameters. Copy options are applicable only in case of copy. Comment is applicable only for workflow actions.

Root Schema : ScenarioActionPayload
Type: object
Show Source
Nested Schema : CopyOptions
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

OK

Scenario action performed successfully.

Body ()
Root Schema : Scenario
Type: object
Show Source
Nested Schema : approvers
Type: array
Show Source
Nested Schema : participants
Type: array
Show Source
Nested Schema : scripts
Type: array
Show Source
Nested Schema : Approver
Type: object
Show Source
Nested Schema : Participant
Type: object
Show Source
Nested Schema : Script
Type: object
Show Source

400 Response

Bad Request

Failed to perform scenario action. The scenario ID may be invalid.

500 Response

Internal Server Error.

Back to Top