Beschreibung
weekStart muss ein Montag im Format YYYY-MM-DD sein. Die Antwort enthält keine Personen, Buchungs-IDs, Preise oder sonstigen Buchungsdetails.
Anfrage
curl "https://partner-api.example/v1/facilities/245/occupancy?weekStart=2026-11-02" \
-H "Authorization: Bearer $BAP_PARTNER_TOKEN" \
-H "Accept: application/json"
Antwort 200
{
"facility": {
"id": 245,
"name": "Tennishalle",
"timezone": "Europe/Berlin"
},
"week": {
"start": "2026-11-02",
"end": "2026-11-08"
},
"courts": [
{
"id": 827,
"name": "Platz 1",
"slots": [
{
"start": "2026-11-02T18:00:00+01:00",
"end": "2026-11-02T19:00:00+01:00",
"status": "occupied"
}
]
}
]
}