PATCH /rest/v1.0/standard_cost_codes/{id}
Update a Standard Cost Code.
Servers
- https://api.procore.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
id |
Integer | Yes |
ID |
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. |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
view |
String | No |
The 'default' view only returns id and standard_cost_code_list_id. The 'compact' view also includes origin_id. The 'extended' view includes the more complete list of attributes shown below. The 'extended' view is used when no value is passed in for this parameter. Possible values:
|
Request body fields
Name | Type | Required | Description |
---|---|---|---|
standard_cost_code |
Object | Yes | |
standard_cost_code.parent_id |
Integer | No |
Parent ID (keeps the same Parent ID as before if not provided) |
standard_cost_code.name |
String | No |
Description |
standard_cost_code.origin_id |
String | No |
Origin ID |
standard_cost_code.code |
String | No |
Cost code, not including parent prefix |
standard_cost_code.origin_data |
String | No |
Origin data |
company_id |
Integer | Yes |
Company ID |
standard_cost_code_list_id |
Integer | Yes |
Standard Cost Code List ID |
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.