Alerts report

This API allows the user to generate a detailed report on all alert types.

{
    "index": 0,
    "size": 100,
    "desc": true,
    "sortField": "dateTime",
    "filter": {
        "orFilter": {
            "vehicleId": [
                "bef7148c-dd18-11ec-87d5-a71b2bdfc1ca"
            ],
            "beaconMacAddress": [
                "FF7E34C450DA"
            ]
        },
        "matchFilter": {}
    },
    "startDate": "2022-10-12T04:00:00.000Z",
    "endDate": "2022-10-19T03:59:59.676Z",
    "alertTypeId": -1,
    "browserTimezone": "US/Eastern"
}

API Response explanation

FieldDescriptionData Type
generatedAtInMillisTime at which the API returns the result. The time is in milliseconds.Long
idUnique identifier of the alert recordString
alertNameName of the alertString
customerIdUnique identifier of the customerlong
alertIdUnique identifier of the alertString
alertTypeIdUnique identifier of the alert type

1 Speeding
2 Stop Time
3 Idling
4 Device Plugged In/Unplugged
5 Engine Diagnostic
6 Unauthorized Usage
7 Braking
8 Sudden Acceleration
9 Check Engine Light
10 Not Tracking
11 Scheduled Maintenance
13 Low Fuel
14 Ignition
15 Posted Speed Limit
16 Low Battery
17 Cornering
18 Panic Alert
19 Seat belt
20 Unknown Driver
21 Unauthorized Occupant Count
22 Beacon Unused
23 Sensor Alert
24 Job Alert
25 Temperature Sensor
26 Vehicle Battery Disconnected
27 Vehicle Battery Not Charging
28 Air Filter Clog
29 Tamper Alert
30 Clutch Override
31 Need Help
32 Low Oil Pressure
33 High Engine Speed
34 High Engine Temperature
35 Excess Idling
36 Break Down
37 Mahindra Low Fuel
38 Asset Temperature Sensor
39 Fuel Location Exception
40 Fuel Quantity Exception
41 SafetyCam Connected/Disconnected
42 VIN Change
43 SafetyCam Button Pressed
44 SafetyCam Connectivity Status
45 Reverse Detection
46 Back Up Detection
47 Tire Pressure
48 Collision Detection
Int
alertConfigValueAlert configuration value depending on the alertTypeIdString
durationDuration of the alert sustainedLong
peakSpeedHighest speed attained by the vehiclefloat
avgSpeedAverage speed attained by the vehiclefloat
initialSpeedInitial speed of the vehiclefloat
finalSpeedFinal speed of the vehiclefloat
addressAddress of the locationString
dateTimeTimestamp in UTC timezoneDate
userNameName of the driverString
userIdUnique identifier representing the driverString
latLatitude of the locationDouble
lngLongitude of the locationDouble
parentGroupName of the parent groupString
deviceIdUnique identifier representing the deviceString
deviceSerialNumberSerial number of the deviceString
deviceTimezoneTimezone of the deviceString
assetnoAsset number of the vehicleString
vehicleName of the vehicleString
vehicleIdUnique identifier representing the vehicleString
groupName of the groupString
groupIdUnique identifier representing the groupString
speedSpeed of the vehicle in Kmsfloat
postedSpeedLimitPosted speed limit of the road in KmsInt
durationFormattedDuration in hh:mm:ss formatString
startTimeSettingStart time to track the vehicleString
endTimeSettingEnd time to track the vehicleString
lastContactTimeFormattedLast contact time in vehicle/device timezoneString
lastContactTimeLast contact time in UTC timezoneDate
modeAlert mode configured in the alert section

1 - Indicates that the alert is triggered instantly
2 - Indicates that the alert is triggered as a summary alert.
int
noOfDaysNumber of days the beacon is unusedint
gracePeriodAfterIgnitionOnGrace period configured after the ignitionON before the alert can triggerint
alertTypeName of the alert typeboolean
maxOccupantsMaximum number of occupants in the vehicleint
detectedOccupantsNumber of occupants detected in the vehicleint
deviceTypeUnique identifier representing the type of the device

1 = Datalogger
6 = Asset Tracker
11 = SafetyCam
boolean
dateTimeInDTZTimestamp in device timezoneDate
displayTimeTimestamp in device timezone in YYYY-MM-DD HH:mm:ss:SSS formatString
firstPostedSpeedLimitFirst posted speed limit of the alert durationfloat
averagePostedSpeedLimitAverage posted speed limit of the alert durationfloat
beaconAsVehicleIdFor Azuga internal useboolean
hcbFor Azuga internal useboolean
errorDisplays the corresponding error message which occurs during API compilation.List
Language
Authorization
Header
Click Try It! to start a request and see the response here!