GET Truck Parking

Returns all truck parking.

Request Information

https://www.nvroads.com/api/v2/get/truckparking

URI Parameters

URI Parameters
NameDescriptionTypeAdditional information
key

Developer Key

string

Required

format

Valid values are 'xml' or 'json', default 'json'.

string

Optional

Response Information

Resource Description


Resource Description
NameDescriptionType
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

Name of the truck parking.

string
Amenities

Truck parking amenities.

string

Response Formats

JSON

Sample:
[
  {
    "Id": 205,
    "Latitude": 40.719354,
    "Longitude": -116.106029,
    "Name": "Pilot Travel Center",
    "Amenities": "Restrooms, Food Service, Showers, Scales, Laundry, Total Parking Spaces (1)"
  },
  {
    "Id": 208,
    "Latitude": 39.510394,
    "Longitude": -119.965626,
    "Name": "Exit 5 WB I-80 I-80, Verdi",
    "Amenities": "Total Parking Spaces (7)"
  }
]

XML

Sample:
<TruckParkingList>
	<TruckParking>
		<Id>205</Id>
		<Latitude>40.719354</Latitude>
		<Longitude>-116.106029</Longitude>
		<Name>Pilot Travel Center</Name>
		<Amenities>Restrooms, Food Service, Showers, Scales, Laundry, Total Parking Spaces (1)</Amenities>
	</TruckParking>
	<TruckParking>
		<Id>208</Id>
		<Latitude>39.510394</Latitude>
		<Longitude>-119.965626</Longitude>
		<Name>Exit 5 WB I-80 I-80, Verdi</Name>
		<Amenities>Total Parking Spaces (7)</Amenities>
	</TruckParking>
</TruckParkingList>