Update Accident Log
update_accident_logUpdates an existing accident log record in Procore, changing only the supplied fields. Requires project ID, log ID, and accident log data.
Instructions
Update single Accident Log. #### See - Daily Log guide - for additional info on * Attachments. Use this to update an existing Daily Log records (only the supplied fields are changed). Updates the specified Daily Log records and returns the modified object on success. 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 |
|---|---|---|---|
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| id | Yes | URL path parameter — unique identifier of the Daily Log resource | |
| accident_log | Yes | JSON request body field — the accident log for this Daily Log operation | |
| 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. |