EDR Contents
Event Detail Record (EDR) content is derived from multiple MATRIXX Data Containers (MDCs), including MtxEvent, MtxPrimaryEvent, and MtxSecondaryEvent MDCs.
Primary Events
EventId
of a primary event to search the MATRIXX in-memory database and the Event Repository for primary events and balance impacts recorded in associated secondary events. Secondary
events are not returned. See the discussion about querying events with the SubMan APIs for information about querying events.
Secondary Events
walletId=group_id
and
initiatorId=subscriber_id
. In the MDC of the primary event, the SecondaryEventIdList
field stores the event ID of each
associated secondary event. In the MDC of the secondary event, the PrimaryEventId
field stores the event ID of its primary event.Secondary events do not duplicate the primary event balance impact information. A primary event and all its secondary events are recorded in the same MEF file.
SecondaryEventType
field in the MtxSecondaryEvent MDC indicates
that the event is one of the following:- sponsor (1) — Indicates that the event is the sponsor.
- balance transfer (4) — Indicates that the event is for a balance transfer.
Associated Events
An event can have a field such as AssociatedEventIdList
or
AssociatedEventId
. These fields can be used to find related
events. For example, if a subscription uses Pay Now
to purchase an offer with recurring fees, multiple events are generated. The
MtxPurchaseEvent has the eventId
of the recurring event (in the
AssociatedEventIdList
field), and the MtxRecurringEvent has the
event ID of the purchase event (in the AssociatedEventId field. In this example, the
MtxPaymentAuthorizationEvent has the eventId
of the recurring event
or the purchase event (in the AssociatedEventIdList
field), and the
recurring or purchase event has the eventId
of the
MtxPaymentAuthorizationEvent in the PaymentAuthEventId
field.
The event query REST APIs return events which can have the
AssociatedEventIdList
or AssociatedEventId
fields.
See the discussion about querying events with the SubMan APIs for information about querying events.