GET api/GetTruckParking

Returns all Truck Parking Locations

Request Information

http://511wi.gov/api/gettruckparking?key={key}&format={format}

URI Parameters

Api Call
NameDescriptionTypeAdditional information
key

string

Required

format

Valid values are xml or json.

string

Required

Response Information

Resource Description


Api Call
NameDescriptionTypeAdditional information
FacilityName

string

None.

Roadway

string

None.

Direction

string

None.

TotalParkingSpaces

string

None.

AvailableParkingSpaces

string

None.

Trend

string

None.

Open

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Amenities

None.

Response Formats

application/xml, text/xml

Sample:
    <TruckParking xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <FacilityName>sample string 1</FacilityName>
  <Roadway>sample string 2</Roadway>
  <Direction>sample string 3</Direction>
  <TotalParkingSpaces>sample string 4</TotalParkingSpaces>
  <AvailableParkingSpaces>sample string 5</AvailableParkingSpaces>
  <Trend>sample string 6</Trend>
  <Open>sample string 7</Open>
  <Latitude>8.1</Latitude>
  <Longitude>9.1</Longitude>
  <Amenities>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </Amenities>
</TruckParking>

application/json, text/json

Sample:
    {
  "FacilityName": "sample string 1",
  "Roadway": "sample string 2",
  "Direction": "sample string 3",
  "TotalParkingSpaces": "sample string 4",
  "AvailableParkingSpaces": "sample string 5",
  "Trend": "sample string 6",
  "Open": "sample string 7",
  "Latitude": 8.1,
  "Longitude": 9.1,
  "Amenities": [
    "sample string 1",
    "sample string 2"
  ]
}