PATCH /rest/v1.0/projects/{project_id}/direct_costs/{direct_cost_id}/line_items/{id}
Update a Direct Cost Line Item. This action does not support concurrent requests. If there is an attempt to update a Direct Cost Line Item that belongs to a Direct Cost which is being updated or deleted by another request, a 409 Conflict error will be returned. Note: A budget line item will automatically be created for Non-budgeted line items for all new projects and for projects enabled with Non-Budgeted line item beta functionality
Servers
- https://api.procore.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
direct_cost_id |
Integer | Yes |
ID |
id |
Integer | Yes |
Direct Cost Line Item ID |
project_id |
Integer | Yes |
Unique identifier for the project. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Procore-Company-Id |
Integer | Yes |
Unique company identifier associated with the Procore User Account. |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
line_item |
Object | Yes |
Line Item object |
line_item.direct_cost_id |
Integer | No |
Direct Cost ID |
line_item.line_item_type_id |
Integer | No |
Line Item Type ID |
line_item.description |
String | No |
Description |
line_item.wbs_code_id |
Integer | No |
WBS Code ID |
line_item.amount |
Number | No |
Amount |
line_item.origin_id |
String | No |
Origin ID |
line_item.quantity |
Number | No |
Quantity of described item |
line_item.uom |
String | No |
Unit of measure of the described item Possible values:
|
line_item.unit_cost |
Number | No |
Unit cost of described item |
line_item.origin_data |
String | No |
Origin Data |
line_item.cost_code_id |
Integer | No |
Cost Code ID |
line_item.extended_type |
String | No |
Calculated amount from quantity and unit cost or manually entered amount Possible values:
|
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.