GET Rest Areas
Returns all rest areas.
Request Information
https://511la.org/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 | 
| Name | The name of the park. | string | 
| Location | The location of rest area. | string | 
| Direction | The direction of rest area. | 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 | 
| TruckParking | Total number of truck parking. | string | 
| AllParking | Total number of all parking. | string | 
| Security | Available security. | string | 
| FreeWiFi | Availability of free wireless internet. | string | 
| Restrooms | Availability of restrooms. | string | 
| VendingMachines | Availability of vending machines. | string | 
| PicnicTable | Availability of picnic tables. | string | 
| RvDumpStation | Availability of RV dump station. | string | 
Response Formats
JSON
[
  {
    "Id": 863,
    "Name": "Toomey (Vinton) Rest Area & Visitor's Center",
    "Location": "At mile marker 1 near Texas state line",
    "Direction": "Eastbound",
    "Latitude": 30.1373,
    "Longitude": -93.676875,
    "TruckParking": "16",
    "AllParking": "51",
    "Security": "24/7 cameras, nightime guard",
    "FreeWiFi": "Yes",
    "Restrooms": "Yes",
    "VendingMachines": "Yes",
    "PicnicTable": "Yes",
    "RvDumpStation": "No"
  },
  {
    "Id": 864,
    "Name": "Slidell I-10 Rest Area & Visitor's Center",
    "Location": "At mile marker 270 in St. Tammany Parish",
    "Direction": "Westbound",
    "Latitude": 30.299032,
    "Longitude": -89.711598,
    "TruckParking": "34",
    "AllParking": "94",
    "Security": "12-hour nighttime, video survellience",
    "FreeWiFi": "Yes",
    "Restrooms": "Yes",
    "VendingMachines": "Yes",
    "PicnicTable": "Yes",
    "RvDumpStation": "Yes"
  }
]XML
<RestAreasList>
    <RestAreas>
    	<Id>863</Id>
        <Name>Toomey (Vinton) Rest Area & Visitor's Center</Name>
        <Location>At mile marker 1 near Texas state line</Location>
        <Direction>Eastbound</Direction>
        <Latitude>30.1373</Latitude>
        <Longitude>-93.676875</Longitude>
        <TruckParking>16</TruckParking>
        <AllParking>51</AllParking>
        <Security>24/7 cameras, nightime guard</Security>
        <FreeWiFi>Yes</FreeWiFi>
        <Restrooms>Yes</Restrooms>
        <VendingMachines>Yes</VendingMachine>
        <PicnicTable>Yes</PicnicTable>
        <RvDumpStation>No</RvDumpStation>
    </RestAreas>
    <RestAreas>
    	<Id>864</Id>
        <Name>Slidell I-10 Rest Area & Visitor's Center</Name>
        <Location>At mile marker 270 in St. Tammany Parish</Location>
        <Direction>Westbound</Direction>
        <Latitude>30.299032</Latitude>
        <Longitude>-89.711598</Longitude>
        <TruckParking>34</TruckParking>
        <AllParking>94</AllParking>
        <Security>12-hour nighttime, video survellience</Security>
        <FreeWiFi>Yes</FreeWiFi>
        <Restrooms>Yes</Restrooms>
        <VendingMachines>Yes</VendingMachine>
        <PicnicTable>Yes</PicnicTable>
        <RvDumpStation>Yes</RvDumpStation>
    </RestAreas>
</RestAreasList>