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

Namespace
http://eurotech.com/edc/2.0
Schema
edc.xsd
Properties
name data type type namespace min/max occurs constraints description
accountName string element edc 0/1    
clientId string element edc 0/1    
receivedOn dateTime element edc 0/1    
sentOn dateTime element edc 0/1    
eventType deviceEventType element edc 0/1    
eventMessage string element edc 0/1    
position edcPosition element edc 0/1    
accountId long element edc 1/1 required  

Example

<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>
  <accountId>...</accountId>
</deviceEvent>