GET https://api.legendonlineservices.co.uk/Locations/ALL

Returns all locations along with parent location information

Request Parameters

No parameters have been defined for this request.

Response - (Status 200 - OK)

[LocationHierarchy]

Name Type Description
Address1 String 1st Line Of Address
Address2 String 2nd Line Of Address
Address3 String 3rd Line Of Address
Address4 String 4th Line Of Address
City String Address City
Country String Address Country
Email String Email of the facility
FacebookUrl String Facebook link for the facility
FacilityId Int32 The Facility ID
FriendlyName String Facility Friendly Name
Guid Guid
InstagramUrl String Instagram link for the facility
latitude Double Latitude of the Facility
LocationId Int32 LocationId (Online)
longitude Double Longitude of the Facility
LongtName String Facility Long Name
Name String
ParentGUID Guid Empty for Enterprise
Phone String Phone number of the facility
Phone2 String Additional phone number of the facility
Postcode String Address Postcode
Region String Address Region
ShortName String Facility Short Name
TwitterUrl String Twitter link for the facility
Type
Values
3 - Club
4 - Group
7 - Enterprise
WebsiteUrl String Website for the facility
YouTubeUrl String YouTube link for the facility




[
  {
    "Guid": "43cec1a0-9ea5-41f9-928e-5636b4c555fc",
    "Name": "sample string 2",
    "Type": 3,
    "ParentGUID": "7f739c19-4123-4fb9-b609-834c27285c28",
    "FacilityId": 3,
    "LocationId": 1,
    "ShortName": "sample string 4",
    "LongtName": "sample string 5",
    "FriendlyName": "sample string 6",
    "Address1": "sample string 7",
    "Address2": "sample string 8",
    "Address3": "sample string 9",
    "Address4": "sample string 10",
    "Postcode": "sample string 11",
    "Region": "sample string 12",
    "City": "sample string 13",
    "Country": "sample string 14",
    "longitude": 1.1,
    "latitude": 1.1,
    "Phone": "sample string 15",
    "Phone2": "sample string 16",
    "Email": "sample string 17",
    "WebsiteUrl": "sample string 18",
    "FacebookUrl": "sample string 19",
    "InstagramUrl": "sample string 20",
    "TwitterUrl": "sample string 21",
    "YouTubeUrl": "sample string 22"
  },
  {
    "Guid": "43cec1a0-9ea5-41f9-928e-5636b4c555fc",
    "Name": "sample string 2",
    "Type": 3,
    "ParentGUID": "7f739c19-4123-4fb9-b609-834c27285c28",
    "FacilityId": 3,
    "LocationId": 1,
    "ShortName": "sample string 4",
    "LongtName": "sample string 5",
    "FriendlyName": "sample string 6",
    "Address1": "sample string 7",
    "Address2": "sample string 8",
    "Address3": "sample string 9",
    "Address4": "sample string 10",
    "Postcode": "sample string 11",
    "Region": "sample string 12",
    "City": "sample string 13",
    "Country": "sample string 14",
    "longitude": 1.1,
    "latitude": 1.1,
    "Phone": "sample string 15",
    "Phone2": "sample string 16",
    "Email": "sample string 17",
    "WebsiteUrl": "sample string 18",
    "FacebookUrl": "sample string 19",
    "InstagramUrl": "sample string 20",
    "TwitterUrl": "sample string 21",
    "YouTubeUrl": "sample string 22"
  },
  {
    "Guid": "43cec1a0-9ea5-41f9-928e-5636b4c555fc",
    "Name": "sample string 2",
    "Type": 3,
    "ParentGUID": "7f739c19-4123-4fb9-b609-834c27285c28",
    "FacilityId": 3,
    "LocationId": 1,
    "ShortName": "sample string 4",
    "LongtName": "sample string 5",
    "FriendlyName": "sample string 6",
    "Address1": "sample string 7",
    "Address2": "sample string 8",
    "Address3": "sample string 9",
    "Address4": "sample string 10",
    "Postcode": "sample string 11",
    "Region": "sample string 12",
    "City": "sample string 13",
    "Country": "sample string 14",
    "longitude": 1.1,
    "latitude": 1.1,
    "Phone": "sample string 15",
    "Phone2": "sample string 16",
    "Email": "sample string 17",
    "WebsiteUrl": "sample string 18",
    "FacebookUrl": "sample string 19",
    "InstagramUrl": "sample string 20",
    "TwitterUrl": "sample string 21",
    "YouTubeUrl": "sample string 22"
  }
]

Bundle(s)
SportsCourses
AccessControl