Update Near Miss
update_near_missUpdate a near miss incident record in Procore by modifying its attributes. Send only the fields you want to change; omitted fields remain unchanged.
Instructions
Update a Near Miss' attributes. Send only the fields you intend to change; omitted fields keep their current values. Pass the record's fields as top-level arguments — they are nested under "near_miss" in the request payload for you. project_id defaults to the value set by procore_set_config when omitted, and id must identify an existing parent record — resolve it with the matching list tool first. Returns the modified near miss on success. 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: project_id, id. Procore API: Project Management > Incidents. Endpoint: PATCH /rest/v1.0/projects/{project_id}/incidents/near_misses/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — unique identifier of the Incidents resource | |
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| description | No | JSON request body field — description of event in Rich Text format | |
| incident_id | No | Query string parameter — unique identifier of the incident | |
| harm_source_id | No | JSON request body field — the ID of the Harm Source | |
| work_activity_id | No | JSON request body field — the ID of the Work Activity | |
| affected_party_id | No | JSON request body field — the ID of the Affected Person. This supports full and reference Users from the People endpoints. | |
| affected_person_id | No | JSON request body field — the ID of the Affected Person. This only supports full Users from the Users endpoints. | |
| affected_company_id | No | JSON request body field — the ID of the Affected Company | |
| managed_equipment_id | No | JSON request body field — the ID of the Managed Equipment | |
| custom_field_%{custom_field_definition_id} | No | JSON request body field — value of the custom field. The data type of the value passed in corresponds with the data_type of the Custom Field Definition. For a lov_entry data_type the value passed in should be the ID of one ... |