Returns scope items specified by the assigned code value.
get
/primeapi/restapi/v16.2/scopeItem/project/{id}/codeType/{typeId}/codeValue/{code}
Request
Path Parameters
- code
-
Type:
stringRequired:true- id
Type:integer(int64)Required:true- typeId
Type:integer(int64)Required:true
Response
Supported Media Types
- application/json
200 Response
successful operation
Body
Root Schema : ApiEntityScopeItem
Type:
object- approvedChangedHours
-
Type:
objectHourRequired:true - approvedChangedUnits
-
Type:
objectQuantityRequired:true - assignedHours
-
Type:
objectHourRequired:true - assignedUnits
-
Type:
objectQuantityRequired:true - atCompletionUnits
-
Type:
objectQuantityRequired:true - baselineHours
-
Type:
objectHourRequired:true - baselineUnits
-
Type:
objectQuantityRequired:true - costSheetItemId
-
Type:
integer(int64)The cost breakdown structure code assigned to the scope item. - currentHoursPerUnit
-
Type:
number(double)The number of hours required to install a single quantity of the scope item material or product based on current values. For example, if the product is 1,000 feet of cable it may be estimated to take 2 hours install one foot of cable. This field is recalculated if Current Hours are changed. - description
-
Type:
stringRequired:trueAllowed Values:[ "Length[0-4000]" ]Details describing the scope item. - etcAdjustedUnits
-
Type:
objectQuantityRequired:true - itemCode
-
Type:
stringAllowed Values:[ "Length[1-60]" ]The unique identifier for the scope item. - itemName
-
Type:
stringAllowed Values:[ "Length[1-255]" ]The name of the scope item. - pbsId
-
Type:
integer(int64)The parent PBS for the scope item. - pendingChangedHours
-
Type:
objectHourRequired:true - pendingChangedUnits
-
Type:
objectQuantityRequired:true - percentComplete
-
Type:
objectPercentRequired:true - plannedHours
-
Type:
objectHour - plannedHoursPerUnit
-
Type:
number(double)The number of hours required to install or assemble a single quantity of the scope item material or product. For example, if the product is 1,000 feet of cable it may be estimated to take 2 hours install one foot of cable. Calculated as Original Hours divided by Original Quantity. - plannedUnits
-
Type:
objectQuantity - projectId
-
Type:
integer(int64)The ID for the project where the scope item exists. - remainingUnits
-
Type:
objectQuantityRequired:true - revisedHours
-
Type:
objectHourRequired:true - revisedUnits
-
Type:
objectQuantityRequired:true - scopeItemCodeValue
-
Type:
arrayscopeItemCodeValueUnique Items Required:trueLists all Scope Item code types assigned to the Scope Item with its corresponding value. - scopeItemFlexCost
-
Type:
objectApiEntityScopeItemFlexCost - scopeItemFlexOther
-
Type:
objectApiEntityScopeItemFlexOther - scopeItemFlexText
-
Type:
objectApiEntityScopeItemFlexText - scopeItemId
-
Type:
integer(int64) - status
-
Type:
stringAllowed Values:[ "PENDING", "APPROVED", "REJECTED" ]The state of the scope item in the change request. - unAssignedHours
-
Type:
objectHourRequired:true - unAssignedUnits
-
Type:
objectQuantityRequired:true - unitOfMeasureId
-
Type:
integer(int64)Required:trueThe name of the measurement type used to describe the quantity of a scope item.
Nested Schema : Hour
Type:
object- bigDecimal
-
Type:
number - double
-
Type:
number(double)
Nested Schema : Quantity
Type:
objectNested Schema : Percent
Type:
object- bigDecimal
-
Type:
number - double
-
Type:
number(double)
Nested Schema : scopeItemCodeValue
Type:
arrayUnique Items Required:
trueLists all Scope Item code types assigned to the Scope Item with its corresponding value.
-
Type:
objectApiEntityCodeValueScopeItem
Nested Schema : ApiEntityScopeItemFlexCost
Type:
object- flexMap
-
Type:
objectflexMapAdditional Properties Allowed: additionalPropertiesLists all configured cost fields assigned to the Scope Item with its corresponding value as a (key,value) pair. - scopeItem
-
Type:
objectApiEntityScopeItem - scopeItemId
-
Type:
integer(int64)
Nested Schema : ApiEntityScopeItemFlexOther
Type:
object- flexMap
-
Type:
objectflexMapAdditional Properties Allowed: additionalPropertiesLists all configured date, number, integer fields assigned to the Scope Item with its corresponding value as a (key,value) pair. - scopeItem
-
Type:
objectApiEntityScopeItem - scopeItemId
-
Type:
integer(int64)
Nested Schema : ApiEntityScopeItemFlexText
Type:
object- flexMap
-
Type:
objectflexMapAdditional Properties Allowed: additionalPropertiesLists all configured text fields assigned to the Scope Item with its corresponding value as a (key,value) pair. - scopeItem
-
Type:
objectApiEntityScopeItem - scopeItemId
-
Type:
integer(int64)
Nested Schema : ApiEntityCodeValueScopeItem
Type:
object- codeType
-
Type:
objectApiEntityCodeType - codeValue
-
Type:
objectApiEntityCodeValue - codeValueScopeItemId
-
Type:
integer(int64)The unique identifier for the code value assigned to the scope item.
Nested Schema : ApiEntityCodeType
Type:
object- assignments
-
Type:
arrayassignmentsUnique Items Required:true - codeTypeCode
-
Type:
stringAllowed Values:[ "Length[1-40]" ]This field displays the name of a code or value. - codeTypeId
-
Type:
integer(int64) - codeTypeName
-
Type:
stringAllowed 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:
stringAllowed Values:[ "LENGTH[1-32]" ]The unique identifier for the code value. - codeValueId
-
Type:
integer(int64)The unique identifier for the code value. - codeValueName
-
Type:
stringAllowed 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:
objectApiEntityCodeType - entityType
-
Type:
stringAllowed 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:
objectadditionalProperties
Lists all configured cost fields assigned to the Scope Item with its corresponding value as a (key,value) pair.
Nested Schema : additionalProperties
Type:
objectNested Schema : flexMap
Type:
object-
Type:
objectadditionalProperties
Lists all configured date, number, integer fields assigned to the Scope Item with its corresponding value as a (key,value) pair.
Nested Schema : additionalProperties
Type:
objectNested Schema : flexMap
Type:
object-
Type:
objectadditionalProperties
Lists all configured text fields assigned to the Scope Item with its corresponding value as a (key,value) pair.
Nested Schema : additionalProperties
Type:
object