GET Truck Rest Areas
Returns all truck rest areas.
Request Information
https://511on.ca/api/v2/get/truckrestareas
URI Parameters
Name | Description | Type | Additional 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
Name | Description | Type |
---|---|---|
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 |
Open |
The status of the truck rest area. |
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
[ { "Name": "King City ONroute", "Roadway": "Highway 400", "Direction": "Northbound", "Location": "Between King Road and Major Mackenzie", "Type": "Service Centre", "Open": "Open", "TruckParking": "Y - 27 spaces", "Lavatory": "Y", "Accessible": "Y", "FoodServices": "Tim Hortons (V), Starbucks (V), Swiss Chalet, Burger King (V), M Market (V), Canadian Tire Convenience Store", "Fuel": "Y", "Region": "Central", "Comments": "Locations with a (V) designation are facilities where websites indicate vegetarian options are available.", "Latitude": 43.895004, "Longitude": -79.557029 }, { "Name": "Orchard", "Roadway": "Highway 6", "Direction": "Northbound", "Location": "13.5km south of Durham (Owen Sound)", "Type": "Picnic Park", "Open": "Open", "TruckParking": "Y", "Lavatory": "Y", "Accessible": "N", "FoodServices": "Not Available", "Fuel": "N", "Region": "Southwestern", "Comments": "", "Latitude": 44.06555, "Longitude": -80.79388 } ]
XML
<TruckRestAreasList> <TruckRestAreas> <Name>King City ONroute</Name> <Roadway>Highway 400</Roadway> <Direction>Northbound</Direction> <Location>Between King Road and Major Mackenzie</Location> <Type>Service Centre</Type> <Open>Open</Open> <TruckParking>Y - 27 spaces</TruckParking> <Lavatory>Y</Lavatory> <Accessible>Y</Accessible> <FoodServices>Tim Hortons (V), Starbucks (V), Swiss Chalet, Burger King (V), M Market (V), Canadian Tire Convenience Store</FoodServices> <Fuel>Y</Fuel> <Region>Central</Region> <Comments>Locations with a (V) designation are facilities where websites indicate vegetarian options are available.</Comments> <Latitude>43.895004</Latitude> <Longitude>-79.557029</Longitude> </TruckRestAreas> <TruckRestAreas> <Name>Orchard</Name> <Roadway>Highway 6</Roadway> <Direction>Northbound</Direction> <Location>13.5km south of Durham (Owen Sound)</Location> <Type>Picnic Park</Type> <Open>Open</Open> <TruckParking>Y</TruckParking> <Lavatory>Y</Lavatory> <Accessible>N</Accessible> <FoodServices>Not Available</FoodServices> <Fuel>N</Fuel> <Region>Southwestern</Region> <Comments/> <Latitude>44.06555</Latitude> <Longitude>-80.79388</Longitude> </TruckRestAreas> </TruckRestAreasList>