Create a Resource Planning Scenario
post
/api/restapi/resourcePlanningScenario
Send a request to this endpoint to create Resource Planning Scenario. An application object will be created using the JSON data provided in the request body.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : ApiEntityResourcePlanningScenarioInput
Type:
object
Title:
Show Source
ApiEntityResourcePlanningScenarioInput
-
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. - hidden: boolean
-
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.
-
scenarioDescription: string
The description of a scenario.
-
scenarioId: integer
(int64)
The system-generated identifier of the Resource Plan Scenario.
-
scenarioName: string
The name of Resource Plan Scenario.
-
workspaceCode: string
The user-specified identifier of a workspace.
Response
Supported Media Types
- application/json
201 Response
The object was successfully created.
Root Schema : ApiEntityResourcePlanningScenario
Type:
object
Title:
Show Source
ApiEntityResourcePlanningScenario
-
allocatedCost: number
(double)
The total cost associated with the roles allocations made on the scenario. This is calculated based on the standard role rates.
-
allocationDuration: number
(double)
The total duration of the allocation in scenario.
-
allocationFinish: string
(date-time)
The end date for the allocation in scenario.
-
allocationStart: string
(date-time)
The start date for the allocation in scenario.
-
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. -
committedCost: number
(double)
The total cost associated with the roles committed units on the scenario. This is calculated based on the standard role rates.
-
committedDuration: number
(double)
The total duration of the commitment in scenario.
-
committedFinishDate: string
(date-time)
The end date for the committed data in scenario.
-
committedStartDate: string
(date-time)
The start date for the committed data in scenario.
-
createDate: string
(date-time)
The created date of the Resource Plan Scenario .
-
createdBy: string
The scenario created username.
- hidden: boolean
-
lastRefreshDate: string
(date-time)
The date a refresh was last performed on the portfolio resource plan scenario.
-
link: string
(url)
The self-link to the object. This field is populated only in the responses generated by the batch create APIs.
-
owner: string
The owner of Resource Plan Scenario.
-
periods: array
periods
The period data associated with resource plan scenario.
-
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.
-
projectCount: integer
(int32)
The total number of projects included in a resource plan scenario.
-
projects: array
projects
The plan projects associated with a scenario.
-
proposedCost: number
(double)
The total cost associated with the roles proposed units on the scenario. This is calculated based on the standard role rates.
-
proposedDuration: number
(double)
The total duration of the proposed data in scenario.
-
proposedFinishDate: string
(date-time)
TThe start date for the proposed data in scenario.
-
proposedStartDate: string
(date-time)
The start date for the proposed data in scenario.
-
resourcePlanId: integer
(int64)
The system-generated identifier of the Resource Plan.
-
resourcePlanStatus: string
Allowed Values:
[ "IN_PLANNING", "CLOSED", "APPROVED", "REVISING" ]
The current resource status of a portfolio. In Planning: The portfolio is currently going through the resource planning process and contains one or more scenarios in planning. This status is set based on the status of scenarios and cannot be edited manually. In Planning is the default resource status. Revising: The portfolio currently has one scenario with a status of approved and another with a status of Under Review, Shared, or Under Approval. This status is set based on the status of scenarios and cannot be edited manually. Approved: The portfolio contains a scenario that has gone through the approval process and has been approved. This status is set based on the status of scenarios and cannot be edited manually. -
scenarioDescription: string
The description of a scenario.
-
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. -
totalAllocatedFTEUnit: number
The total allocated FTE for a scenario. Calculated as Total Allocation divided by Allocation Duration.
-
totalAllocatedUnit: number
(double)
The total units allocated for a scenario.
-
totalCommittedFTEUnits: number
The committed FTE in a scenario.
-
totalCommittedUnit: number
(double)
The total units committed in scenario.
-
totalProposedFTEUnits: number
The proposed FTE in scenario.
-
totalProposedUnit: number
(double)
The total cost associated with the roles committed units on the scenario. This is calculated based on the standard role rates.
-
workspaceCode: string
The user-specified identifier of a workspace.
Nested Schema : periods
Type:
array
The period data associated with resource plan scenario.
Show Source
-
Array of:
object ApiEntityRoleDataPeriod
Title:
ApiEntityRoleDataPeriod
Nested Schema : projects
Type:
array
The plan projects associated with a scenario.
Show Source
-
Array of:
object ApiEntityResourcePlanProject
Title:
ApiEntityResourcePlanProject
Nested Schema : ApiEntityRoleDataPeriod
Type:
object
Title:
Show Source
ApiEntityRoleDataPeriod
-
allocatedDataUnits: number
(double)
Allocated units for a period of a role.
-
allocatedDataUnitsFTE: number
Allocated FTE for a period of a role.
-
committedDataUnits: number
(double)
Committed units for a period of a role.
-
committedDataUnitsFTE: number
Committed FTE for a period of a role.
-
end: string
(date-time)
End date of a individual period.
-
link: string
(url)
Read Only:
true
The self-link to the object. This field is populated only in the responses generated by the batch create APIs. -
proposedDataUnits: number
(double)
Proposed units for a period of a role.
-
proposedDataUnitsFTE: number
Proposed FTE for a period of a role
-
roleDataPerDataPeriodCost:
roleDataPerDataPeriodCost
Associated costs for a period of a role.
-
start: string
(date-time)
Start date of a individual period.
-
updateDate: string
(date-time)
Read Only:
true
Date when the record was last updated.
Nested Schema : roleDataPerDataPeriodCost
Associated costs for a period of a role.
Match All
Associated costs for a period of a role.
Show Source
-
object
ApiEntityRoleDataPeriodCost
Title:
ApiEntityRoleDataPeriodCost
Nested Schema : ApiEntityRoleDataPeriodCost
Type:
object
Title:
Show Source
ApiEntityRoleDataPeriodCost
-
allocatedCost: number
(double)
Allocated cost for a period for a role.
-
committedCost: number
(double)
Committed cost for a period for a role.
-
link: string
(url)
Read Only:
true
The self-link to the object. This field is populated only in the responses generated by the batch create APIs. -
proposedCost: number
(double)
Proposed cost for a period for a role.
-
updateDate: string
(date-time)
Read Only:
true
Date when the record was last updated.
Nested Schema : ApiEntityResourcePlanProject
Type:
object
Title:
Show Source
ApiEntityResourcePlanProject
-
allocationFinish: string
(date-time)
The finish date for the allocation in project.
-
allocationStart: string
(date-time)
The start date for the allocation in project.
-
committedFinishDate: string
(date-time)
The end date for the committed data in project.
-
committedStartDate: string
(date-time)
The start date for the committed data in project.
-
description: string
The description of a project.
-
finishDate: string
(date-time)
The finish date of a plan project.
-
link: string
(url)
Read Only:
true
The self-link to the object. This field is populated only in the responses generated by the batch create APIs. -
periods: array
periods
The period data associated with a plan project.
-
projectCode: string
The unique identifier for a project set by the user who created the project.
-
projectId: integer
(int64)
The unique identifier of a project.
-
projectName: string
The name of a plan project associated with a scenario.
-
projectTotalAllocationDuration: number
(double)
The total duration of the allocation in project.
-
proposedEndDate: string
(date-time)
The end date for the proposed data in project.
-
proposedStartDate: string
(date-time)
The start date for the proposed data in project.
-
roleAllocations: array
roleAllocations
The role data associated with plan project.
-
startDate: string
(date-time)
The start date of a plan project.
-
state: string
Allowed Values:
[ "SELECTED", "UNSELECTED", "FORCED_IN", "FORCED_OUT" ]
The state of capital plan project. Allowed Values:[ "SELECTED","UNSELECTED","FORCED_IN","FORCED_OUT"] -
totalAllocatedCost: number
(double)
The total cost associated with the roles allocations made on project.
-
totalAllocatedFTEUnit: number
The total allocated FTE in project.
-
totalAllocatedUnit: number
(double)
The total units allocated in project.
-
totalCommittedCost: number
(double)
The total cost associated with the roles committed units on project.
-
totalCommittedDuration: number
(double)
The total duration of the commitment in project.
-
totalCommittedFTEUnit: number
The committed FTE in project.
-
totalCommittedUnit: number
(double)
The total units committed in project.
-
totalProposedAllocationUnit: number
(double)
The total units proposed in project.
-
totalProposedCost: number
(double)
The total cost associated with the roles proposed units on project.
-
totalProposedDuration: number
(double)
The total duration of the proposed data in project.
-
totalProposedFTEUnit: number
The proposed FTE in project.
-
undistributedAllocation: number
(double)
The total allocated units which are not distributed into any time buckets in project.
-
updateDate: string
(date-time)
Read Only:
true
Date when the record was last updated. -
workspaceCode: string
The user-specified identifier of a workspace.
Nested Schema : periods
Type:
array
The period data associated with a plan project.
Show Source
-
Array of:
object ApiEntityRoleDataPeriod
Title:
ApiEntityRoleDataPeriod
Nested Schema : roleAllocations
Type:
array
The role data associated with plan project.
Show Source
-
Array of:
object ApiEntityResourceRoleData
Title:
ApiEntityResourceRoleData
Nested Schema : ApiEntityResourceRoleData
Type:
object
Title:
Show Source
ApiEntityResourceRoleData
-
allocatedCost: number
(double)
The total cost associated with a role.
-
allocationFinish: string
(date-time)
The end date for the allocation for role.
-
allocationStart: string
(date-time)
The start date for the allocation for role.
-
allocattedDuration: number
(double)
Duration of the allocation for role.
-
committedFinishDate: string
(date-time)
The end date for the committed data for role.
-
committedStartDate: string
(date-time)
The start date for the committed data for role.
-
id: integer
(int64)
The unique identifier of a role.
-
link: string
(url)
Read Only:
true
The self-link to the object. This field is populated only in the responses generated by the batch create APIs. -
periods: array
periods
The period data associated with role.
-
proposedAllocationUnits: number
(double)
The total units proposed for role.
-
proposedDuration: number
(double)
Duration of the proposed data for role.
-
proposedEndDate: string
(date-time)
The end date for the proposed data for role.
-
proposedStartDate: string
(date-time)
The start date for the proposed data for role.
-
proposedUnitFTE: number
The proposed FTE for role.
-
resourceCode: string
The user-specified identifier of a role.
-
resourceName: string
The name of role.
-
totalAllocatedFTEUnit: number
The total allocated FTE for role.
-
totalAllocatedUnit: number
(double)
The total units allocated for role.
-
totalCommittedDuration: number
(double)
The total duration of the commitment for role.
-
totalCommittedFTEUnit: number
The committed FTE for role.
-
totalCommittedUnit: number
(double)
The total units committed for role.
-
undistributedAllocation: number
(double)
The total allocated units which are not distributed into any time buckets for role.
-
updateDate: string
(date-time)
Read Only:
true
Date when the record was last updated.
Nested Schema : periods
Type:
array
The period data associated with role.
Show Source
-
Array of:
object ApiEntityRoleDataPeriod
Title:
ApiEntityRoleDataPeriod
400 Response
Invalid input for the Resource Planning Scenario service. Verify the request contains valid data, then resubmit the request.