Update All Company Segment Items
update_all_company_segment_itemsBatch activate or deactivate segment items and their children, or modify other Work Breakdown Structure attributes in one request.
Instructions
Update All Segment Items with the same attributes. The endpoint currently handles updating status (deactivating or reactivating) for segment items and their children. Use this to update an existing Work Breakdown Structure records (only the supplied fields are changed). Updates the specified Work Breakdown Structure records and returns the modified object on success. Required parameters: company_id, segment_id, ids, attributes. Procore API: Construction Financials > Work Breakdown Structure. Endpoint: PATCH /rest/v1.0/companies/{company_id}/work_breakdown_structure/segments/{segment_id}/segment_items/update_all
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company_id | Yes | URL path parameter — unique identifier for the company. | |
| segment_id | Yes | URL path parameter — unique identifier of the segment | |
| ids | Yes | JSON request body field — list of segment item IDs. The API will find and update the children of the provided IDs. | |
| attributes | Yes | JSON request body field — the attributes for this Work Breakdown Structure operation |