Calculate Activity Spread

post

/api/restapi/action/activityspread/calculate

Send a request to this endpoint to calculate the activity spread of the selected or all activities in a project for the input list of spread items in the specified timescale. This endpoint returns a job ID upon request execution. Send a request to the View Job Status endpoint to monitor the status of the scheduled jobs. Once the job is complete, download the spread result using the Download Activity/Assignment Spread endpoint.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : ApiEntityCalcActivitySpreadInput
Type: object
Title: ApiEntityCalcActivitySpreadInput
Show Source
  • activityIds
    The list of IDs for the activities used in the spread calculations. If not provided, all activities in the project will be used in the spread calculations.
  • activitySpreadItems
    An array of activity spread items. If not provided, the default set Planned/Actual/Remaining/At Completion Labor Units/Total Cost will be used.
  • Cutoff date for the spread calculations. Populate if you want to cease the calculation of spreads beyond a specified date to speed up the processing of the job. Any values remaining after the cutoff date will be added as a lump sum in the cutoff date bucket. If not provided, all spreads with be calculated for the duration of the activity/assignment.
  • Indicates whether or not the spread calculation is for Earned Value baseline.
  • Read Only: true
    Deprecated. As of 23.10.
    The self-link to the object. This field is populated only in the responses generated by the batch create APIs.
  • The unique identifier for the project.
  • Allowed Values: [ "DAILY", "WEEKLY", "MONTHLY", "QUARTERLY", "YEARLY" ]
    Timescale for the spread calculation. If not provided, Daily will be used.
  • Read Only: true
    Deprecated. As of 23.10.
    Date when the record was last updated.
Nested Schema : activityIds
Type: array
The list of IDs for the activities used in the spread calculations. If not provided, all activities in the project will be used in the spread calculations.
Show Source
Nested Schema : activitySpreadItems
Type: array
An array of activity spread items. If not provided, the default set Planned/Actual/Remaining/At Completion Labor Units/Total Cost will be used.
Show Source
  • Allowed Values: [ "plannedLaborUnits", "plannedNonlaborUnits", "plannedLaborCost", "plannedNonlaborCost", "plannedMaterialCost", "plannedTotalCost", "actualLaborUnits", "actualNonlaborUnits", "actualLaborCost", "actualNonlaborCost", "actualMaterialCost", "actualTotalCost", "remainingLaborUnits", "remainingNonlaborUnits", "remainingLaborCost", "remainingNonlaborCost", "remainingMaterialCost", "remainingTotalCost", "atCompletionLaborUnits", "atCompletionNonlaborUnits", "atCompletionLaborCost", "atCompletionNonlaborCost", "atCompletionMaterialCost", "atCompletionTotalCost", "remainingLateLaborUnits", "remainingLateNonlaborUnits", "remainingLateLaborCost", "remainingLateNonlaborCost", "remainingLateMaterialCost", "remainingLateTotalCost", "earnedValueLaborUnits", "earnedValueCost", "plannedValueLaborUnits", "plannedValueCost", "estimateToCompleteLaborUnits", "estimateToCompleteCost", "estimateAtCompletionLaborUnits", "estimateAtCompletionCost" ]
Examples

Back to Top

Response

Supported Media Types

201 Response

The object was successfully created.
Body ()
Root Schema : ApiEntityScheduleJob
Type: object
Title: ApiEntityScheduleJob
Show Source

400 Response

Invalid input for the Action service.
Back to Top