Book an engineer onto a job
schedule_jobSet a job's time window and assign an engineer to it. This changes a live schedule someone will work to, so agree the engineer and the time with the user BEFORE calling. The booking goes ahead even when it clashes, because sometimes that is intended: read warnings in the result and tell the user about every one of them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand | No | The brand the user said the job is in, by id or name. Optional: the job's own brand is used, and naming a different one is refused. | |
| job_id | Yes | From get_job. Never guess this. | |
| resource_id | Yes | From find_resource. Never guess this. | |
| scheduled_end | Yes | ||
| scheduled_start | Yes |