Versions Compared

Key

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

...

Property NameValue TypeDescriptionAlways Present
eventUuidStringA unique value generated on initial VIOLATION or ENTER event - corresponding CLEAR or EXIT events will have same valueYes
projectIdNumberThe project identifier this location was generated forYes
policyIdNumberThe unique identifier for the policyYes
blufiIdNumberThe blufi device id of the Blufi that supplied the data.Yes
uniqueDeviceIDStringThe beacon deviceId if there is a beacon involved in the policyNo
oldStateStringThe previous event stateYes
newStateStringThe new/current event stateYes
valueStringThe value observed for violations - implementation of this value depends on policy typeYes
metricType
StringThe metric type of the policyYes
namespaceObjectA JSON representation StringThe namespace of the target PolicypolicyYes
timestampNumberTimestamp value with millisecond accuracy for the first packet that moved the device into violationYes
timestampClearedNumberTimestamp with millisecond accuracy for when the first packet that moved the event state to CLEARED or EXIT state.No

...

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",
  "metricType": "PRESENCE",
  "namespace": "BEACON",
  "timestamp": 1456850995739,
  "timestampCleared": null
}

...