Get Scenarios
/essbase/rest/v1/scenarios
Get scenarios matching search criteria. Response includes links to all basic scenario attributes, excluding approvers, participants, comments, and scripts.
Request
-
application: string
Application name.
-
approvalPending: boolean
Scenario is in submitted state, and approval is pending from logged in user.
Default Value:false -
count: boolean
If
true, response contains only the count of scenarios, and not actual scenarios.Default Value:false -
database: string
Database name.
-
filter: string
Scenario name wildcard pattern.
-
limit: integer(int64)
Maximum number of scenarios to return. Default is 50.
Default Value:50 -
offset: integer(int64)
Number of scenarios to omit from the start of the result set. Default is 0.
Default Value:0 -
orderBy: string
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 iscreatedTime:desc, meaning that scenarios are listed with the most recently created scenarios first.Default Value:createdTime:desc -
overdue: boolean
If true, returns all scenarios past the due date. Default is false, meaning all scenarios are returned.
-
role: string
Optional user role by which to filter the scenario list. Value can be
owner,participant, orapprover. If role is specified asapprover, 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. -
state: string
Scenario state.
Response
- application/json
- application/xml
200 Response
OK
Scenario list and details returned successfully.
object-
application:
string
-
appliedTime:
integer(int64)
-
approvers:
array approvers
-
commentsCount:
integer(int32)
-
createdTime:
integer(int64)
-
database:
string
-
description:
string
-
dueDate:
integer(int64)
-
id:
integer(int64)
-
links:
array links
-
name:
string
-
overdue:
boolean
-
owner:
string
-
participants:
array participants
-
priority:
string
Allowed Values:
[ "LOW", "MEDIUM", "HIGH" ] -
refreshedTime:
integer(int64)
-
sandbox:
string
-
scenarioUser:
boolean
-
scripts:
array scripts
-
state:
string
Allowed Values:
[ "NEW", "SUBMITTED", "APPROVED", "REJECTED", "APPLIED" ] -
submittedTime:
integer(int64)
-
useCalculatedValues:
boolean
object-
content:
string
Script contents.
-
type:
string
Allowed Values:
[ "REFRESH", "CLEAR", "APPLY" ]
400 Response
Bad Request
Failed to get scenarios.
500 Response
Internal Server Error.