SubmitImage Method

SubmitImage submits an image from an on-vehicle camera to the Camera API. See Hotspot Cameras for a general overview.

Syntax

SubmitImage4(int intCameraID, string strVehicleID, double dblLatitude, double dblLongitude,
int intHeading, int intSpeed, string strCollectedTime, string strImage, int intOptions, string strPassword)

Parameters

Name Type Description
intCameraID int Unique camera identifier for a hotspot camera, as returned by other API methods such as GetCamerasInBox.
strVehicleID string Unique anonymous vehicle identifier.
dblLatitude double Latitude of the vehicle, in decimal degrees.
dblLongitude double Longitude of the vehicle, in decimal degrees.
intHeading int Heading of the vehicle, in degrees.
intSpeed int Speed of the vehicle, in kph.
strCollectedTime string The date and time at which the image was collected, in Coordinated Universal Time (UTC), and expressed according to ISO 8601 (“yyyy-MM-ddTHH:mm:ss.fffffffZ”).
strImage string Image from the on-vehicle camera, encoded in Base64 format.
intOptions int A set of bitwise flags OR’ed together. No options are currently supported.
strPassword string Unique id/password supplied to you previously.

Return Value

None

Example

Request
http://www.vizzion.com/TrafficCamsService/TrafficCams.asmx/SubmitImage4?intCameraID=64925&strVehicleID=ABCD12345678&dblLatitude=41.9633&dblLongitude=-87.8758&intHeading=206&intSpeed=88&strCollectedTime=2019-03-21T10:30:15.0000000Z&strImage=/9j/4AAQSkZJRgABAQEAYABgAA…&intOptions=0&strPassword=<password>

Vizzion Confidential and Proprietary