GET Truck Parking
Returns all truck parking.
Request Information
https://511ny.org/api/v2/get/truckparking
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 |
Name of the truck parking. |
string |
Address |
Address of truck parking. |
string |
County |
County of truck parking. |
string |
TotalSpaces |
Total spaces available. |
string |
StatusDescription |
Status of truck parking. |
string |
CustomerWebSite |
Customer website of truck parking. |
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
[
{
"Id": -1566367103,
"Name": "Pit Stop Travel Center",
"Address": "3742 US-11, US 11 near Exit 10 of I-81, Cortland, NY, 13045",
"County": "Cortland",
"TotalSpaces": "35",
"StatusDescription": "OPEN",
"CustomerWebSite": null,
"Latitude": 42.588069,
"Longitude": -76.130244
},
{
"Id": 2105473193,
"Name": "Town of Orleans Rest Area",
"Address": "I-81 (NB), Serving northbound Interstate 81, between exits 49 and 50, Watertown, NY, 13601",
"County": "Jefferson",
"TotalSpaces": "45",
"StatusDescription": "OPEN",
"CustomerWebSite": "https://www.dot.ny.gov/regional-offices/statewide-rest-areas/orleans",
"Latitude": 44.242955,
"Longitude": -75.943691
}
]
XML
<TruckParkingList>
<TruckParking>
<Id>-1566367103</Id>
<Name>Pit Stop Travel Center</Name>
<Address>3742 US-11, US 11 near Exit 10 of I-81, Cortland, NY, 13045</Address>
<County>Cortland</County>
<TotalSpaces>35</TotalSpaces>
<StatusDescription>OPEN</StatusDescription>
<CustomerWebSite/>
<Latitude>42.588069</Latitude>
<Longitude>-76.130244</Longitude>
</TruckParking>
<TruckParking>
<Id>2105473193</Id>
<Name>Town of Orleans Rest Area</Name>
<Address>I-81 (NB), Serving northbound Interstate 81, between exits 49 and 50, Watertown, NY, 13601</Address>
<County>Jefferson</County>
<TotalSpaces>45</TotalSpaces>
<StatusDescription>OPEN</StatusDescription>
<CustomerWebSite>https://www.dot.ny.gov/regional-offices/statewide-rest-areas/orleans</CustomerWebSite>
<Latitude>44.242955</Latitude>
<Longitude>-75.943691</Longitude>
</TruckParking>
</TruckParkingList>