GET Weigh Stations

Returns all weigh stations.

Request Information

https://511.idaho.gov/api/v2/get/weighstations

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
Name

Name of weigh station

string
Highway

The highway name

string
Direction

Direction of parking.

string
MileMarker

Mile marker

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
Operator

Name of the operator.

string

Response Formats

JSON

Sample:
[
  {
    "Id": -69253286,
    "Name": "Huetter Weigh Station",
    "Highway": "I-90",
    "Direction": "Eastbound",
    "MileMarker": "8.1",
    "Latitude": 47.708215,
    "Longitude": -116.86722,
    "Operator": "ITD"
  },
  {
    "Id": -71061233,
    "Name": "Inkom weigh station",
    "Highway": "Highway I-15",
    "Direction": "Northbound and eastbound",
    "MileMarker": "59",
    "Latitude": 42.80057,
    "Longitude": -112.286537,
    "Operator": "ITD"
  }
]

XML

Sample:
<WeighStationsList>
    <WeighStations>
        <Id>-69253286</Id>
        <Name>Heutter Weigh Station</Name>
        <Highway>I-90</Highway>
        <Direction>Eastbound</Direction>
        <MileMarker>8.1</MileMarker>
        <Latitude>47.708215</Latitude>
        <Longitude>-116.86722</Longitude>
        <Operator>ITD</Operator>
    </WeighStations>
    <WeighStations>
        <Id>-71061233</Id>
        <Name>Inkom Weigh Station</Name>
        <Highway>Highway I-15</Highway>
        <Direction>Northbound and eastbound</Direction>
        <MileMarker>59</MileMarker>
        <Latitude>42.80057</Latitude>
        <Longitude>-112.286537</Longitude>
        <Operator>ITD</Operator>
    </WeighStations>
</WeighStationsList>