PATCH /rest/v1.0/projects/{project_id}/visitor_logs/{id}
Updates a single Visitor Log in the specified Project.
Servers
- https://api.procore.com
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.file_version_ids[] |
Array | No |
File Versions to attach to the response |
visitor_log.vendor_id |
Integer | No |
ID of the Vendor associated to the visit |
visitor_log.image_ids[] |
Array | No |
Images to attach to the response |
visitor_log.daily_log_segment_id |
Integer | No |
Daily Log Segment ID |
visitor_log.document_management_document_revision_ids[] |
Array | No |
PDM document to attach to the response |
visitor_log.upload_ids[] |
Array | No |
Uploads to attach to the response |
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.drawing_revision_ids[] |
Array | No |
Drawing Revisions to attach to the response |
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} |
Object | 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. |
visitor_log.location_id |
Integer | No |
ID of the Location where the visitor was |
visitor_log.form_ids[] |
Array | No |
Forms to attach to the response |
visitor_log.begin_minute |
Integer | No |
Time of visitation - hour |
visitor_log.datetime |
String | No |
Datetime of record. Mutually exclusive with the date property. |
How to start integrating
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.