PATCH /rest/v1.0/standard_cost_codes/sync
This endpoint creates or updates a batch of Standard Cost Codes. See Using Sync Actions for additional information.
Servers
- https://api.procore.com
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 |
---|---|---|---|
updates[] |
Array | Yes | |
updates[].id |
Integer | No |
The ID of the Standard Cost Code |
updates[].name |
String | No |
Name |
updates[].parent_id |
Integer | No |
The ID of the parent Standard Cost Code |
updates[].origin_id |
String | No |
The Third-party ID of Standard Cost Code |
updates[].code |
String | No |
Standard Cost code, including parent prefixes. |
updates[].origin_data |
String | No |
Additional Third-party Metadata of the Standard Cost Code (this is a free-form text field) |
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.