GET Grouped Cameras
Return all group cameras.
Request Information
https://511on.ca/api/v2/get/groupedcameras
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
format |
Valid values are 'xml' or 'json', default 'json'. |
string |
Optional |
lang |
Valid values are 'en' or 'fr', default 'en'. |
string |
Optional |
Response Information
Resource Description
Name | Description | Type |
---|---|---|
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 |
Views |
Views of a camera. |
string |
Response Formats
JSON
[ { "Id": "31dbwlph0yi|1", "Organization": "RWIS", "RoadwayName": "Chesterton", "DirectionOfTravel": "Unknown", "Latitude": 45.352304, "Longitude": -75.724945, "Views": [ { "Id": "31dbwlph0yi--1", "Name": "English location", "Url": "https://511on.ca/map/Cctv/31dbwlph0yi--1", "Status": "Disabled", "Description": "French Location" } ] }, { "Id": "600001-0-|1", "Organization": "RWIS", "RoadwayName": "HWY 400", "DirectionOfTravel": "Unknown", "Latitude": 45.33142, "Longitude": -79.96399, "Views": [ { "Id": "600001-0-0--1", "Name": "Highway 400 at Highway 518", "Url": "https://511on.ca/map/Cctv/600001-0-0--1", "Status": "Enabled", "Description": "Hwy 400 at Highway 518" }, { "Id": "600001-0-1--1", "Name": "Highway 400 at Highway 518", "Url": "https://511on.ca/map/Cctv/600001-0-1--1", "Status": "Enabled", "Description": "Hwy 400 at Highway 518" }, { "Id": "600001-0-2--1", "Name": "Highway 400 at Highway 518", "Url": "https://511on.ca/map/Cctv/600001-0-2--1", "Status": "Enabled", "Description": "Hwy 400 at Highway 518" } ] } ]
XML
<GroupedCamerasList> <GroupedCameras> <Id>31dbwlph0yi|1</Id> <Organization>RWIS</Organization> <RoadwayName>Chesterton</RoadwayName> <DirectionOfTravel>Unknown</DirectionOfTravel> <Latitude>45.352304</Latitude> <Longitude>-75.724945</Longitude> <Views> <View> <Id>31dbwlph0yi--1</Id> <Name>English location</Name> <Url>https://511on.ca/map/Cctv/31dbwlph0yi--1</Url> <Status>Disabled</Status> <Description>French Location</Description> </View> </Views> </GroupedCameras> <GroupedCameras> <Id>600001-0-|1</Id> <Organization>RWIS</Organization> <RoadwayName>HWY 400</RoadwayName> <DirectionOfTravel>Unknown</DirectionOfTravel> <Latitude>45.33142</Latitude> <Longitude>-79.96399</Longitude> <Views> <View> <Id>600001-0-0--1</Id> <Name>Highway 400 at Highway 518</Name> <Url>https://511on.ca/map/Cctv/600001-0-0--1</Url> <Status>Enabled</Status> <Description>Hwy 400 at Highway 518</Description> </View> <View> <Id>600001-0-1--1</Id> <Name>Highway 400 at Highway 518</Name> <Url>https://511on.ca/map/Cctv/600001-0-1--1</Url> <Status>Enabled</Status> <Description>Hwy 400 at Highway 518</Description> </View> <View> <Id>600001-0-2--1</Id> <Name>Highway 400 at Highway 518</Name> <Url>https://511on.ca/map/Cctv/600001-0-2--1</Url> <Status>Enabled</Status> <Description>Hwy 400 at Highway 518</Description> </View> </Views> </GroupedCameras> </GroupedCamerasList>