Skip to main content

Wrong Way Driver API

The Wrong Way Driver API uses Basic Authentication. Each partner is provided with a unique username and password that must be provided in the Authorization Header of each request.

API Definition

Methods

ResourceUrlData PayloadDescriptionReturns
POST WrongWayDriverAlert/api/WrongWayDriverAlertWrong Way Driver AlertReceives Wrong Way Driver alerts from external systemsNone
POST ApiStatus/api/ApiStatusHeartbeatFrequency (integer)This method is used by the Wrong Way Driver detection system to notify inSIGHT ATMS that it is still available and communicating. The HeartbeatFrequency indicates the interval after which inSIGHT ATMS should expect to receive the next communication.

Data Formats

Wrong Way Driver Alert

NameDescriptionTypeRequiredAdditional Information
AlertIdA unique identifier of the alertintYesIf multiple alerts are received with the same ID, inSIGHT ATMS will assume later are alerts are an update to the previously received alert, and overwrite previously received data
ReportedDateUtcThe datetime the alert was raised/reportedstringYesNone
ImagesA collection of Base64 encoded images that can be used to verify the Alert represents a wrong way driver on the road Array[string]NoImages should are expected to be provided as Base64 encoded strings
VideoStreamUrlsA collection of URLs that can be used to view video clips related to the alertArray[string]NoVideo must be provided in one of the following formats:
- MP4
- HLS
- WebRTC
SystemIdThe identifier of the Wrong Way Driver detection station that raised the alertintYesNone
CallBackUrlThe URL to which to send resolutions to the alert, if alert responses are requiredstringNoNone
AlertDetailUrlA URL which can be used to view more detail about an alert if provided by the sourcestringNoNone
ResolutionTypesThe set of possible alert resolutions that will be accepted by the system generating the alert if responses to the alert are requiredArray[ResolutionType]NoRequired if CallBackUrl provided

Resolution Type

NameDescriptionTypeRequiredAdditional Information
IdAn id for the resolution typeintegerYesNone
DescriptionA text description of the resolution typestringYesNone