Yoobic Visits API
Through this endpoint the details and/or the approval of the visit could be set. By default, the visits will be shown as pending until they are approved (`compliant`). Below is an example of a typical way of scheduling a visit: ### Fields | Field | Type | Required | Readonly | OrderBy | Description | |--------------------------------|--------------|:--------:|:--------:|:-------:|-----------------| |`visit_id` | string | | x | | Unique id of the visit | |`user_id` | string | x | | x | Unique id of the user who will visit the store | |`store_id` | string | x | | x | Unique id of the associated store | |`group_ids` | timestamp | x | | | Group ids that can see this visit | |`user_ids` | array | | | | User ids that can see this visit| |`start_time` | string | | | | The scheduled time of the visit. Format is HH:mm | |`end_time` | string | | | | The end time of the visit. Format is HH:mm | |`visit_date` | date | x | | | The scheduled date of the visit. Format is YYYY-MM-DD | |`compliant` | boolean | | | | The compliance of the visit as marked by an area manager: `true` if marked compliant, `false` if marked noncompliant | |`type` | string | | | | Type of the visit chosen among a predefined list | |`description` | string | | | | Description of the visit | |`creator_id` | string | | x | x | Unique id of the visit creator | |`custom_fields` | object | | | | Dynamic properties (optional)| |`updated_date` | timestamp | | x | x | Visit's last update date | |`created_date` | timestamp | | x | | Visit's creation date | **Important:** `custom_fields` contains new attributes that can be used to describe more precisely a user. Custom fields provide a new way to customize your user data by allowing you to filter and select the relevant data in the application. You can create your own custom fields in the YOOBIC Web Application in order to enrich your user data. For the full list of supported field types see [campaigns](#group-campaigns-question-types)