Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
titlePolicy Event Data
{
  "eventUuid": "7c8d1944-ffe0-4812-9519-18afd0e01a3e",
  "projectId": "1336",
  "policyId": "143333122",
  "blufiId": "732222122",
  "uniqueDeviceId": "8686868686868686868",
  "oldState": "OK",
  "newState": "VIOLATING",
  "value": "60",
  "policy": {
    "policyId": 143333122,
    "projectId": 1336,
    "locationId": null,
    "globalScope": true,
    "name": "motion-policy-at-rest",
    "description": "",
    "namespace": "BEACON",
    "metricType": "MOTION",
    "operatorType": "AT_REST",
    "duration": 60,
    "sampleInterval": 2500,
    "threshold": null,
    "thresholdHyst": 0.05,
    "thresholdRange": [
      0.1,
      0.1
    ],
    "regions": null,
    "blufisInZone": null,
    "zoneBeacons": null,
    "period": 60,
    "emailAddresses": [
      "user@example.com"
    ],
    "managedBeaconIds": [],
    "managedBlufiIds": [],
    "anchorBlufis": null,
    "dwellMonitorSettings": [],
    "deviceCount": 0,
    "bounds": null,
    "dateUpdated": 1456847897652,
    "dateCreated": 1456847897652
  },
  "timestamp": 1456850995739,
  "timestampCleared": null
}

...