Update a Resource Planning Scenario Status
put
/api/restapi/resourcePlanningScenario/updateScenarioStatus
Send a request to this endpoint to update status of Resource Planning Scenario. An application object with an ID value that matches the ID value provided in the JSON object in the request body will be updated to reflect the JSON contents.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : ApiEntityResourcePlanningScenarioStatusInput
Type:
object
Title:
Show Source
ApiEntityResourcePlanningScenarioStatusInput
-
capitalPortfolioId: integer(int64)Deprecated. As of 25.8.
The system-generated identifier of the Portfolio. -
capitalPortfolioName: stringDeprecated. As of 25.8.
The name of the Portfolio. -
planPeriod: integer
(int32)
The period during which resources are allocated to projects within the plan. This value determines the year in which resource planning timescales start. You can set the planning period to either the current or following year. For example, if the year is 2025, the latest planning period you can set is 2026. After the planning period for a resource plan has been set it cannot be changed.
-
scenarioId: integer
(int64)
The system-generated identifier of the Resource Plan Scenario.
-
scenarioName: string
The name of Resource Plan Scenario.
-
scenarioStatus: string
Allowed Values:
[ "APPROVED", "UNDER_REVIEW", "IN_PLANNING", "UNDER_APPROVAL", "RETIRED", "SHARED", "PENDING_APPROVAL", "PENDING_SHARED", "PENDING_IN_PLANNING" ]
The status of Resource Plan Scenario. -
workspaceCode: string
The user-specified identifier of a workspace.
Response
204 Response
Successful operation with no content.
400 Response
Invalid Input.