deviceEvent element

Type: deviceEvent
Namespace: http://eurotech.com/edc/2.0
XML Schema: edc.xsd

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.).

Example XML

<?xml version="1.0" encoding="UTF-8"?> <deviceEvent xmlns="http://eurotech.com/edc/2.0"> <accountName>...</accountName> <clientId>...</clientId> <receivedOn>...</receivedOn> <sentOn>...</sentOn> <eventType>...</eventType> <eventMessage>...</eventMessage> <position> <longitude>...</longitude> <latitude>...</latitude> <altitude>...</altitude> <precision>...</precision> <heading>...</heading> <speed>...</speed> <timestamp>...</timestamp> <satellites>...</satellites> <status>...</status> </position> </deviceEvent>

Example JSON

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