Get Scenarios

get

/essbase/rest/v1/scenarios

Get scenarios matching search criteria. Response includes links to all basic scenario attributes, excluding approvers, participants, comments, and scripts.

Request

Query Parameters
  • Application name.

  • Scenario is in submitted state, and approval is pending from logged in user.

    Default Value: false
  • If true, response contains only the count of scenarios, and not actual scenarios.

    Default Value: false
  • Database name.

  • Scenario name wildcard pattern.

  • Maximum number of scenarios to return. Default is 50.

    Default Value: 50
  • Number of scenarios to omit from the start of the result set. Default is 0.

    Default Value: 0
  • Order-by field and order for the result set. The value of this parameter must follow the format of fieldName:asc|desc. For example: name:asc. Default value is createdTime:desc, meaning that scenarios are listed with the most recently created scenarios first.

    Default Value: createdTime:desc
  • If true, returns all scenarios past the due date. Default is false, meaning all scenarios are returned.

  • Optional user role by which to filter the scenario list. Value can be owner, participant, or approver. If role is specified as approver, this API returns all scenarios for which the logged in user is the approver. By default, all scenarios are returned for which the logged in user is either an owner, a participant, or an approver.

  • Scenario state.

Back to Top

Response

Supported Media Types

200 Response

OK

Scenario list and details returned successfully.

Body ()
Root Schema : Scenarios
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : properties
Type: object
Additional Properties Allowed
Show Source
Nested 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 get scenarios.

500 Response

Internal Server Error.

Back to Top