AggregateEvent

AggregateEvent is used to indicate a change in the current tag list. For example, if a tag is removed from a device's read zone, an AggregateEvent message is published with REMOVE and the EPC of the tag removed. If a tag is added to a device's read zone, an AggregateEvent message is published with ADD and the EPC of the tag added.

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

PassRfid

string

The pass associated with the transaction.

Adds

array(string)

The EPC tag numbers added in this transaction.

Removes

array(string)

The EPC tag numbers removed in this transaction.

Published AggregateEvent

{
    "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
}
Addition of the Version property