GET Service Centres

Returns all service centers.

Request Information

https://511on.ca/api/v2/get/servicecentres

URI Parameters

NameDescriptionTypeAdditional information
format

Valid values are 'xml' or 'json', default 'json'.

string

Optional

lang

Valid values are 'en' or 'fr', default 'en'.

string

Optional

Response Information

Resource Description


NameDescriptionType
Id

A unique identifier.

integer
Latitude

The latitude describing the location. Format: double between -90 and 90.

double
Longitude

The longitude describing the location. Format: double between -180 and 180.

double
Name

The name of the service centre.

string
Title

The title of the service centre.

string
Roadway

The name of the roadway closest to the service centre.

string
CommercialParking

The number of commercial parking spaces.

string
AccessVia

Description of where service centre is located.

string
FoodServices

A list of companies to buy food and other sevices.

string
Amenities

The available amenities of the service centre.

string
FuelProvider

The name of the gas station at this service centre or the times at which fuel will not be available.

string
Website

The website where more information on the service centre can be found.

string
Region

The name of the region of the service centre.

string

Response Formats

JSON

Sample:
[
    {
        "Id": 1447320984,
        "Latitude": 43.895004,
        "Longitude": -79.557029,
        "Name": "King City",
        "Title": "service centre",
        "Roadway": "Highway 400",
        "CommercialParking": "27",
        "AccessVia": "Hwy 400 Northbound Between King Road and Major Mackenzie",
        "FoodServices": "Tim Hortons, Starbucks, Swiss Chalet, Burger King, M Market, Canadian Tire Convenience Store",
        "Amenities": "Pet area, seasonal picnics, parking, CIBC ATM, free WiFi",
        "FuelProvider": "Canadian Tire Gas +",
        "Website": "http://onroute.ca/location/king-city/",
        "Region": "Central"
    },
    {
        "Id": 1840435543,
        "Latitude": 44.24045,
        "Longitude": -79.671416,
        "Name": "Innisfil",
        "Title": "service centre",
        "Roadway": "Highway 400",
        "CommercialParking": "32",
        "AccessVia": "Hwy 400 South",
        "FoodServices": "Tim Hortons, Burger King, Starbucks, New York Fries, M Market, Canadian Tire Convenience Store",
        "Amenities": "Pet area, seasonal picnics, parking, CIBC ATM, free WiFi",
        "FuelProvider": "Canadian Tire Gas +",
        "Website": "http://onroute.ca/location/innisfil/",
        "Region": "Central"
    }
]

XML

Sample:
<ServiceCentresList>
	<ServiceCentres>
		<Id>1447320984</Id>
		<Latitude>43.895004</Latitude>
		<Longitude>-79.557029</Longitude>
		<Name>King City</Name>
		<Title>service centre</Title>
		<Roadway>Highway 400</Roadway>
		<CommercialParking>27</CommercialParking>
		<AccessVia>Hwy 400 Northbound Between King Road and Major Mackenzie</AccessVia>
		<Brand>Tim Hortons, Starbucks, Swiss Chalet, Burger King, M Market, Canadian Tire Convenience Store</Brand>
		<Amenities>Pet area, seasonal picnics, parking, CIBC ATM, free WiFi</Amenities>
		<Fuel>Canadian Tire Gas +</Fuel>
		<Website>http://onroute.ca/location/king-city/</Website>
		<Region>Central</Region>
	</ServiceCentres>
	<ServiceCentres>
		<Id>1840435543</Id>
		<Latitude>44.24045</Latitude>
		<Longitude>-79.671416</Longitude>
		<Name>Innisfil</Name>
		<Title>service centre</Title>
		<Roadway>Highway 400</Roadway>
		<CommercialParking>32</CommercialParking>
		<AccessVia>Hwy 400 South</AccessVia>
		<Brand>Tim Hortons, Burger King, Starbucks, New York Fries, M Market, Canadian Tire Convenience Store</Brand>
		<Amenities>Pet area, seasonal picnics, parking, CIBC ATM, free WiFi</Amenities>
		<Fuel>Canadian Tire Gas +</Fuel>
		<Website>http://onroute.ca/location/innisfil/</Website>
		<Region>Central</Region>
	</ServiceCentres>
</ServiceCentresList>