Adds Existing Labels To Specified Resources.
adds_existing_labels_to_specified_resourcesAssociates existing labels with materials or documents in Procore. Provide company_id, project_id, label_guids, and resource_guids to create the label-resource link.
Instructions
Associates one or more existing labels with one or more resources (materials or documents). Labels must already exist within the company and project scope. company_id and project_id default to the values set by procore_set_config when omitted. Creates the existing label and returns it with its new id (HTTP 201); calling it again creates another record. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: company_id, project_id, label_guids. Procore API (v2.0): Resource Management > Materials Management. Endpoint: POST /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/labels/resources
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company_id | Yes | URL path parameter — the company identifier | |
| project_id | Yes | URL path parameter — the project identifier | |
| label_guids | Yes | JSON request body field — the label guids for this Materials Management operation | |
| resource_guids | No | JSON request body field — the resource guids for this Materials Management operation |