GET Rest Areas
Returns all rest areas.
Request Information
https://nc.prod.traveliq.co//api/v2/get/restareas
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
key |
Developer Key |
string |
Required |
format |
Valid values are 'xml' or 'json', default 'json'. |
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 |
Name |
The name of the park. |
string |
Description |
The description of rest area. |
string |
County |
County name |
string |
Highway |
The highway name |
string |
Phone |
Phone number. |
string |
Status |
Status of rest area (e.g., open). |
string |
Amenities |
Lists the amenities available. |
string |
CarParking |
Total number of car parking |
string |
CarTrailerParking |
Total number of car trailer parking. |
string |
TruckParking |
Total number of truck parking. |
string |
Image |
Image of rest area |
string |
Response Formats
JSON
[
{
"Id": 863,
"Latitude": 36.301944,
"Longitude": -75.927778,
"Name": "Currituck County US 158",
"Description": "US 158, 3 miles south of Coinjock.",
"County": "Camden",
"Highway": "US 17",
"Phone": "(252)426-5041",
"Status": "Open",
"Amenities": "Grilling Areas, Handicapped Accessible Restrooms, Picnic Areas, Recycling, Restrooms, Trash Bins, Water Fountains",
"CarParking": "17",
"CarTrailerParking": "3",
"TruckParking": "4",
"Image": "https://www.ncdot.gov/Style Library/Bing Maps/assets/travel_restarea_centers/currituck.jpg"
}
]
XML
<RestAreasList>
<RestAreas>
<Id>863</Id>
<Latitude>36.301944</Latitude>
<Longitude>-75.927778</Longitude>
<Name>Currituck County US 158</Name>
<Description>US 158, 3 miles south of Coinjock.</Description>
<County>Camden</County>
<Highway>US 17</Highway>
<Phone>(252)426-5041</Phone>
<Status>Open</Status>
<Amenities>Grilling Areas, Handicapped Accessible Restrooms, Picnic Areas, Recycling, Restrooms, Trash Bins, Water Fountains</Amenities>
<CarParking>17</CarParking>
<CarTrailerParking>3</CarTrailerParking>
<TruckParking>4</TruckParking>
<Image>https://www.ncdot.gov/Style Library/Bing Maps/assets/travel_restarea_centers/currituck.jpg</Image>
</RestAreas>
</RestAreasList>