Create Witness Statement
create_witness_statementCreate a witness statement for a Procore incident, recording the witness's account with supporting files and details.
Instructions
Create Witness Statement. Use this to create a new Incidents in Procore. Creates a new Incidents and returns the created object on success (HTTP 201). Required parameters: project_id, incident_id, witness_id. Procore API: Project Management > Incidents. Endpoint: POST /rest/v1.0/projects/{project_id}/incidents/witness_statements
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| incident_id | Yes | JSON request body field — the ID of the Incident | |
| statement | No | JSON request body field — the account of the event by the witness in rich text form. | |
| date_received | No | JSON request body field — date that the Witness Statement was received. This assumes the dates provided are in the project timezone. | |
| witness_id | Yes | JSON request body field — unique identifier of the witness | |
| upload_uuids | No | JSON request body field — array of uploaded file UUIDs. | |
| drawing_revision_ids | No | JSON request body field — drawing Revisions to attach to the response | |
| file_version_ids | No | JSON request body field — file Versions to attach to the response | |
| form_ids | No | JSON request body field — forms to attach to the response | |
| image_ids | No | JSON request body field — images to attach to the response | |
| custom_field_%{custom_field_definition_id} | No | JSON request body field — value of the custom field. The data type of the value passed in corresponds with the data_type of the Custom Field Definition. For a lov_entry data_type the value passed in should be the ID of one ... | |
| recording | No | JSON request body field — the recording for this Incidents operation |