GET Cameras

Returns all cameras.

Request Information

https://511on.ca/api/v2/get/cameras

URI Parameters

NameDescriptionTypeAdditional 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


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 on.

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
CityName

The name of the city where the camera is located.

string

Response Formats

JSON

Sample:
[
  {
    "Id":"RWIS-600025-0-0",
    "Organization":"RWIS",
    "RoadwayName":"HWY-17",
    "Latitude":46.21203,
    "Longitude":-82.57362,
    "Name":"Highway 17 at Highway 108",
    "Url":"https://test.511on.ca/map/Cctv/600025-0-0--1",
    "CityName":"",
    "Status":"Enabled", 
    "Description":"",
  },
  {
    "Id":"MTO-loc32",
    "Organization":"MTO",
    "RoadwayName":"HWY-401",
    "Latitude":43.672055,
    "Longitude":-79.581313,
    "Name":"Highway 401 near Carlingview Drive",
    "Url":"https://test.511on.ca/map/Cctv/loc32--2",
    "CityName":"GTA",
    "Status":"Disabled",
    "Description":"",
  }
]

XML

Sample:
<CamerasList>
  <Cameras>
    <Id>RWIS-600025-0-0</Id>
    <Organization>RWIS</Organization>
    <RoadwayName>HWY-17</RoadwayName>
    <Latitude>46.21203</Latitude>
    <Longitude>-82.57362</Longitude>
    <Name>Highway 17 at Highway 108</Name>
    <Url>https://test.511on.ca/map/Cctv/600025-0-0--1</Url>
    <CityName></CityName>
    <Status>Enabled</Status>
    <Description></Description>
  </Cameras>
  <Cameras>
    <Id>MTO-loc32</Id>
    <Organization>MTO</Organization>
    <RoadwayName>HWY-401</RoadwayName>
    <Latitude>43.672055</Latitude>
    <Longitude>-79.581313</Longitude>
    <Name>Highway 401 near Carlingview Drive</Name>
    <Url>https://test.511on.ca/map/Cctv/loc32--2</Url>
    <CityName>GTA</CityName>
    <Status>Disabled</Status>
    <Description></Description>
</Cameras>
</CamerasList>