POST /rest/v2.0/companies/{company_id}/projects/{project_id}/commitment_contracts/{commitment_contract_id}/line_items
Creates a line item for a given commitment contract.
Servers
- https://api.procore.com
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
project_id |
String | Yes |
Unique identifier for the project. |
company_id |
String | Yes |
Unique identifier for the company. |
commitment_contract_id |
String | Yes |
Unique identifier for the Commitment Contract. |
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 |
|---|---|---|---|
description |
String | No |
Description |
tax_code_id |
String | No |
Tax code ID |
prime_line_item_id |
String | No |
ID of the prime contract line item associated with this line item |
wbs_code_id |
String | Yes |
WBS code ID |
amount |
String | No |
Amount - this field is nullable on unit quantity SOVs but NOT amount-based SOVs. For line item creates, if this field is omitted on unit quantity SOVs, the amount will be calculated as quantity * unit_cost. For line item updates, if a null amount is passed in on unit quantity SOVs, it will set the line item extended type to "calculated". |
quantity |
String | No |
Quantity - only accepted on unit quantity SOVs |
uom |
String | No |
Unit of measure - only accepted on unit quantity SOVs Valid values:
|
unit_cost |
String | No |
Unit cost - only accepted on unit quantity SOVs |
funding_rule_id |
String | No |
ID of the funding rule associated with this line item. Funding Sources must be enabled at the project level. The rule must be ACTIVE and its currency must match the contract currency. Pass null to disassociate an existing funding rule. |
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.