DeviceEvent Data Type

DeviceEvent represents an event associated to a device, such as events related to the Cloud connection (CONNECTED, DISCONNECTED, MISSING) or events related to the device management (CONF_UPDATED, APPS_UPDATED etc.).

Properties
name data type constraints description
accountName string  
clientId string  
receivedOn number  
sentOn number  
eventType DeviceEventType  
eventMessage string  
position EdcPosition  
accountId number required

Example

{
  "accountName" : "...",
  "clientId" : "...",
  "receivedOn" : 12345,
  "sentOn" : 12345,
  "eventType" : "CONF_COMP_UPDATED",
  "eventMessage" : "...",
  "position" : {
    "longitude" : 12345.0,
    "latitude" : 12345.0,
    "altitude" : 12345.0,
    "precision" : 12345.0,
    "heading" : 12345.0,
    "speed" : 12345.0,
    "timestamp" : 12345,
    "satellites" : 12345,
    "status" : 12345
  },
  "accountId" : 12345
}