Update Near Miss
update_near_missUpdate specified attributes of an existing near miss incident. Modify fields like description, affected person, or harm source, and receive the updated object.
Instructions
Update a Near Miss' attributes. Use this to update an existing Incidents (only the supplied fields are changed). Updates the specified Incidents and returns the modified object on success. 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 |
|---|---|---|---|
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| id | Yes | URL path parameter — unique identifier of the Incidents resource | |
| incident_id | No | Query string parameter — unique identifier of the incident | |
| description | No | JSON request body field — description of event in Rich Text format | |
| affected_person_id | No | JSON request body field — the ID of the Affected Person. This only supports full Users from the Users endpoints. | |
| affected_party_id | No | JSON request body field — the ID of the Affected Person. This supports full and reference Users from the People endpoints. | |
| harm_source_id | No | JSON request body field — the ID of the Harm Source | |
| 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 | |
| work_activity_id | No | JSON request body field — the ID of the Work Activity | |
| 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 ... |