Basic Information

Detailed Information

Report Data

The AlertLog Datatype

public class AlertEventModel
{
publicBooleanCanEnterExit; // Does this alert-type logically includ entering or leaving
publicBoolean?Exiting; // True: when exiting a zone. False: when entering a zone. NULL: when there is no zone to enter or leave.
publicStringLatitude; // Latitude of device triggering alert
publicStringLongitude; // Longitude of device triggering alert
publicStringDeviceId; // The ID of the device triggering the alert
publicStringAlertId; // The ID of the alert being triggered
publicStringAlertName; // Name of the alert being triggered
publicStringDescription; // Description of the alert being triggered
publicStringAlertType; // Type of alert being triggered: Maintenance,Polyfence,Route,Panic,Ignition,Geofence,Speed,Power,Radius,Idle,Timeout
publicStringOcurredOn; // When the alert was triggered. ISO-8601 UTC Datetime.
}

The AlertLog Methods

The following list provides a reference for all valid /Alert HTTP requests.

  • GET v1/AlertLog?alerttype={alerttype}&alertid={alertid}&deviceid={deviceid}&canEnterExit={canEnterExit}&exiting={exiting}&startUtc={startUtc}&endUtc={endUtc}&account={account}

    Summary: Retrieves all matching alert logs listed for the account

    Returns: Array of alert event logs

    Parameters:

    • alerttype: filter by alert type: Maintenance,Polyfence,Route,Panic,Ignition,Geofence,Speed,Power,Radius,Idle,Timeout (FromUri)
    • alertid: filter by specific alertid (FromUri)
    • deviceid: filter by specific device (FromUri)
    • canEnterExit: filter by alerts for entering/exiting a zone. true/false (FromUri)
    • exiting: filter by alerts for exiting a zone. true/false (FromUri)
    • startUtc: UTC start date. (ISO-8601) Default-Value: will be the last 24 hours (FromUri)
    • endUtc: UTC end date. (ISO-8601) (FromUri)
    • account: Specific sub-account to view (FromUri)