GET Rest Stops and Turnouts API Documentation
Returns all rest stops and turnouts.
Request Information
https://511.alberta.ca/api/v2/get/reststopsandturnouts
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 |
| SourceId |
Source Id of the rest stop and turnout. |
string |
| Roadway |
Roadway of the rest stop and turnout. |
string |
| StatusType |
Status type of the rest stop and turnout. |
string |
| AppurtenanceType |
Appurtenance type of the rest stop and turnout. |
string |
| SurfaceArea |
Surface area of the rest stop and turnout. |
string |
| SurfaceType |
Surface type of the rest stop and turnout. |
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
[
{
"Id": 403,
"SourceId": "1",
"Roadway": "45",
"StatusType": "IN SERVICE",
"AppurtenanceType": "SAFETY REST AREA",
"SurfaceArea": "300",
"SurfaceType": "PAVEMENT",
"Latitude": 53.41209959,
"Longitude": -113.4992168
},
{
"Id": 404,
"SourceId": "2",
"Roadway": "16A",
"StatusType": "IN SERVICE",
"AppurtenanceType": "SAFETY REST AREA",
"SurfaceArea": "500",
"SurfaceType": "PAVEMENT",
"Latitude": 56.98921039,
"Longitude": -111.5628986
}
]
<RestStopsAndTurnoutsList>
<RestStopsAndTurnouts>
<Id>403</Id>
<SourceId>1</SourceId>
<Roadway>45</Roadway>
<StatusType>IN SERVICE</StatusType>
<AppurtenanceType>SAFETY REST AREA</AppurtenanceType>
<SurfaceArea>300</SurfaceArea>
<SurfaceType>PAVEMENT</SurfaceType>
<Latitude>53.7800872</Latitude>
<Longitude>-112.0222989</Longitude>
</RestStopsAndTurnouts>
<RestStopsAndTurnouts>
<Id>404</Id>
<SourceId>2</SourceId>
<Roadway>16A</Roadway>
<StatusType>IN SERVICE</StatusType>
<AppurtenanceType>SAFETY REST AREA</AppurtenanceType>
<SurfaceArea>500</SurfaceArea>
<SurfaceType>PAVEMENT</SurfaceType>
<Latitude>53.48533416</Latitude>
<Longitude>-112.0233666</Longitude>
</RestStopsAndTurnouts>
</RestStopsAndTurnoutsList>