POST /rest/v1.0/projects/{project_id}/work_breakdown_structure/wbs_codes
Create a new WBS code using the specified segments. If the combination of segments matches an existing WBS Code, the existing code will be updated with the description provided.
Servers
- https://api.procore.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
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 |
---|---|---|---|
segment_items[] |
Array | Yes | |
segment_items[].segment_id |
Integer | Yes |
Id of the Segment defined at the company level. |
segment_items[].segment_item_id |
Integer | Yes |
Id of the Segment Item. |
description |
String | No |
Description of the wbs code. |
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.