POST /rest/v1.0/projects/{project_id}/safety_violation_logs

Creates single Safety Violation Log.

See - Daily Log guide - for additional info on

Servers

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.file_version_ids[] Array No

File Versions to attach to the response

safety_violation_log.time_hour Integer Yes

Time of safety violation - hour

safety_violation_log.vendor_id Integer No

ID of the Vendor associated to the Safety Violation Log

safety_violation_log.image_ids[] Array No

Images to attach to the response

safety_violation_log.daily_log_segment_id Integer No

Daily Log Segment ID

safety_violation_log.document_management_document_revision_ids[] Array No

PDM document to attach to the response

safety_violation_log.upload_ids[] Array No

Uploads to attach to the response

safety_violation_log.subject String No

Reason for the safety violation

safety_violation_log.date String No

Format: YYYY-MM-DD Example: 2016-04-19

safety_violation_log.drawing_revision_ids[] Array No

Drawing Revisions to attach to the response

safety_violation_log.issued_to String No

Person who the safety violation was issued to

safety_violation_log.location_id Integer No

The ID of the Location of the Safety Violation Log.

safety_violation_log.form_ids[] Array No

Forms to attach to the response

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.time_minute Integer Yes

Time of safety violation - minute

safety_violation_log.comments String No

Comments

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. 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.
  3. Click Test request to test run your request to the API and see the API's response.