GET https://api.legendonlineservices.co.uk/SportsHall/Timetable

Returns Timetable for the sports hall

Request Parameters

From Query Type Description
ActivityIds [Int32] List of activity Ids to search for
FacilityGUID Guid See Locations Only 'Facility Guid' is allowed.
EndDate DateTime End Date for the time table - include Time component to search till end of the day.
StartDate DateTime Start Date for the time table - exclude time to search from start of the day.

Response - (Status 200 - OK)

TimeTableModel

Name Type Description
[TimeTableActivityModel]
Name Type Description
ActivityId Int32
[TimeTableActivitySlotModel]
Name Type Description
Duration Int32
InventoryId Int32 Use HeadlinePrice to get the price of the activity
SlotId Int32
SpacesLeft Int32
StartTime DateTime




{
  "Activities": [
    {
      "ActivityId": 1,
      "Slots": [
        {
          "SlotId": 1,
          "StartTime": "2025-04-25T14:22:21.0055329+01:00",
          "Duration": 2,
          "SpacesLeft": 3,
          "InventoryId": 4
        },
        {
          "SlotId": 1,
          "StartTime": "2025-04-25T14:22:21.0055329+01:00",
          "Duration": 2,
          "SpacesLeft": 3,
          "InventoryId": 4
        },
        {
          "SlotId": 1,
          "StartTime": "2025-04-25T14:22:21.0055329+01:00",
          "Duration": 2,
          "SpacesLeft": 3,
          "InventoryId": 4
        }
      ]
    },
    {
      "ActivityId": 1,
      "Slots": [
        {
          "SlotId": 1,
          "StartTime": "2025-04-25T14:22:21.0055329+01:00",
          "Duration": 2,
          "SpacesLeft": 3,
          "InventoryId": 4
        },
        {
          "SlotId": 1,
          "StartTime": "2025-04-25T14:22:21.0055329+01:00",
          "Duration": 2,
          "SpacesLeft": 3,
          "InventoryId": 4
        },
        {
          "SlotId": 1,
          "StartTime": "2025-04-25T14:22:21.0055329+01:00",
          "Duration": 2,
          "SpacesLeft": 3,
          "InventoryId": 4
        }
      ]
    },
    {
      "ActivityId": 1,
      "Slots": [
        {
          "SlotId": 1,
          "StartTime": "2025-04-25T14:22:21.0055329+01:00",
          "Duration": 2,
          "SpacesLeft": 3,
          "InventoryId": 4
        },
        {
          "SlotId": 1,
          "StartTime": "2025-04-25T14:22:21.0055329+01:00",
          "Duration": 2,
          "SpacesLeft": 3,
          "InventoryId": 4
        },
        {
          "SlotId": 1,
          "StartTime": "2025-04-25T14:22:21.0055329+01:00",
          "Duration": 2,
          "SpacesLeft": 3,
          "InventoryId": 4
        }
      ]
    }
  ]
}

Bundle(s)
Timetable