GET Inspection Stations

Returns all inspection stations.

Request Information

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

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
Name

Name of the inspection station.

string
Highway

Highway name.

string
Direction

Direction of inspection station.

string
Location

Location of inspection station.

string
ContactInformation

Contact information.

string
Region

Region of the inspection station.

string
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

Response Formats

JSON

Sample:
[
	{
		"Name": "407 ETR N",
		"Highway": "Highway 407",
		"Direction": "Westbound",
		"Location": "0.5 km east of Tremain Rd",
		"ContactInformation": "Tel: 905-465-1721 Fax: 905-564-0736",
		"Region": "Central",
		"Latitude": 43.42532,
		"Longitude": -79.808123
	},
	{
		"Name": "Bowmanville",
		"Highway": "Highway 401",
		"Direction": "Westbound",
		"Location": "2.7 km west of Hwy 115 Overpass",
		"ContactInformation": "Tel: 905-623-3932 Fax: 905-623-8593",
		"Region": "Central",
		"Latitude": 43.900726,
		"Longitude": -78.657936
	}
]

XML

Sample:
<InspectionStationsList>
    <InspectionStations>
        <Name>407 ETR N</Name>
        <Highway>Highway 407</Highway>
        <Direction>Westbound</Direction>
        <Location>0.5 km east of Tremain Rd</Location>
        <ContactInformation>Tel: 905-465-1721 Fax: 905-564-0736</ContactInformation>
        <Region>Central</Region>
        <Latitude>43.42532</Latitude>
        <Longitude>-79.808123</Longitude>
    </InspectionStations>
    <InspectionStations>
        <Name>Bowmanville</Name>
        <Highway>Highway 401</Highway>
        <Direction>Westbound</Direction>
        <Location>2.7 km west of Hwy 115 Overpass</Location>
        <ContactInformation>Tel: 905-623-3932 Fax: 905-623-8593</ContactInformation>
        <Region>Central</Region>
        <Latitude>43.900726</Latitude>
        <Longitude>-78.657936</Longitude>
    </InspectionStations>
</InspectionStationsList>