...
Property Name | Value Type | Description | Always Present | |
---|---|---|---|---|
eventUuid | String | A unique value generated on initial VIOLATION or ENTER event - corresponding CLEAR or EXIT events will have same value | Yes | |
projectId | Number | The project identifier this location was generated for | Yes | |
policyId | Number | The unique identifier for the policy | Yes | |
blufiId | Number | The blufi device id of the Blufi that supplied the data. | Yes | |
uniqueDeviceID | String | The beacon deviceId if there is a beacon involved in the policy | No | |
oldState | String | The previous event state | Yes | |
newState | String | The new/current event state | Yes | |
value | String | The value observed for violations - implementation of this value depends on policy type | Yes | |
metricType | String | The metric type of the policy | Yes | |
namespace | Object | A JSON representation String | The namespace of the target Policypolicy | Yes |
timestamp | Number | Timestamp value with millisecond accuracy for the first packet that moved the device into violation | Yes | |
timestampCleared | Number | Timestamp with millisecond accuracy for when the first packet that moved the event state to CLEARED or EXIT state. | No |
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "eventUuid": "7c8d1944-ffe0-4812-9519-18afd0e01a3e", "projectId": "1336", "policyId": "143333122", "blufiId": "732222122", "uniqueDeviceId": "8686868686868686868", "oldState": "OK", "newState": "VIOLATING", "value": "60", "policymetricType": { "policyId": 143333122, "projectId": 1336, "locationId": null, "globalScope": true, "name": "motion-policy-at-rest", "description": ""PRESENCE", "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 } |
...