POST /rest/v1.0/projects/{project_id}/accident_logs
Creates single Accident 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 |
---|---|---|---|
accident_log |
Object | Yes | |
accident_log.time_hour |
Integer | Yes |
Time of accident - hour |
accident_log.involved_company |
String | No |
Name of the Company involved in the accident |
accident_log.datetime |
String | No |
Datetime of record. Mutually exclusive with the date property. |
accident_log.date |
String | No |
Date that the accident occured. Format: YYYY-MM-DD |
accident_log.time_minute |
Integer | Yes |
Time of accident - minute |
accident_log.comments |
String | No |
Additional comments about the accident |
accident_log.involved_name |
String | No |
Name of the person involved in the accident |
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.