Create Attachment
create_attachment_projectCreate an attachment for a witness statement in a Procore incident by providing the project ID, witness statement ID, and the file.
Instructions
Creates an attachment for the specified 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, witness_statement_id, attachment. Procore API: Project Management > Incidents. Endpoint: POST /rest/v1.0/projects/{project_id}/incidents/witness_statements/{witness_statement_id}/attachments
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| witness_statement_id | Yes | URL path parameter — witness Statement ID | |
| attachment | Yes | JSON request body field — witness Statement Attachment. To upload an attachment you must upload the entire payload as `multipart/form-data` content-type with the `attachment` file. |