GET Truck Rest Areas

Returns all truck rest areas.

Request Information

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

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
Name

Name of the truck rest area.

string
Roadway

Roadway name

string
Direction

Direction of truck rest area.

string
Location

Location of truck rest area.

string
Type

Type of truck rest area.

string
Status

The status of the truck rest area.

string
Open

Indicates when rest area is available for use.

string
TruckParking

Availability of the truck parking area.

string
Lavatory

Availability of the lavatory.

string
Accessible

Accessible

string
FoodServices

Availability of the food services.

string
Fuel

Availability of fuel.

string
Region

Region of truck rest area.

string
Comments

Comments.

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": "Ontario/Manitoba Border",
		"Roadway": "Highway 17",
		"Direction": "Eastbound",
		"Location": "5.3 km west of Jct. Hwy 673",
		"Type": "Rest Area",
		"Status": "Open",
		"Open": "May 15 to November 15",
		"TruckParking": "Y",
		"Lavatory": "Y",
		"Accessible": "Y",
		"FoodServices": "Not Available",
		"Fuel": "N",
		"Region": "Northwestern",
		"Comments": "Heated Washroom",
		"Latitude": 49.739607,
		"Longitude": -95.136839
	},
	{
		"Name": "Load Check East of Terrace Bay",
		"Roadway": "Highway 17",
		"Direction": "Eastbound",
		"Location": "35 km east of Terrace Bay",
		"Type": "Rest Area",
		"Status": "Open",
		"Open": "May 15 to October 25",
		"TruckParking": "Y",
		"Lavatory": "Y",
		"Accessible": "N",
		"FoodServices": "Not Available",
		"Fuel": "N",
		"Region": "Northwestern",
		"Comments": "",
		"Latitude": 48.801389,
		"Longitude": -86.783889
	}
]

XML

Sample:
<TruckRestAreasList>
    <TruckRestAreas>
        <Name>Ontario/Manitoba Border</Name>
        <Roadway>Highway 17</Roadway>
        <Direction>Eastbound</Direction>
        <Location>5.3 km west of Jct. Hwy 673</Location>
        <Type>Rest Area</Type>
        <Status>Open</Status>
        <Open>May 15 to November 15</Open>
        <TruckParking>Y</TruckParking>
        <Lavatory>Y</Lavatory>
        <Accessible>Y</Accessible>
        <FoodServices>Not Available</FoodServices>
        <Fuel>N</Fuel>
        <Region>Northwestern</Region>
        <Comments>Heated Washroom</Comments>
        <Latitude>49.739607</Latitude>
        <Longitude>-95.136839</Longitude>
    </TruckRestAreas>
    <TruckRestAreas>
        <Name>Load Check East of Terrace Bay</Name>
        <Roadway>Highway 17</Roadway>
        <Direction>Eastbound</Direction>
        <Location>35 km east of Terrace Bay</Location>
        <Type>Rest Area</Type>
        <Status>Open</Status>
        <Open>May 15 to October 25</Open>
        <TruckParking>Y</TruckParking>
        <Lavatory>Y</Lavatory>
        <Accessible>N</Accessible>
        <FoodServices>Not Available</FoodServices>
        <Fuel>N</Fuel>
        <Region>Northwestern</Region>
        <Comments/>
        <Latitude>48.801389</Latitude>
        <Longitude>-86.783889</Longitude>
    </TruckRestAreas>
</TruckRestAreasList>