Jetstream API
Event Types
AggregateEvent
4min
about aggregateevent is used to indicate a change in the tag population of a device's read zone for example, if a tag is removed from a device's read zone, an aggregateevent message is published with the missing tag epcs listed as "removes" if a tag is added to a device's read zone, an aggregateevent message is published with the new tag epcs listed as "adds" a single aggregateevent can include multiple adds and removes fields property details type string the type of jetstream event eventid string unique the id assigned to the event eventtime string the time that the event occurred the value is expressed in utc this value is expressed in the following format yyyy mm ddthh\ mm\ ssz version int the jetstream version of the event device string the name of the device receivedtime string the time that the event was received from the device the value is expressed in utc this value is expressed in the following format yyyy mm ddthh\ mm\ ssz adds array(string) the rfid tag epc numbers newly introduced to the device's read zone removes array(string) the rfid tag epc numbers no longer found in the device's read zone passrfid string for secured rfid enclosures (cabinets, fridges, freezers) docid\ uxzf6ddof1t2zgzzjh9m6 , the credential used to open the door for devices without secured access, this parameter will be an empty string example published aggregateevent (14 rfid tag epcs added, 9 rfid tag epcs removed) { "passrfid" "mypassnumberormyaccesstoken", "adds" \[ "ad4424044148c57a5c0000b0", "ad4424044149857d5b0000c4", "ad4424044148ed765b0000b4", "ad4424044148e3745c0000b3", "ad4424044149af7a5c0000c8", "ad44240441498f755b0000c5", "ad44240441497d725a0000c3", "ad4424044149b9775c0000c9", "ad442404414973765d0000c2", "ad442404414973775c0000c1", "ad4424044149a3795c0000c7", "ad4424044148d9795c0000b2", "ad4424044148cd775c0000b1", "ad4424044149c3765c0000ca" ], "removes" \[ "ad4424044149f1765b0000cf", "ad4424044149fb7b5c0000d0", "ad4424044149e97a5c0000ce", "ad442404414a0f7b5c0000d2", "ad4424044149d57a5c0000cc", "ad4424044149df795c0000cd", "ad442404414a057b5c0000d1", "ad4424044149cb775c0000cb", "ad442404414a19765c0000d3" ], "device" "mydevicename", "receivedtime" "2018 05 19t13 23 44z", "type" "aggregateevent", "eventid" "a85745f7 a348 4454 8a97 8eee2aeef853", "eventtime" "2018 05 19t13 23 36z", "version" 2 } version changes addition of the version property