---
title: "Queue practitioner occupancy by date report export"
method: GET
path: "/shop/reports/practitioner-occupancy-by-date/queue"
tags: ["Reports"]
---

# Queue practitioner occupancy by date report export

`GET /shop/reports/practitioner-occupancy-by-date/queue`

Queues a practitioner occupancy by date report for asynchronous CSV export. Returns a queued job resource that can be polled for completion. Requires the `REPORTS_DOWNLOAD` permission.

## Query parameters

- `date_time_from` string, date-time
- `date_time_to` string, date-time
- `date_from` string, date
- `date_to` string, date
- `practitioner_ids` string
- `site_id` string, uuid
- `zone_id` string, nullable

## Response `200`

The report has been queued for export.

- object
  - `data` QueuedJob, required
    - `id` string, uuid, required — The ID of the queued job.
    - `status` 'pending' | 'complete' | 'failed', required — The status of the queued job.
    - `output` object, required — The output of the queued job.
    - `created_at` string, date-time, required — The date and time the queued job was created.
    - `updated_at` string, date-time, required — The date and time the queued job was last updated.

## Other responses

- `400` — The request failed.
- `403` — The authenticated user does not have permission.

---

[API](https://skmtc.dev/try/apis/trybe-api.md) · [All operations](https://skmtc.dev/try/apis/trybe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/try/trybe-api/revisions/f37f92702da5/schema)
