Get the opening hours overview
Toegang
Lid van de organisatie met minstens één van deze rechten:
organization:settings:readorganization:settings:write
Een API-sleutel met scopes heeft het recht ook in zijn scopes nodig.
Everything a website needs to show opening hours: the regular week and every seasonal period as weekly schedules (schedules, the one that applies today marked current), and the dates from today through the next six days that deviate from their weekly schedule (upcoming): an exception that changes the hours, or a public holiday the park is open on. An exception that matches the normal hours, such as closed on an already closed Sunday, is not listed. Optional languageIsoCode localizes holiday names. Requires organization:settings:read or organization:settings:write.
ApiKeyAuthx-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
languageIsoCode?string2 <= length <= 3Weekly schedules and the coming week's deviations
application/json- response
timeZone*stringtoday*string^\d{4}-\d{2}-\d{2}$schedules*array<>upcoming*array<>Dates from today through the next six days that deviate from their weekly schedule (an exception that changes the hours, or a public holiday the park is open on), in date order.
curl -X GET 'https://api.tillor.eu/orgs//organization-settings/opening-hours/overview'{ "timeZone": "string", "today": "string", "schedules": [ { "id": "string", "kind": "regular", "label": "string", "range": { "fromMonth": 1, "fromDay": 1, "untilMonth": 1, "untilDay": 1 }, "weekdays": { "monday": [ { "startMinutes": 0, "endMinutes": 0 } ], "tuesday": [ { "startMinutes": 0, "endMinutes": 0 } ], "wednesday": [ { "startMinutes": 0, "endMinutes": 0 } ], "thursday": [ { "startMinutes": 0, "endMinutes": 0 } ], "friday": [ { "startMinutes": 0, "endMinutes": 0 } ], "saturday": [ { "startMinutes": 0, "endMinutes": 0 } ], "sunday": [ { "startMinutes": 0, "endMinutes": 0 } ] }, "current": true } ], "upcoming": [ { "date": "string", "weekday": "monday", "source": "exception", "periodLabel": "string", "holiday": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "startDate": "string", "endDate": "string" }, "blocks": [ { "startMinutes": 0, "endMinutes": 0 } ], "closed": true, "notice": true } ]}List opening hours for a date or range GET
Resolves published opening hours for one civil date (`date`) or an inclusive range (`from` and `to`, max 366 days). Omit the dates to use today in the organization timezone. Exceptions override seasonal periods, which override the regular weekly hours. Public holidays overlapping the range are included (`holidays` and `items[].holiday`). Optional `languageIsoCode` localizes holiday names. Requires organization:settings:read or organization:settings:write.
Update super-admin organization settings PATCH
Partially updates super-admin-only organization settings (identity document scan retention, feature flags). Requires Tillor super-admin access.