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.file_version_ids[] |
Array | No |
File Versions to attach to the response |
accident_log.time_hour |
Integer | Yes |
Time of accident - hour |
accident_log.vendor_id |
Integer | No |
ID of the Vendor associated to the accident |
accident_log.image_ids[] |
Array | No |
Images to attach to the response |
accident_log.daily_log_segment_id |
Integer | No |
Daily Log Segment ID |
accident_log.document_management_document_revision_ids[] |
Array | No |
PDM document to attach to the response |
accident_log.upload_ids[] |
Array | No |
Uploads to attach to the response |
accident_log.date |
String | No |
Date that the accident occured. Format: YYYY-MM-DD |
accident_log.drawing_revision_ids[] |
Array | No |
Drawing Revisions to attach to the response |
accident_log.location_id |
Integer | No |
The ID of the Location of the Accident Log. |
accident_log.form_ids[] |
Array | No |
Forms to attach to the response |
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.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.