POST /rest/v1.0/projects/{project_id}/safety_violation_logs
Creates single Safety Violation Log.
See - Daily Log guide - for additional info on
- Attachments
Servers
- https://api.procore.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
project_id |
Integer | Yes |
Unique identifier for the project. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Procore-Company-Id |
Integer | Yes |
Unique company identifier associated with the Procore User Account. |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
safety_violation_log |
Object | Yes | |
safety_violation_log.time_hour |
Integer | Yes |
Time of safety violation - hour |
safety_violation_log.safety_notice |
String | No |
Name/number of the safety notice issued |
safety_violation_log.datetime |
String | No |
Datetime of record. Mutually exclusive with the date property. |
safety_violation_log.compliance_due |
String | No |
The date the compliance for the safety violation is due by |
safety_violation_log.subject |
String | No |
Reason for the safety violation |
safety_violation_log.time_minute |
Integer | Yes |
Time of safety violation - minute |
safety_violation_log.date |
String | No |
Format: YYYY-MM-DD Example: 2016-04-19 |
safety_violation_log.comments |
String | No |
Comments |
safety_violation_log.issued_to |
String | No |
Person who the safety violation was issued to |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.