Recalculate Workspace Cost Sheet
post
/api/restapi/cbs/recalculate/workspace/{workspaceId}
Send a request to this endpoint to recalculate workspace cost sheet for the given workspace ID.
Request
Path Parameters
-
workspaceId(required): integer(int64)
The system-generated identifier of a workspace.
Supported Media Types
- application/json
Root Schema : ApiEntityRecalculateWorkspaceCostSheetInput
Type:
objectTitle:
Show Source
ApiEntityRecalculateWorkspaceCostSheetInput-
projectCostFieldTypes: array
projectCostFieldTypes
Cost types to include in project cost sheet recalculation. Required if project recalculate boolean flag is provided as true. 'FORMULA_CONFIGURED_FIELDS' type is deprecated and will be removed soon, to update formula configured fields, use the 'projectFormulaConfiguredFieldsRecalculate' boolean field.
Allowed Values are: ACTUALS, BUDGET, COMMITMENTS, CONTRACTS, RISKS, SCOPE. -
projectFormulaConfiguredFieldsRecalculate: boolean
Boolean flag to indicate whether Formula configured fields need to be updated based on existing project data. To ensure the latest project costs, recalculate the project costs before recalculating these fields.
-
projectRecalculate: boolean
Boolean flag to indicate whether all projects' cost fields based on the provided cost field types, need to be updated in the summary cost sheet.
-
workspaceRecalculate: boolean
Boolean flag to indicate whether workspace totals need to be updated based on current cost data from projects and child workspaces.
Nested Schema : projectCostFieldTypes
Type:
arrayCost types to include in project cost sheet recalculation. Required if project recalculate boolean flag is provided as true. 'FORMULA_CONFIGURED_FIELDS' type is deprecated and will be removed soon, to update formula configured fields, use the 'projectFormulaConfiguredFieldsRecalculate' boolean field.
Allowed Values are: ACTUALS, BUDGET, COMMITMENTS, CONTRACTS, RISKS, SCOPE.
Show Source
Allowed Values are: ACTUALS, BUDGET, COMMITMENTS, CONTRACTS, RISKS, SCOPE.
-
Array of:
string
Allowed Values:
[ "ACTUALS", "BUDGET", "COMMITMENTS", "CONTRACTS", "RISKS", "SCOPE", "FORMULA_CONFIGURED_FIELDS" ]
Response
Supported Media Types
- application/json
201 Response
Successful operation
Root Schema : ApiEntityScheduleJob
Type:
objectTitle:
Show Source
ApiEntityScheduleJob-
jobId: integer
(int64)
The unique identifier for the background service.
-
jobKey: integer
(int64)
The unique identifier for a job.
-
jobStatus: string
Allowed Values:
[ "NOT_RAN_YET", "NEW", "QUEUED", "RUNNING", "DELEGATED", "ON_HOLD", "REJECTED", "COMPLETED", "COMPLETED_WITH_ERRORS", "FAILED", "NOOP", "COMPLETED_WITH_WARNINGS", "RETRIED" ]The status of the background service. -
link: string
(url)
Read Only:
trueThe self-link to the object. This field is populated only in the responses generated by the batch create APIs. -
updateDate: string
(date-time)
Read Only:
trueDate when the record was last updated.
400 Response
Invalid input for the CBS service. Verify the request contains valid data, then resubmit the request.