Get practitioner occupancy report by date
Returns a practitioner occupancy report for the given date/time range, showing bookable, blocked, appointment and session minutes per practitioner per day. The date range must not exceed 60 days. Requires the REPORTS_VIEW permission. When requesting a CSV export via the Accept: text/csv header, requires the REPORTS_DOWNLOAD permission instead.
Query parameters
The start of the reporting period as an ISO 8601 date-time string (e.g. 2024-01-01T00:00:00+00:00). Required if date_from is not provided. The range between date_time_from and date_time_to must not exceed 60 days.
The end of the reporting period as an ISO 8601 date-time string (e.g. 2024-01-31T23:59:59+00:00). Must be after date_time_from. Required if date_to is not provided. The range between date_time_from and date_time_to must not exceed 60 days.
Restrict results to those on or after this date, ISO-8601 YYYY-MM-DD.
Restrict results to those on or before this date, ISO-8601 YYYY-MM-DD.
A comma-separated string of practitioner IDs to filter the report to specific practitioners.
The site ID to scope the report to.
A comma-separated string of zone IDs to filter by.
Response
Practitioner occupancy by date report data.
Example response
{
"data": [
{
"date": "2024-01-15",
"practitioner": {
"id": "5dcb47800000000000000000",
"name": "Jane Doe"
},
"bookable_mins": 480,
"blocked_mins": 60,
"appointment_mins": 360,
"session_mins": 60
}
],
"totals": {
"bookable_mins": 9600,
"blocked_mins": 480,
"appointment_mins": 7200,
"session_mins": 1200
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.