Update a Schedule Scenario
put
/api/restapi/scheduleScenario
Send a request to this endpoint to update a schedule scenario.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : ApiEntityScheduleScenarioInput
Type:
object
Title:
ApiEntityScheduleScenarioInput
This entity represents a ScheduleScenario object, a unique ScheduleScenario object can be identified by the following combinations of the fields.
Show Source
- scenarioId
- name,projectId
- name,projectCode,workspaceCode
-
description: string
Minimum Length:
0
Maximum Length:4000
A detailed summary for the baseline or snapshot. - hidden: boolean
-
name(required): string
Maximum Length:
255
Name for the baseline or snapshot. -
projectCode: string
Minimum Length:
1
Maximum Length:60
The unique identifier for a project set by the user who created the project. -
projectId(required): integer
(int64)
The unique identifier for the project.
-
scenarioId: integer
(int64)
The system-generated unique identifier of the schedule scenario.
-
sourceName: string
Name of baseline or scenario.
-
sourceType: string
Allowed Values:
[ "BASELINE", "SCENARIO", "CURRENT_SCHEDULE", "FROM_HISTORY" ]
The source type of the schedule scenario. Default Value is CURRENT_SCHEDULE. -
time: string
(date-time)
The time at which the scenario was generated. Allowed format is "yyyy-MM-dd'T'HH:mm:ss.Z".
-
type: string
Allowed Values:
[ "WHAT_IF", "RETIRED", "CLOSED" ]
The type of the scenario. A scenario can have a type of What-if, Closed, or Retired. -
workspaceCode: string
Minimum Length:
0
Maximum Length:60
The user-specified identifier of the project's workspace.
Response
204 Response
Successful operation with no content.
400 Response
Invalid input for the Schedule Scenario service. Verify the request contains valid data, then resubmit the request.