Create Safety Violation Log
create_safety_violation_logCreate a safety violation log for a Procore project by providing the project ID and safety violation details. Record violations and track safety issues to maintain compliance.
Instructions
Creates single Safety Violation Log. #### See - Daily Log guide - for additional info on * Attachments. project_id defaults to the value set by procore_set_config when omitted. Creates the safety violation log 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: project_id, safety_violation_log. Procore API: Project Management > Daily Log. Endpoint: POST /rest/v1.0/projects/{project_id}/safety_violation_logs
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| attachments | No | JSON request body field — safety Violation Log Attachments are not viewable or used on web. To upload attachments you must upload the entire payload as `multipart/form-data` content-type and specify each parameter as form-d... | |
| safety_violation_log | Yes | JSON request body field — safety_violation_log |