GET Cameras
Returns all cameras.
Request Information
https://www.udottraffic.utah.gov/api/v2/get/cameras
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 | 
| Source | 
                                             The name of the source that provided this camera.  | 
                                        string | 
| SourceId | 
                                             The source id of the camera.  | 
                                        string | 
| Roadway | 
                                             The roadway on which this camera is located.  | 
                                        string | 
| Direction | 
                                             One of the following directions where the camera is facing: None, All Directions, Northbound, Eastbound, Southbound, Westbound, Inbound, Outbound, Both Directions.  | 
                                        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 | 
| Location | 
                                             The location of the camera.  | 
                                        string | 
| SortOrder | 
                                             Given sort order for camera  | 
                                        integer | 
| Views | 
                                             Display all camera views.  | 
                                        object | 
Response Formats
JSON
[
{
    "Id": 15157,
    "Source": "ADX",
    "SourceId":"79854",
    "Roadway":"River Rd",
    "Direction": "North",
    "Latitude": 37.09616,
    "Longitude": -113.55726,
    "Location": "River Rd @ 700 S / Foremaster Dr, STG",
    "SortOrder":0,
    "Views": [
      {
        "Id": 15160,
        "Url": "https://www.udottraffic.utah.gov/map/Cctv/15160",
        "Status": "Enabled",
        "Description": ""
      }
    ]
  },
  {
    "Id": 15158,
    "Source": "ADX",
    "SourceId":"79855",
    "Roadway": "700 S",
    "Direction": "East",
    "Latitude": 37.09622,
    "Longitude": -113.57484,
    "Location": "700 S @ Flood St / 400 E, STG ",
    "Views": [
      {
        "Id": 15161,
        "Url": "https://www.udottraffic.utah.gov/map/Cctv/15161",
        "Status": "Enabled",
        "Description": "Looking East"     
      }
    ]
  }
]
                            XML
<CamerasList>
  <Cameras>
    <Id>15157</Id>
    <Source>ADX</Source>
    <SourceId>79854</SourceId>
    <Roadway>River Rd</Roadway>
    <Direction>North</Direction>
    <Latitude>37.09616</Latitude>
    <Longitude>-113.55726</Longitude>
    <Location>River Rd @ 700 S / Foremaster Dr, STG</Location>
    <SortOrder>0</SortOrder>
    <Views>
      <View>
      <Id>15160</Id>
      <Url>https://www.udottraffic.utah.gov/map/Cctv/15160</Url>
      <Status>Enabled</Status>
      <Description/>
      </View>
    </Views>
  </Cameras>
  <Cameras>
    <Id>15158</Id>
    <Source>ADX</Source>
    <SourceId>79855</SourceId>
    <Roadway>700 S</Roadway>
    <Direction>East</Direction>
    <Latitude>37.09622</Latitude>
    <Longitude>-113.57484</Longitude>
    <Location>700 S @ Flood St / 400 E, STG </Location>
    <SortOrder>0</SortOrder>
    <Views>
      <View>
      <Id>15161</Id>
      <Url>https://www.udottraffic.utah.gov/map/Cctv/15161</Url>
      <Status>Enabled</Status>
      <Description/>
      </View>
    </Views>
  </Cameras>
</CamerasList>