GET Service Centres

Returns all service centers.

Request Information

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

URI Parameters

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


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 services.

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": -1597185408,
		"Latitude": 44.945601,
		"Longitude": -75.124654,
		"Name": "Morrisburg",
		"Title": "service centre",
		"Roadway": "Highway 401",
		"CommercialParking": "130",
		"AccessVia": "Hwy 401 Eastbound Between Exit # 750 and # 758",
		"FoodServices": "Tim Hortons, 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/morrisburg/",
		"Region": "Eastern"
	},
	{
		"Id": 2014420758,
		"Latitude": 44.97383,
		"Longitude": -75.081821,
		"Name": "Ingleside",
		"Title": "service centre",
		"Roadway": "Highway 401",
		"CommercialParking": "18",
		"AccessVia": "HwY 401 Westbound Between Upper Canada & Dickinson Road",
		"FoodServices": "Tim Hortons, 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/ingleside/",
		"Region": "Eastern"
	}
]

XML

Sample:
<ServiceCentresList>
	<ServiceCentres>
		<Id>-1597185408</Id>
		<Latitude>44.945601</Latitude>
		<Longitude>-75.124654</Longitude>
		<Name>Morrisburg</Name>
		<Title>service centre</Title>
		<Roadway>Highway 401</Roadway>
		<CommercialParking>130</CommercialParking>
		<AccessVia>Hwy 401 Eastbound Between Exit # 750 and # 758</AccessVia>
		<FoodServices>
			Tim Hortons, Burger King, M Market, Canadian Tire Convenience Store
		</FoodServices>
		<Amenities>
			Pet area, seasonal picnics, parking, CIBC ATM, free WiFi
		</Amenities>
		<FuelProvider>Canadian Tire Gas +</FuelProvider>
		<Website>http://onroute.ca/location/morrisburg/</Website>
		<Region>Eastern</Region>
	</ServiceCentres>
	<ServiceCentres>
		<Id>2014420758</Id>
		<Latitude>44.97383</Latitude>
		<Longitude>-75.081821</Longitude>
		<Name>Ingleside</Name>
		<Title>service centre</Title>
		<Roadway>Highway 401</Roadway>
		<CommercialParking>18</CommercialParking>
		<AccessVia>
			HwY 401 Westbound Between Upper Canada & Dickinson Road
		</AccessVia>
		<FoodServices>
			Tim Hortons, Burger King, M Market, Canadian Tire Convenience Store
		</FoodServices>
		<Amenities>
			Pet area, seasonal picnics, parking, CIBC ATM, free WiFi
		</Amenities>
		<FuelProvider>Canadian Tire Gas + </FuelProvider>
		<Website>http://onroute.ca/location/ingleside/</Website>
		<Region>Eastern</Region>
	</ServiceCentres>
</ServiceCentresList>