View Schedule Scenarios By Parent Code
get
/api/restapi/scheduleScenario/parent
Send a request to this endpoint to view all the schedule scenarios under the project using the set of parent codes as query parameters.
Request
Query Parameters
-
projectCode(required): string
The user-specified identifier of a project.
This is a required field. -
workspaceCode(required): string
The user-specified identifier of a workspace.
This is a required field.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : List<ApiEntityScheduleScenario>
Type:
array
Title:
Show Source
List<ApiEntityScheduleScenario>
-
Array of:
object ApiEntityScheduleScenario
Title:
ApiEntityScheduleScenario
Nested Schema : ApiEntityScheduleScenario
Type:
object
Title:
Show Source
ApiEntityScheduleScenario
-
description: string
Minimum Length:
0
Maximum Length:4000
A detailed summary for the baseline or snapshot. - hidden: boolean
-
link: string
(url)
The self-link to the object. This field is populated only in the responses generated by the batch create APIs.
-
name: 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: integer
(int64)
The unique identifier for the project.
-
scenarioId: integer
(int64)
The system-generated unique identifier of the schedule scenario.
-
sourceDescription: string
The source of the schedule scenario.
-
status: string
Allowed Values:
[ "IN_PROGRESS", "FAILED", "COMPLETE" ]
The status of the scenario. A scenario can have a status of In Progress, Failed, or Complete. -
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. -
updateDate: string
(date-time)
Date when the record was last updated.
-
workspaceCode: string
Minimum Length:
0
Maximum Length:60
The user-specified identifier of the project's workspace.
204 Response
Successful operation with no content.
404 Response
The requested object does not exist, or you do not have access to it.