deviceEventsResult element

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

DeviceEventsResult is a container for a list of DeviceEvents returned by a list DeviceEvents call. It contains the list of requested DeviceEvents and a flag signaling whether the limit for the maximum number of returned entities has been reached. If limitedExceeded is set, the client is requested to paginate through the result by moving the offset forward and issue a new request to get more data.

Example XML

<?xml version="1.0" encoding="UTF-8"?> <deviceEventsResult xmlns="http://eurotech.com/edc/2.0"> <limitExceeded>...</limitExceeded> <deviceEvent> <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> <deviceEvent> <!--...--> </deviceEvent> <!--...more "deviceEvent" elements...--> </deviceEventsResult>

Example JSON

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