Returns the scope item assignments for the specified work package ID.
get
/primeapi/restapi/v16.2/scopeItemAssignment/workPackage/{id}
Request
Path Parameters
- id
-
Type:
integer
(int64
)Required:true
Work Package ID of the Scope Item Assignment Assignment to be found.
Response
Supported Media Types
- application/json
200 Response
successful operation
Body
Root Schema : ApiEntityScopeItemAssignment
Type:
object
- actualHoursToDate
-
Type:
object
HourRequired:true
- actualUnitsToDate
-
Type:
object
QuantityRequired:true
- approvedChangedHours
-
Type:
object
HourRequired:true
- approvedChangedUnits
-
Type:
object
QuantityRequired:true
- atCompletionHours
-
Type:
object
Hour - atCompletionUnits
-
Type:
object
Quantity - availableHours
-
Type:
object
HourRequired:true
- availableUnits
-
Type:
object
QuantityRequired:true
- bacHours
-
Type:
object
Hour - bacUnits
-
Type:
object
QuantityRequired:true
- baselineFinishDate
-
Type:
string
(date-time
)The planned finish date for the work package as is set in the current baseline. This field is used to spread baseline data fields. This field is populated with the Revised Finish date at the time that the current baseline is set. If there is an activity link, this field is populated with the activity's Current BL Finish date. - baselineHours
-
Type:
object
HourRequired:true
- baselineStartDate
-
Type:
string
(date-time
)The planned start date for the work package as is set in the current baseline. This field is used to spread baseline data fields. This field is populated with the Revised Start date at the time that the current baseline is set. If there is an activity link, this field is populated with the activity's Current BL Start date. - baselineUnits
-
Type:
object
QuantityRequired:true
- code
-
Type:
string
The unique identifier for the scope assignment. - currentHoursPerUnit
-
Type:
number
(double
)The number of hours it will take to install or assemble the product or material per unit based on current values. Calculated as Revised Hours divided by Revised Quantity. This value is recalculated if Revised Quantity or Revised Hours are changed. - curve
-
Type:
integer
(int64
)The curve profile selected for the scope assignment. - description
-
Type:
string
Required:true
Allowed Values:[ "Length[0-4000]" ]
Additional details for the scope assignment. - eacHours
-
Type:
object
HourRequired:true
- eacUnits
-
Type:
object
QuantityRequired:true
- earnedHours
-
Type:
object
HourRequired:true
- earnedPercentComplete
-
Type:
object
PercentRequired:true
- earnedUnits
-
Type:
object
QuantityRequired:true
- effectiveDate
-
Type:
string
(date-time
)The latest date of all Actual to Date and Actual Cost to Date values for the scope assignment. This is a read-only field. - etcAdjustedHours
-
Type:
object
HourRequired:true
- etcAdjustedUnits
-
Type:
object
QuantityRequired:true
- etcHours
-
Type:
object
HourRequired:true
- etcUnits
-
Type:
object
QuantityRequired:true
- hoursPerUnit
-
Type:
number
(double
)The number of hours it takes to install or assemble the product or material per unit. Defaults to the scope item's Original Productivity Rate, but can be updated for each scope item assignment. Calculated as Original Hours divided by Original Quantity. If this field is updated, Original Hours is recalculated to equal Original Quantity multiplied by Original Productivity Rate. - installedFinishDate
-
Type:
string
(date-time
)The date work on the scope assignment completed. The latest date of all Installed Quantity values for the scope assignment when Scope Percent Complete equals 100%. - installedHours
-
Type:
object
Hour - installedStartDate
-
Type:
string
(date-time
)The date work on the scope assignment began. This is the earliest date of all Installed Quantity values for the scope assignment. - installedUnits
-
Type:
object
Quantity - managerId
-
Type:
integer
(int64
)The manager or person responsible for providing status on the scope assignment. - manualWeight
-
Type:
number
(double
)Calculated as Scope Percent Complete multiplied by Manual Weight Factor. - manualWeightFactor
-
Type:
number
(double
)The amount by which the manual weight is calculated when progress needs to be weighed against a factor other than quantity, hours, or cost. - milestoneProgressPercent
-
Type:
object
PercentRequired:true
- milestones
-
Type:
array
milestonesUnique Items Required:true
Lists all Scope Item Assignment Milestones for this assignment. - originalFinishDate
-
Type:
string
(date-time
)The date the work on the scope assignment is scheduled to finish. This field is populated with the work package's Original Finish date, but it can be manually modified until the original baseline is set. If there is no activity link, the field is locked when the original baseline is set. If there is an activity link, the field is populated with the activity's Original BL Finish. If the Data Date is specified after the Original Finish date is set and the Original Start date is before the Data Date, the application sets the Original Finish date to be the same date relative to Original Start before the Data Date was modified when the Modify Dates feature is run. - originalStartDate
-
Type:
string
(date-time
)The date the work on the scope assignment is scheduled to begin. This field is populated with its work package's Original Start, but can be manually modified until the original baseline is set. If there is no activity link, the field is locked when the original baseline is set. If there is an activity link, the field is populated with the activity's Original BL Start. If the Data Date is specified, the date cannot be set to a date earlier than the Data Date. If the Data Date is specified after the Original Start date is set and the Original Start date is before the Data Date, the Original Start date inherits the Data Date when the Modify Dates feature is run. - pendingChangedHours
-
Type:
object
HourRequired:true
- pendingChangedUnits
-
Type:
object
QuantityRequired:true
- percentComplete
-
Type:
object
PercentRequired:true
- plannedFinishDate
-
Type:
string
(date-time
)The date the work on the work package is scheduled to finish. This field is used to spread original data fields. If there is no activity link, this field is populated with the Original Finish date until the original baseline is set. It can be manually modified after the original baseline is set. If Data Date is specified after the Planned Finish date is set and the Planned Start date is before the Data Date, the application sets the Planned Finish date to be the same date relative to Planned Start before the Data Date was modified when the Modify Dates feature is run. If there is an activity link, this field is populated with the activity's Planned Finish date. - plannedHours
-
Type:
object
Hour - plannedStartDate
-
Type:
string
(date-time
)The date the work on the work package is scheduled to begin. This field is used to spread original data fields. If there is no activity link, this field is populated with the Original Start date until the original baseline is set. It can be manually updated after the original baseline is set. If the Data Date is specified, the date cannot be set to a date earlier than the Data Date. If the Data Date is specified after the Planned Start date is set, the Planned Start date is before the Data Date, and the work package's Scope Percent Complete is equal to 0%, that is Installed Quantity is zero, then the date inherits the Data Date when the Modify Dates feature is run. If there is an activity link, this field is populated with the activity's Planned Start date. - plannedUnits
-
Type:
object
Quantity - progressStatus
-
Type:
string
Allowed Values:[ "NOT_STARTED", "IN_PROGRESS", "COMPLETED" ]
The current status of a scope assignment. Not Started: Work using the scope assignment has not begun. In Progress: The work is in progress. Completed: The work has been completed. - projectId
-
Type:
integer
(int64
)The ID for the project that the work package belongs to. - rateBy
-
Type:
string
Required:true
Allowed Values:[ "HOURS", "QUANTITY" ]
Determines whether the cost is calculated using the Quantity or Hours. Quantity: Quantity is used to calculate cost. For example, Original Cost is calculated as Original Quantity times Original Cost Rate. Hours: Hours are used to calculate cost. For example, Original Cost is calculated as Original Hours times Original Cost Rate. - remainingEarlyFinishDate
-
Type:
string
(date-time
)The earliest date the work on the scope assignment is scheduled to finish. If there is no activity link, before the original baseline is set, this field is populated with the Original Finish date. After the original baseline is set, this field is populated with the Revised Finish date. This field is blank when the scope assignment's Scope Percent Complete becomes 100%. If there is any activity linked, this field is populated with the activity's Remaining Early Finish date. This field is used to spread Remaining data fields . - remainingEarlyStartDate
-
Type:
string
(date-time
)The earliest date the work on the work package is scheduled to begin. If there is no activity link, before the original baseline is set, this field is populated with the Original Start date. After the original baseline is set, this field is populated with the Data Date when the Modify Dates feature is run if the scope assignment's Scope Percent Complete is not equal to 100% This field is blank when the scope assignment's Scope Percent Complete becomes 100%. If there is any activity linked, this field is populated with the activity's Remaining Early Start date. This field is used to spread Remaining data fields. - remainingHours
-
Type:
object
Hour - remainingLateFinishDate
-
Type:
string
(date-time
)The latest possible date work on the scope assignment must finish to not delay the finish date. If there is no activity link, this field is always equal to the Remaining Early Finish date. If there is any activity linked, this field is populated with the activity's Remaining Late Finish date. This field is used to spread Remaining data fields. - remainingLateStartDate
-
Type:
string
(date-time
)The latest possible date work on the scope assignment must begin without delaying the finish date. - remainingUnits
-
Type:
object
Quantity - revisedFinishDate
-
Type:
string
(date-time
)The revised finish date for the scope assignment. It is always the latest finish of the scope assignment's Planned Start date and all approved Change Finish dates. - revisedHours
-
Type:
object
HourRequired:true
- revisedStartDate
-
Type:
string
(date-time
)The revised start date for the scope assignment. It is always the earliest start of the scope assignments' Planned Start date and all approved Change Start dates. - revisedUnits
-
Type:
object
QuantityRequired:true
- scopeItemAssignmentCodeValue
-
Type:
array
scopeItemAssignmentCodeValueUnique Items Required:true
Lists all Scope Item Assignment code types assigned to the Scope Item Assignment with its corresponding value. - scopeItemAssignmentCost
-
Type:
object
ApiEntityScopeItemAssignmentCost - scopeItemAssignmentFlexCost
-
Type:
object
ApiEntityScopeItemAssignmentFlexCost - scopeItemAssignmentFlexOther
-
Type:
object
ApiEntityScopeItemAssignmentFlexOther - scopeItemAssignmentFlexText
-
Type:
object
ApiEntityScopeItemAssignmentFlexText - scopeItemAssignmentId
-
Type:
integer
(int64
)The unique identifier for the scope item assigned to the work package. - scopeItemId
-
Type:
integer
(int64
)The unique identifier of the scope item assigned to the work package. - status
-
Type:
string
Allowed Values:[ "PENDING", "APPROVED", "REJECTED" ]
ENUM - weightedCost
-
Type:
object
CostRequired:true
- weightedCostProject
-
Type:
object
Cost - weightedHours
-
Type:
object
HourRequired:true
- weightedUnits
-
Type:
object
QuantityRequired:true
- workPackageId
-
Type:
integer
(int64
)The unique identifier for the work package.
Nested Schema : Hour
Type:
object
- bigDecimal
-
Type:
number
- double
-
Type:
number
(double
)
Nested Schema : Quantity
Type:
object
Nested Schema : Percent
Type:
object
- bigDecimal
-
Type:
number
- double
-
Type:
number
(double
)
Nested Schema : milestones
Type:
array
Unique Items Required:
true
Lists all Scope Item Assignment Milestones for this assignment.
-
Type:
object
ApiEntityScopeItemAssignmentMilestone
Nested Schema : scopeItemAssignmentCodeValue
Type:
array
Unique Items Required:
true
Lists all Scope Item Assignment code types assigned to the Scope Item Assignment with its corresponding value.
-
Type:
object
ApiEntityCodeValueScopeItemAssignment
Nested Schema : ApiEntityScopeItemAssignmentCost
Type:
object
- actualCostToDate
-
Type:
object
CostRequired:true
- actualCostToDateProject
-
Type:
object
CostRequired:true
- adjustedCost
-
Type:
object
CostRequired:true
- adjustedCostProject
-
Type:
object
CostRequired:true
- approvedChangedCost
-
Type:
object
CostRequired:true
- approvedChangedCostProject
-
Type:
object
CostRequired:true
- atCompletionCost
-
Type:
object
CostRequired:true
- atCompletionCostProject
-
Type:
object
CostRequired:true
- bacCost
-
Type:
object
CostRequired:true
- bacCostProject
-
Type:
object
CostRequired:true
- baselineCost
-
Type:
object
CostRequired:true
- baselineCostProject
-
Type:
object
CostRequired:true
- currentRate
-
Type:
object
CostRequired:true
- currentRateProject
-
Type:
object
CostRequired:true
- eacCost
-
Type:
object
CostRequired:true
- eacCostProject
-
Type:
object
CostRequired:true
- earnedCost
-
Type:
object
CostRequired:true
- earnedCostProject
-
Type:
object
CostRequired:true
- etcCost
-
Type:
object
CostRequired:true
- etcCostProject
-
Type:
object
CostRequired:true
- installedCost
-
Type:
object
CostRequired:true
- installedCostProject
-
Type:
object
CostRequired:true
- pendingChangedCost
-
Type:
object
CostRequired:true
- pendingChangedCostProject
-
Type:
object
CostRequired:true
- plannedCost
-
Type:
object
CostRequired:true
- plannedCostProject
-
Type:
object
CostRequired:true
- rate
-
Type:
object
CostRequired:true
- rateProject
-
Type:
object
CostRequired:true
- remainingCost
-
Type:
object
CostRequired:true
- remainingCostProject
-
Type:
object
CostRequired:true
- revisedCost
-
Type:
object
CostRequired:true
- revisedCostProject
-
Type:
object
CostRequired:true
- scopeItemAssignmentId
-
Type:
integer
(int64
)Required:true
Nested Schema : ApiEntityScopeItemAssignmentFlexCost
Type:
object
- flexMap
-
Type:
object
flexMapAdditional Properties Allowed: additionalPropertiesLists all configured cost fields assigned to the Scope Item Assignment with its corresponding value as a (key,value) pair. - scopeItemAssignment
-
Type:
object
ApiEntityScopeItemAssignment - scopeItemAssignmentId
-
Type:
integer
(int64
)
Nested Schema : ApiEntityScopeItemAssignmentFlexOther
Type:
object
- flexMap
-
Type:
object
flexMapAdditional Properties Allowed: additionalPropertiesLists all configured date, number, integer fields assigned to the Scope Item Assignment with its corresponding value as a (key,value) pair. - scopeItemAssignment
-
Type:
object
ApiEntityScopeItemAssignment - scopeItemAssignmentId
-
Type:
integer
(int64
)
Nested Schema : ApiEntityScopeItemAssignmentFlexText
Type:
object
- flexMap
-
Type:
object
flexMapAdditional Properties Allowed: additionalPropertiesLists all configured text fields assigned to the Scope Item Assignment with its corresponding value as a (key,value) pair. - scopeItemAssignment
-
Type:
object
ApiEntityScopeItemAssignment - scopeItemAssignmentId
-
Type:
integer
(int64
)
Nested Schema : Cost
Type:
object
Nested Schema : ApiEntityScopeItemAssignmentMilestone
Type:
object
- milestone
-
Type:
object
ApiEntityRuleOfCreditMilestone - milestoneProgressPercent
-
Type:
object
PercentRequired:true
- percentComplete
-
Type:
object
PercentRequired:true
- scopeItemAssignmentMilestoneId
-
Type:
integer
(int64
)
Nested Schema : ApiEntityRuleOfCreditMilestone
Type:
object
- milestoneId
-
Type:
integer
(int64
) - milestoneName
-
Type:
string
Allowed Values:[ "Length[1-255]" ]
The name of the milestone for the rule of credit. - percentComplete
-
Type:
object
Percent
Nested Schema : ApiEntityCodeValueScopeItemAssignment
Type:
object
- codeType
-
Type:
object
ApiEntityCodeType - codeValue
-
Type:
object
ApiEntityCodeValue - codeValueScopeItemId
-
Type:
integer
(int64
)KEY
Nested Schema : ApiEntityCodeType
Type:
object
- assignments
-
Type:
array
assignmentsUnique Items Required:true
- codeTypeCode
-
Type:
string
Allowed Values:[ "Length[1-40]" ]
This field displays the name of a code or value. - codeTypeId
-
Type:
integer
(int64
) - codeTypeName
-
Type:
string
Allowed Values:[ "Length[1-40]" ]
STRING - workspace
-
Type:
integer
(int64
)The ID of the owning workspace.
Nested Schema : ApiEntityCodeValue
Type:
object
- codeTypeId
-
Type:
integer
(int64
)The ID for the code type. - codeValueCode
-
Type:
string
Allowed Values:[ "LENGTH[1-32]" ]
The unique identifier for the code value. - codeValueId
-
Type:
integer
(int64
)The unique identifier for the code value. - codeValueName
-
Type:
string
Allowed Values:[ "LENGTH[1-100]" ]
The name of the code value. - parentCodeValue
-
Type:
integer
(int64
)The parent code value. - sequenceNumber
-
Type:
integer
(int32
)The number that specifies the position of the code value item within the code type list.
Nested Schema : assignments
Nested Schema : ApiEntityCodeEntityType
Type:
object
- codeType
-
Type:
object
ApiEntityCodeType - entityType
-
Type:
string
Allowed Values:[ "SCOPE_ITEM", "PROJECT", "SCOPE_ASSIGNMENT", "WBS", "WORK_PACKAGE", "ACTIVITY", "RESOURCE", "PBS", "CONTRACT", "RISK", "COMMITMENT", "REPORT", "TASKS", "PROJECT_FUND", "WORKSPACE_FUND" ]
- primaryKey
-
Type:
integer
(int64
)
Nested Schema : flexMap
Type:
object
-
Type:
object
additionalProperties
Lists all configured cost fields assigned to the Scope Item Assignment with its corresponding value as a (key,value) pair.
Nested Schema : additionalProperties
Type:
object
Nested Schema : flexMap
Type:
object
-
Type:
object
additionalProperties
Lists all configured date, number, integer fields assigned to the Scope Item Assignment with its corresponding value as a (key,value) pair.
Nested Schema : additionalProperties
Type:
object
Nested Schema : flexMap
Type:
object
-
Type:
object
additionalProperties
Lists all configured text fields assigned to the Scope Item Assignment with its corresponding value as a (key,value) pair.
Nested Schema : additionalProperties
Type:
object
404 Response
The Scope Item Assignment do not exist or you do not have access to it.