GET Cameras

Returns all cameras.

Request Information

https://www.udottraffic.utah.gov/api/v2/get/cameras

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.

string
Organization

The name of the organization that provided this camera.

string
RoadwayName

The roadway on which this camera is located.

string
DirectionOfTravel

One of the following directions of travel: 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
Name

A name assigned to the camera. It will contain a fairly good description of the location where the camera is deployed.

string
Url

The URL to fetch the camera image.

string
Status

The status of the camera.

string
Description

Additional information about a camera.

string

Response Formats

JSON

Sample:
[
  {
    "Id": "1|29--2",
    "Organization": "UDOT",
    "RoadwayName": "I-215 E NB ",
    "DirectionOfTravel": "Westbound",
    "Latitude": 40.70009,
    "Longitude": -111.79442,
    "Name": "I-215 E NB @ 3300 S / SR-171 / MP 1.84, MCK",
    "Url": "https://prod-ut.ibi511.com/map/Cctv/1|29--2",
    "Status": "Enabled",
    "Description": "N/A"
  },
  {
    "Id": "1|7--2",
    "Organization": "UDOT",
    "RoadwayName": "I-215 E NB ",
    "DirectionOfTravel": "Westbound",
    "Latitude": 40.70009,
    "Longitude": -111.79442,
    "Name": "I-215 E NB @ 3300 S / SR-171 / MP 1.84, MCK",
    "Url": "https://prod-ut.ibi511.com/map/Cctv/1|7--2",
    "Status": "Enabled",
    "Description": "N/A"
  }
]

XML

Sample:
<CamerasList>
    <Cameras>
        <Id>1|29--2</Id>
        <Organization>UDOT</Organization>
        <RoadwayName>I-215 E NB </RoadwayName>
        <DirectionOfTravel>Westbound</DirectionOfTravel>
        <Latitude>40.70009</Latitude>
        <Longitude>-111.79442</Longitude>
        <Name>I-215 E NB @ 3300 S / SR-171 / MP 1.84, MCK</Name>
        <Url>https://prod-ut.ibi511.com/map/Cctv/1|29--2</Url>
        <Status>Enabled</Status>
        <Description>N/A</Description>
    </Cameras>
    <Cameras>
        <Id>1|7--2</Id>
        <Organization>UDOT</Organization>
        <RoadwayName>I-215 E NB </RoadwayName>
        <DirectionOfTravel>Westbound</DirectionOfTravel>
        <Latitude>40.70009</Latitude>
        <Longitude>-111.79442</Longitude>
        <Name>I-215 E NB @ 3300 S / SR-171 / MP 1.84, MCK</Name>
        <Url>https://prod-ut.ibi511.com/map/Cctv/1|7--2</Url>
        <Status>Enabled</Status>
        <Description>N/A</Description>
    </Cameras>
</CamerasList>