Update Scenario with Script
put
/essbase/rest/v1/scenarios/{scenarioId}/scripts/{scriptType}
Updates scenario using script of specified type.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
scenarioId(required): integer(int64)
Scenario ID.
-
scriptType(required): string
Script type. Valid values are:
refresh
to revert to base,apply
to commit to base, andclear
to set to #Missing.
Script details.
Root Schema : Script
Type:
Show Source
object
-
content:
string
Script contents.
-
type:
string
Allowed Values:
[ "REFRESH", "CLEAR", "APPLY" ]
Response
Supported Media Types
- application/json
- application/xml
204 Response
OK
Scenario updated successfully.
400 Response
Bad Request
Failed to update scenario with script. The scenario ID or script type may be invalid.
500 Response
Internal Server Error.