Update Scenario Partially
patch
/essbase/rest/v1/scenarios/{id}
Updates basic information about a scenario, including description, due date, priority, and owner.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
id: integer(int64)
Scenario ID.
Scenario details. Set only those fields which need to be updated.
Root Schema : ScenarioEditBean
Type:
Show Source
object
-
description(optional):
string
-
dueDate(optional):
integer(int64)
-
owner(optional):
string
-
priority(optional):
string
Allowed Values:
[ "LOW", "MEDIUM", "HIGH" ]
Response
Supported Media Types
- application/json
- application/xml
200 Response
OK
Scenario updated successfully.
Root Schema : Scenario
Type:
Show Source
object
-
application(optional):
string
-
appliedTime(optional):
integer(int64)
-
approvers(optional):
array approvers
-
commentsCount(optional):
integer(int32)
-
createdTime(optional):
integer(int64)
-
database(optional):
string
-
description(optional):
string
-
dueDate(optional):
integer(int64)
-
id(optional):
integer(int64)
-
links(optional):
array links
-
name(optional):
string
-
overdue(optional):
boolean
-
owner(optional):
string
-
participants(optional):
array participants
-
priority(optional):
string
Allowed Values:
[ "LOW", "MEDIUM", "HIGH" ]
-
refreshedTime(optional):
integer(int64)
-
sandbox(optional):
string
-
scenarioUser(optional):
boolean
-
scripts(optional):
array scripts
-
state(optional):
string
Allowed Values:
[ "NEW", "SUBMITTED", "APPROVED", "REJECTED", "APPLIED" ]
-
submittedTime(optional):
integer(int64)
-
useCalculatedValues(optional):
boolean
Nested Schema : Script
Type:
Show Source
object
-
content(optional):
string
-
type(optional):
string
Allowed Values:
[ "REFRESH", "CLEAR", "APPLY" ]
400 Response
Bad Request
Failed to update the scenario. Required fields such as scenario name or due date may be empty.
500 Response
Internal Server Error.