DeviceEventsResult Data Type

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.

Properties
name data type constraints description
limitExceeded boolean required
deviceEvent array of DeviceEvent  

Example

{
  "limitExceeded" : true,
  "deviceEvent" : [ {
    "accountName" : "...",
    "clientId" : "...",
    "receivedOn" : 12345,
    "sentOn" : 12345,
    "eventType" : "CERTIFICATE_UPDATE_ERROR",
    "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
  }, {
    "accountName" : "...",
    "clientId" : "...",
    "receivedOn" : 12345,
    "sentOn" : 12345,
    "eventType" : "BUNDLE_STOPPED",
    "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
  } ]
}