Alarm Log

Will list all historically triggered alarms.

URL Structure is:
https://api.trackunit.com/public/AlarmLog

GetAlarmLog

Parameters

NameData typeUnit of measurementNote
unitIdStringN/AUnit identifier. If supplied, we return only logs for that alarm.
dateFromDateTimeUTCIf supplied, only logs for alarms triggered after this date will be returned.
dateToDateTimeUTCIf supplied, only logs for alarms triggered before this date will be returned.

Columns

Refer to the following table for description of columns:

NameData typeUnit of measurementNullabilityNote
alarmIdStringN/AFALSEUnit identifier.
unitIdStringN/AFALSEUnit identifier.
triggeredAtDateTimeUTCFALSE
addressAddressN/AFALSE
locationLocationN/AFALSE
recipientsAlarmRecipientN/AFALSE

Request (example)

{}

Response

{
  "list": [
    {
      "alarmId": "70329",
      "unitId": "34333",
      "triggeredAt": "2014-03-05T07:00:02.7421152Z",
      "address": {
        "country": "DK",
        "zipCode": "3120",
        "city": "Dronningmølle",
        "streetAddress": "Dr Mølle Strandvej 556"
      },
      "location": {
        "latitude": 56.5802783333333,
        "longitude": 8.5522
      },
      "recipients": [
        {
          "contactId": 29829,
          "sentVia": "Mail",
          "phoneNumber": "499988776655",
          "email": "[email protected]",
          "delivered": true
        }
      ]
    },
    {
      "alarmId": "70329",
      "unitId": "39670",
      "triggeredAt": "2014-03-05T07:00:02.7421152Z",
      "address": {
        "country": "DK",
        "zipCode": "3520",
        "city": "Farum",
        "streetAddress": "Farum Gydevej 73"
      },
      "location": {
        "latitude": 56.0230783333333,
        "longitude": 8.38722
      },
      "recipients": [
        {
          "contactId": 29829,
          "sentVia": "Mail",
          "phoneNumber": "499988776655",
          "email": "[email protected]",
          "delivered": true
        }
      ]
    },
    {
      "alarmId": "70329",
      "unitId": "46208",
      "triggeredAt": "2014-03-05T07:00:02.7421152Z",
      "address": {
        "country": "DK",
        "zipCode": "2660",
        "city": "Brøndby Strand",
        "streetAddress": "Dyringparken 132"
      },
      "location": {
        "latitude": 56.5546116666667,
        "longitude": 8.55791333333333
      },
      "recipients": [
        {
          "contactId": 29829,
          "sentVia": "Mail",
          "phoneNumber": "499988776655",
          "email": "[email protected]",
          "delivered": true
        }
      ]
    },
    {
      "alarmId": "70329",
      "unitId": "46209",
      "triggeredAt": "2014-03-05T07:00:02.7421152Z",
      "address": {
        "country": "DK",
        "zipCode": "3050",
        "city": "Humlebæk",
        "streetAddress": "Kirkeskov Alle 13"
      },
      "location": {
        "latitude": 55.6207083333333,
        "longitude": 12.3338833333333
      },
      "recipients": [
        {
          "contactId": 29829,
          "sentVia": "Mail",
          "phoneNumber": "499988776655",
          "email": "[email protected]",
          "delivered": true
        }
      ]
    }
  ]
}