PATCH /rest/v1.0/projects/{project_id}/visitor_logs/{id}

Updates a single Visitor Log in the specified Project.

Servers

Path parameters

Name Type Required Description
id Integer Yes

Visitor Log ID

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

If true, validations are run for the corresponding Configurable Field Set.

Default value: false

Request body fields

Name Type Required Description
visitor_log Object Yes
visitor_log.begin_minute Integer No

Time of visitation - hour

visitor_log.datetime String No

Datetime of record. Mutually exclusive with the date property.

visitor_log.end_hour Integer No

Time that the visitation ended - hour

visitor_log.begin_hour Integer No

Time of visitation - hour

visitor_log.date String No

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

visitor_log.details String No

Details of visit

visitor_log.end_minute Integer No

Time that the visitation ended - minute

visitor_log.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.