PATCH /rest/v1.0/cost_codes/{id}
Update a specific Cost Code.
Servers
- https://api.procore.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
id |
Integer | Yes |
Unique identifier for the Cost Code |
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 |
---|---|---|---|
project_id |
Integer | Yes |
Unique identifier for the project. |
sub_job_id |
Integer | No |
Unique identifier for the Sub Job |
cost_code |
Object | Yes |
Cost Code object |
cost_code.standard_cost_code_id |
Integer | No |
Unique identifier for the Standard Cost Code |
cost_code.name |
String | Yes |
Name |
cost_code.parent_id |
Integer | No |
Unique identifier for the Parent |
cost_code.origin_id |
String | No |
Unique identifier for the Origin |
cost_code.position |
Integer | No |
Position |
cost_code.code |
String | Yes |
Cost code, not including parent prefix. e.g., for cost code "02-300", the value of this field should be "300". |
cost_code.origin_data |
String | No |
Origin Data |
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.