Update Accident Log
update_accident_logUpdate a single accident log in Procore by providing the project ID, log ID, and updated fields. Omitted fields keep current values; the updated log is returned on success.
Instructions
Update single Accident Log. #### See - Daily Log guide - for additional info on * Attachments. Send only the fields you intend to change; omitted fields keep their current values. 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 accident log 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, accident_log. Procore API: Project Management > Daily Log. Endpoint: PATCH /rest/v1.0/projects/{project_id}/accident_logs/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — unique identifier of the Daily Log resource | |
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| attachments | No | JSON request body field — accident Log Attachments. To upload attachments you must upload the entire payload as `multipart/form-data` content-type and specify each parameter as form-data together with `attachments[]` as files. | |
| accident_log | Yes | JSON request body field — the accident log for this Daily Log operation |