Reports
Queue an export of the bookable area occupancy report
Queues a CSV export of the bookable area occupancy report to be generated asynchronously.
get/shop/reports/bookable-area-occupancy/queue
Query parameters
site_idstring uuid
Restrict the report to the given site.
date_fromstring date required
Example:2026-06-01
Restrict to occupancy on or after this date. Required. The range between date_from and date_to cannot exceed 60 days.
date_tostring date required
Example:2026-06-30
Restrict to occupancy on or before this date. Required.
bookable_area_idsstring[]
A comma-separated list of bookable area IDs to restrict to.
zone_idstring[]
A comma-separated list of zone IDs to restrict bookable areas to.
emailboolean
If true, email the completed CSV to the authenticated user when the background job finishes. Defaults to false, in which case the queued job's output URL must be polled via the queued-jobs endpoint.
Response
The job was successfully queued
Example response
{
"data": {
"created_at": "2023-11-07T00:00:00+00:00",
"updated_at": "2023-11-07T01:00:00+00:00"
}
}