View Project Budget Item by Code and Project Budget
get
/api/restapi/budgetItem/projectBudget/{projectBudgetId}/code/{budgetItemCode}
This endpoint returns project budget items that meet the following requirements:
- The object has a code that matches the value of the {budgetItemCode} path parameter.
- The object is associated with a project budget with an ID value that matches the value of the {projectBudgetId} path parameter.
Request
Path Parameters
-
budgetItemCode(required): string
The item code of a budget item.
-
projectBudgetId(required): integer(int64)
The system-generated identifier of a project budget.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : List<ApiEntityBudgetItem>
Type:
array
Title:
Show Source
List<ApiEntityBudgetItem>
-
Array of:
object ApiEntityBudgetItem
Title:
ApiEntityBudgetItem
Nested Schema : ApiEntityBudgetItem
Type:
object
Title:
Show Source
ApiEntityBudgetItem
-
abbreviation: string
Minimum Length:
1
Maximum Length:10
The abbreviated name of a cost category. -
budgetChangeId: integer
(int64)
Indicates whether the budget item originated in a budget change.
-
budgetHours: number
(double)
The number of hours needed to complete the budget item. Calculated as Production Rate multiplied by Quantity.
-
budgetItemCode: string
Minimum Length:
0
Maximum Length:60
The unique identifier of the project budget item. -
budgetItemCost:
budgetItemCost
Contains Budget Item cost related fields.
-
budgetItemId: integer
(int64)
The system-generated identifier of a budget item.
-
cbsCodes: array
cbsCodes
List of cbs codes in hierarchy for the CBS which needs to be associated with the item. This field is not populated as part of the API response since it is a write-only field, used only for the create or update APIs.
-
cbsSheetCodeId: integer
(int64)
The unique identifier of the CBS Code.
-
configuredFields: array
configuredFields
The list of configured fields for a budget item.
-
costCategoryId: integer
(int64)
The type of cost associated with the budget item.
-
costCategoryName: string
Minimum Length:
1
Maximum Length:255
The cost category assigned to this budget item. -
itemName: string
Minimum Length:
0
Maximum Length:255
The name of the budget item. -
itemSuffix: integer
(int64)
The suffix of a budget item code.
-
link: string
(url)
The self-link to the object. This field is populated only in the responses generated by the batch create APIs.
-
productionRate: number
(double)
Minimum Value:
0.000010
The number of hours per unit of measure needed to complete the budget item. -
projectBudgetId: integer
(int64)
The system-generated identifier of a project budget.
-
projectCode: string
Minimum Length:
1
Maximum Length:60
The project associated with this budget item. -
projectId: integer
(int64)
The unique identifier for the project.The project object can also be identified by its unique criteria.
-
quantity: number
(double)
The number of each budget item needed to complete the work.
-
sourceId: string
Maximum Length:
255
The unique identifier of budget item data in an external source. -
unitsOfMeasureId: integer
(int64)
The Unit of Measure used for the budget item.
-
updateDate: string
(date-time)
Date when the record was last updated.
-
workspaceCode: string
Minimum Length:
0
Maximum Length:60
The user-specified identifier of a workspace.
Nested Schema : budgetItemCost
Contains Budget Item cost related fields.
Match All
Show Source
-
object
ApiEntityBudgetItemCost
Title:
ApiEntityBudgetItemCost
Nested Schema : cbsCodes
Type:
array
List of cbs codes in hierarchy for the CBS which needs to be associated with the item. This field is not populated as part of the API response since it is a write-only field, used only for the create or update APIs.
Show Source
Nested Schema : configuredFields
Type:
array
The list of configured fields for a budget item.
Show Source
-
Array of:
object ApiEntityBudgetItemConfiguredFieldValue
Title:
ApiEntityBudgetItemConfiguredFieldValue
Nested Schema : ApiEntityBudgetItemCost
Type:
object
Title:
Show Source
ApiEntityBudgetItemCost
-
budgetItemId: integer
(int64)
The system-generated identifier of a budget item.
-
currentCost: number
(double)
The current cost of the budget line item. This value is based on the base currency.
-
currentCostProject: number
(double)
The current cost of the budget line item. This value is based on the project currency.
-
currentCostWorkspace1: number
(double)
The current cost of the budget line item. This value is based on the workspace1 currency.
-
currentCostWorkspace2: number
(double)
The current cost of the budget line item. This value is based on the workspace2 currency.
-
currentCostWorkspace3: number
(double)
The current cost of the budget line item. This value is based on the workspace3 currency.
-
laborRate: number
(double)
The cost per labor hour of the budget line item. This value is based on the base currency.
-
laborRateProject: number
(double)
The cost per labor hour of the budget line item. This value is based on the project currency.
-
laborRateWorkspace1: number
(double)
The cost per labor hour of the budget line item. This value is based on the workspace1 currency.
-
laborRateWorkspace2: number
(double)
The cost per labor hour of the budget line item. This value is based on the workspace2 currency.
-
laborRateWorkspace3: number
(double)
The cost per labor hour of the budget line item. This value is based on the workspace3 currency.
-
link: string
(url)
The self-link to the object. This field is populated only in the responses generated by the batch create APIs.
-
originalCost: number
(double)
Minimum Value:
0
The original cost of the budget line item. This value is based on the base currency. -
originalCostProject: number
(double)
The original cost of the budget line item. This value is based on the project currency.
-
originalCostWorkspace1: number
(double)
The original cost of the budget line item. This value is based on the workspace1 currency.
-
originalCostWorkspace2: number
(double)
The original cost of the budget line item. This value is based on the workspace2 currency.
-
originalCostWorkspace3: number
(double)
The original cost of the budget line item. This value is based on the workspace3 currency.
-
unitRate: number
(double)
The cost per Unit of Measure for the budget line item. This value is based on the base currency.
-
unitRateProject: number
(double)
The cost per Unit of Measure for the budget line item. This value is based on the project currency.
-
unitRateWorkspace1: number
(double)
The cost per Unit of Measure for the budget line item. This value is based on the workspace1 currency.
-
unitRateWorkspace2: number
(double)
The cost per Unit of Measure for the budget line item. This value is based on the workspace2 currency.
-
unitRateWorkspace3: number
(double)
The cost per Unit of Measure for the budget line item. This value is based on the workspace3 currency.
-
updateDate: string
(date-time)
Date when the record was last updated.
Nested Schema : ApiEntityBudgetItemConfiguredFieldValue
Type:
object
Title:
Show Source
ApiEntityBudgetItemConfiguredFieldValue
-
action: string
Allowed Values:
[ "DELETE" ]
Provide value for this field during object update to delete the assigned configured field value. -
budgetItemConfiguredFieldValueId: integer
(int64)
The unique identifier for the Budget Item Configured Field.
-
budgetItemId: integer
(int64)
The system-generated identifier for an Budget.
-
columnDefinitionId: integer
(int64)
Unique identifier of the column. This value should not be provided in create operation request data, however, it is required for update requests.
-
columnLabel: string
Minimum Length:
1
Maximum Length:100
The user-specified UDF column label. -
columnName: string
Minimum Length:
1
Maximum Length:100
The user-specified UDF column name. -
costValue: number
This holds values for Cost type configured fields in the base currency conversion. Input should be provided in numberValue field, in currency of record.
-
costValueWorkspace1: number
(double)
This holds values for Cost type configured fields in the workspace1 currency conversion.
-
costValueWorkspace2: number
(double)
This holds values for Cost type configured fields in the workspace2 currency conversion.
-
costValueWorkspace3: number
(double)
This holds values for Cost type configured fields in the workspace3 currency conversion.
-
dateValue: string
(date-time)
This holds values for Date type configured fields.
-
exceptionMessage: string
Maximum Length:
4000
Provides the error message for why the formula calculation resulted in an error. -
hasException: boolean
Determines if formula calculation hit an error calculating a value for this field.
-
link: string
(url)
The self-link to the object. This field is populated only in the responses generated by the batch create APIs.
-
numberValue: number
This holds values for Number, Integer and Cost type configured fields. Input for the cost configured field should be provided in the currency of record. For example project level currency in case of Activity, base currency for Company, workspace currency for Funds and record level currency for Project Actuals etc. configured fields.
-
textValue: string
Maximum Length:
4000
This holds values for Boolean, List and Text type configured fields. -
updateDate: string
(date-time)
Date when the record was last updated.
404 Response
The requested project budget item does not exist, or you do not have access to it.