visits_create
Book a visit to a job at a time, optionally with the workers going (assignee_ids, a saved crew_id, or both). Overlaps for those workers come back in conflicts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| title | No | ||
| job_id | Yes | ||
| crew_id | No | ||
| ends_at | Yes | ||
| priority | No | normal (default), urgent or emergency. Urgent and emergency visits send visit.priority_set and can use dispatch.suggest. | |
| starts_at | Yes | ||
| assignee_ids | No | ||
| arrival_window_minutes | No | Arrival window in minutes: the customer is told the worker arrives between starts_at and starts_at plus this. Defaults to the shop's setting (schedule.setRules). |