POST /rest/v1.0/projects/{project_id}/incidents/actions

Creates an Action.

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.

Query parameters

Name Type Required Description
run_configurable_validations Boolean No

Whether or not Configurable validations from the Incident/Injury Configurable Field Set should be run (default: false). See (https://developers.procore.com/reference/configurable-field-sets#list-project-configurable-field-sets) for a list of Configurable validations enabled on this project.

Request body fields

Name Type Required Description
incident_action Object Yes
incident_action.file_version_ids[] Array No

File Versions to attach to the response

incident_action.form_ids[] Array No

Forms to attach to the response

incident_action.description String No

Description of action taken in rich text form.

incident_action.image_ids[] Array No

Images to attach to the response

incident_action.incident_id Integer Yes

The ID of the Incident

incident_action.upload_ids[] Array No

Uploads to attach to the response

incident_action.action_type_id Integer Yes

The ID of the Action Type

incident_action.drawing_revision_ids[] Array No

Drawing Revisions to attach to the response

incident_action.custom_field_%{custom_field_definition_id} No

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 of the Custom Field Definition's LOV Entries. For a lov_entries data_type the value passed in should be an array of IDs of the Custom Field Definition's LOV Entries.

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.