Calendar Jobs
Get scheduled jobs
GET /api/calendar-jobs
Returns jobs that have a booked_to_complete (works start) date, grouped by date. The response is used to populate the calendar view and supports filtering by date range and branch.
Required permission: api.calendar.jobs.read
Start of the date range in
YYYY-MM-DD format.End of the date range in
YYYY-MM-DD format.Filter to a specific branch. Staff only — agents are automatically scoped to their own branch.
An object keyed by date string (
YYYY-MM-DD). Each value is an array of job objects scheduled on that date.Jobs with no contractor assigned (
contractor_name: null) are highlighted in the calendar UI as requiring action. Use GET /api/dashboard/no-contractor to fetch this list for the dashboard widget.