Admission Availability

Use this endpoint to get all slots per day and their availability. This endpoint only supports calendar-based admissions. The admission id comes from Published Admissions, and only when that page returns has_calendar: true.

GET https://api.e-guma.ch/v1/ticketing/admissions/{id}/availability.json?apikey={api-key}&from={from}&to={to}

to is optional. Without it the call is:

GET https://api.e-guma.ch/v1/ticketing/admissions/{id}/availability.json?apikey={api-key}&from={from}

Parameters

api-key
required
id requiredID of the admission.
from requiredStart date (YYYY-MM-DD) for which the slots and availabilities are requested.
to

End date (YYYY-MM-DD), inclusive. Optional. Without it, every slot from the start date onward is returned. A sent end date keeps that inclusive window. The start date must not be after the end date. The same day is valid.

Stored calendar slots are not capped when the end date is omitted. SkiData calendars do not store slots. For those, a missing end date stops at the calendar's last day, or at today plus two years when the calendar has no last day. A provided end date is clamped to that same last day.

Return

nameName of the admission in all available languages.
is_all_dayIf true, the admission has all-day slots. Otherwise false for time-based slots.
is_unlimited_availabilityIf true, a unlimited number of tickets is available. If false, a quota applies.
slotsSlots in the requested period. Without an end date, the list runs from the start date onward. SkiData calendars still stop at the last day described above. The list is empty if no slots are available or the admission is unpublished.

Slots object

availability_countNumber of available tickets. Is only provided when is_unlimted_availability is false.
starts_atStart date and time (YYYY-MM-DDThh:mm:ss) of the slot. All-day slots start at 00:00:00.

Example

https://api.e-guma.ch/v1/ticketing/admissions/67ef9f405420fbfa8e550d99/availability.json?apikey=6731db84973b860a08f4023c&from=2025-04-01&to=2025-04-30

The same call without an end date:

https://api.e-guma.ch/v1/ticketing/admissions/67ef9f405420fbfa8e550d99/availability.json?apikey=6731db84973b860a08f4023c&from=2025-04-01
  {
    "name": {
        "de": "Eintritt mit Zeitslots",
        "en": "Admission with time slots"
    },
    "is_all_day": false,
    "is_unlimited_availability": false,
    "slots": [
        {
            "availability_count": 50,
            "starts_at": "2025-04-04T10:00:00"
        },
        {
            "availability_count": 50,
            "starts_at": "2025-04-04T12:00:00"
        },
        {
            "availability_count": 50,
            "starts_at": "2025-04-04T14:00:00"
        },
        {
            "availability_count": 50,
            "starts_at": "2025-04-04T16:00:00"
        },
        {
            "availability_count": 50,
            "starts_at": "2025-04-05T10:00:00"
        },
        {
            "availability_count": 50,
            "starts_at": "2025-04-05T12:00:00"
        },
        {
            "availability_count": 50,
            "starts_at": "2025-04-05T14:00:00"
        },
        {
            "availability_count": 50,
            "starts_at": "2025-04-05T16:00:00"
        }
    ]
}