Practitioners

Get the resolved rota for a single date

Returns the working schedule for a single date for the given practitioner. The response blends the recurring rota with any custom availability rules that cover the date so the caller can render a day-view UI without doing the reconciliation locally.

for_date.rules_for_date is the recommended field to render — it points at whichever rule-set (custom_rules or rota_availability_rules) is authoritative for the day.

Requires the ROTAS_VIEW permission on the practitioner's first site.

get/shop/practitioners/{practitionerId}/rota-for-date

Query parameters

datestring date required

The ISO 8601 date (YYYY-MM-DD) the caller wants rules for. The date is interpreted in the practitioner's timezone, NOT the caller's. There is no range support — pass one date per request.

Response

The resolved schedule for the date.

Example response

{
  "data": {
    "scheduling_week_interval": 2,
    "availability_rules": [
      {
        "week_num": 1,
        "weekday": "monday",
        "time_from": "09:00",
        "time_to": "17:00",
        "offerings": [
          {
            "offering_name": "Twilight massage",
            "offering_type": "appointment"
          }
        ]
      }
    ]
  },
  "for_date": {
    "date": "2026-06-01",
    "week_number": 1,
    "rota_availability_rules": [
      {
        "time_from": "09:00",
        "time_to": "17:00"
      }
    ],
    "custom_rules": [
      {
        "date_time_from": "2026-06-01T09:00:00+01:00",
        "date_time_to": "2026-06-01T17:00:00+01:00",
        "offerings": [
          {
            "offering_name": "Twilight massage",
            "offering_type": "appointment"
          }
        ]
      }
    ]
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.