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 |
One of the following directions of travel: Unknown, All Directions, Northbound, Eastbound, Southbound, Westbound, Inner, Outer, 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 |
| County |
The name of the county where the camera is located. |
string |
Response Formats
JSON
[
{
"Id": 4061,
"Source": "IVDs-City of Burlington",
"SourceId": "5056",
"Roadway": "Other",
"Direction": "Southbound",
"Latitude": 36.06909,
"Longitude": -79.51618,
"Location": "BUR-BOONE_STMARKS",
"SortOrder": 0,
"Views": [
{
"Id": 4062,
"Url": "https://NC.stage.traveliq.co/map/Cctv/4062",
"Status": "Enabled",
"Description": "BUR-BOONE_STMARKS",
"VideoUrl": ""
}
],
"County": "Alamance"
},
{
"Id": 4062,
"Source": "IVDs-City of High Point",
"SourceId": "5100",
"Roadway": "English",
"Direction": "Eastbound",
"Latitude": 35.9603235088843,
"Longitude": -80.0048926201592,
"Location": "HPT-ENGLISH_HAMILTON",
"SortOrder": 0,
"Views": [
{
"Id": 4063,
"Url": "https://NC.stage.traveliq.co/map/Cctv/4063",
"Status": "Enabled",
"Description": "ENGLISH_HAMILTON",
"VideoUrl": ""
}
],
"County": "Guilford"
}
]
XML
<CamerasList>
<Cameras>
<Id>4061</Id>
<Source>IVDs-City of Burlington</Source>
<SourceId>5056</SourceId>
<Roadway>Other</Roadway>
<Direction>Southbound</Direction>
<Latitude>36.06909</Latitude>
<Longitude>-79.51618</Longitude>
<Location>BUR-BOONE_STMARKS</Location>
<SortOrder>0</SortOrder>
<Views>
<View>
<Id>4062</Id>
<Url>https://NC.stage.traveliq.co/map/Cctv/4062</Url>
<Status>Enabled</Status>
<Description>BUR-BOONE_STMARKS</Description>
<VideoUrl></VideoUrl>
</View>
</Views>
<County>Alamance</County>
</Cameras>
<Cameras>
<Id>4062</Id>
<Source>IVDs-City of High Point</Source>
<SourceId>5100</SourceId>
<Roadway>English</Roadway>
<Direction>Eastbound</Direction>
<Latitude>35.9603235088843</Latitude>
<Longitude>-80.0048926201592</Longitude>
<Location>HPT-ENGLISH_HAMILTON</Location>
<SortOrder>0</SortOrder>
<Views>
<View>
<Id>4063</Id>
<Url>https://NC.stage.traveliq.co/map/Cctv/4063</Url>
<Status>Enabled</Status>
<Description>ENGLISH_HAMILTON</Description>
<VideoUrl></VideoUrl>
</View>
</Views>
<County>Guilford</County>
</Cameras>
</CamerasList>