GET Cameras
Returns all cameras.
Request Information
https://nc.prod.traveliq.co//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 |
The wind direction at the time of reported maximum wind speed over the last 10 minutes |
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": 5,
"Source": "Division 14",
"SourceId": "807",
"Roadway": "US 276",
"Direction": "West",
"Latitude": 35.5018935563166,
"Longitude": -82.9890682197338,
"Location": "US276-HOWELLMILL",
"SortOrder": 0,
"Views": [
{
"Id": 6,
"Url": "https://nc.prod.traveliq.co/map/Cctv/6",
"Status": "Enabled",
"Description": "CCTV14-US276-HOWELLMILL"
}
]
},
{
"Id": 6,
"Source": "Division 14",
"SourceId": "844",
"Roadway": "I-40",
"Direction": "West",
"Latitude": 35.5523903041777,
"Longitude": -82.8725663727765,
"Location": "I40 mm30",
"SortOrder": 0,
"Views": [
{
"Id": 7,
"Url": "https://nc.prod.traveliq.co/map/Cctv/7",
"Status": "Enabled",
"Description": "CCTV14-I40-30W_INCINERATOR"
}
]
}
]
XML
<CamerasList>
<Cameras>
<Id>5</Id>
<Source>Division 14</Source>
<SourceId>807</SourceId>
<Roadway>US 276</Roadway>
<Direction>West</Direction>
<Latitude>35.5018935563166</Latitude>
<Longitude>-82.9890682197338</Longitude>
<Location>US276-HOWELLMILL</Location>
<SortOrder>0</SortOrder>
<Views>
<View>
<Id>6</Id>
<Url>https://nc.prod.traveliq.co/map/Cctv/6</Url>
<Status>Enabled</Status>
<Description>CCTV14-US276-HOWELLMILL</Description>
</View>
</Views>
</Cameras>
<Cameras>
<Id>6</Id>
<Source>Division 14</Source>
<SourceId>844</SourceId>
<Roadway>I-40</Roadway>
<Direction>West</Direction>
<Latitude>35.5523903041777</Latitude>
<Longitude>-82.8725663727765</Longitude>
<Location>I40 mm30</Location>
<SortOrder>0</SortOrder>
<Views>
<View>
<Id>7</Id>
<Url>https://nc.prod.traveliq.co/map/Cctv/7</Url>
<Status>Enabled</Status>
<Description>CCTV14-I40-30W_INCINERATOR</Description>
</View>
</Views>
</Cameras>
</CamerasList>