GET Rest Areas and Turnouts API Documentation
Returns all rest areas and turnouts.
Request Information
https://511.alberta.ca/api/v2/get/restareaturnout
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 |
|---|---|---|
| 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 |
| Type |
The type of rest area |
string |
| Highway |
The highway name |
string |
| Location |
Location description |
string |
| Chain |
Availability of the chain facility |
boolean |
| BrakeCheck |
Availability of the break check facility |
boolean |
| ScenicViewpoint |
Availability of the scenic viewpoint |
boolean |
| PointOfInterest |
Point of interest |
boolean |
| Washroom |
Availability of the washroom facility |
boolean |
Response Formats
[
{
"Id": 11741,
"Latitude": 54.108163,
"Longitude": -115.634928,
"Type": "turnout",
"Highway": "HIGHWAY 43 NORTHBOUND",
"Location": "400m East of Whitecourt ",
"Chain": false,
"BrakeCheck": false,
"ScenicViewpoint": false,
"PointOfInterest": false,
"Washroom": false
},
{
"Id": 11742,
"Latitude": 51.618358,
"Longitude": -111.810865,
"Type": "restarea",
"Highway": "HIGHWAY 9 EN",
"Location": "The junction of Highway 9 and 36",
"Chain": true,
"BrakeCheck": true,
"ScenicViewpoint": true,
"PointOfInterest": false,
"Washroom": false
}
]
<RestAreaTurnoutList>
<RestAreaTurnout>
<Id>11741</Id>
<Latitude>54.108163</Latitude>
<Longitude>-115.634928</Longitude>
<Type>turnout</Type>
<Highway>HIGHWAY 43 NORTHBOUND</Highway>
<Location>400m East of Whitecourt </Location>
<Chain>false</Chain>
<BrakeCheck>false</BrakeCheck>
<ScenicViewpoint>false</ScenicViewpoint>
<PointOfInterest>false</PointOfInterest>
<Washroom>false</Washroom>
</RestAreaTurnout>
<RestAreaTurnout>
<Id>11742</Id>
<Latitude>51.618358</Latitude>
<Longitude>-111.810865</Longitude>
<Type>restarea</Type>
<Highway>HIGHWAY 9 EN</Highway>
<Location>The junction of Highway 9 and 36</Location>
<Chain>true</Chain>
<BrakeCheck>true</BrakeCheck>
<ScenicViewpoint>true</ScenicViewpoint>
<PointOfInterest>false</PointOfInterest>
<Washroom>false</Washroom>
</RestAreaTurnout>
</RestAreaTurnoutList>