GET https://api.legendonlineservices.co.uk/facilities?locationId={locationId}

Lists all facilities (clubs) for a given location.

Request Parameters

From Query Type Description
locationId Int32 Optional. Id of the parent online location which is generallly a region or enterprise.

Response - (Status 200 - OK)

[FacilityModel]

Name Type Description
Id Int32 Id of the Facility. This is always different from Location Id
LocationId Int32 Location Id of the Facility
Name String Name of the Facility




[
  {
    "Id": 100,
    "Name": "Gym",
    "LocationId": 0
  },
  {
    "Id": 101,
    "Name": "Swimming Pool",
    "LocationId": 0
  }
]

Remarks

This has been deprecated - use /Locations/ALL

Bundle(s)
Timetable
Joining