GET Snow Plows
Rerturns all service vehicles details
Request Information
https://www.udottraffic.utah.gov/api/v2/get/servicevehicles
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 item |
string |
Owner |
Fleet ID |
string |
Bearing |
North, South, East, West, North East, North West, South East, South West |
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 |
LastUpdated |
The date the item's details were last updated in Unix time. More information |
integer |
EncodedPolyline |
A single string storing a series of coordinates. More information |
string |
Response Formats
JSON
[ { "Id": 651, "Name": "1FDAF56PX7EA87077", "Owner": "62875", "Bearing": "North", "Latitude": 41.24437, "Longitude": -111.9803, "LastUpdated": 1682543413, "EncodedPolyline": "mv{eItn{sTVAfF@?jHLh@PPVFP?y@ZKAII??HHJ@x@[Q?WGQQMi@?kHqEAU?W@?~V" } ]
XML
<ServiceVehiclesList> <ServiceVehicles> <Id>1M2AX07C0HM035377</Id> <Name>1M2AX07C0HM035377</Name> <Owner>62875</Owner> <Bearing>North</Bearing> <Latitude>41.24437</Latitude> <Longitude>-111.9803</Longtitude> <LastUpdated>1682543413</LastUpdated> <EncodedPolyline>mv{eItn{sTVAfF@?jHLh@PPVFP?y@ZKAII??HHJ@x@[Q?WGQQMi@?kHqEAU?W@?~V</EncodedPolyline> </ServiceVehicles> </ServiceVehiclesList>