Adding Event Data in SubMan Requests
You can pass data in SubMan requests in the MtxApiEventDataExtension MDC to be included in EDRs.
You can sub-class the MtxApiEventDataExtension MDC to define your own custom API event
data. You add data in the ApiEventData
struct field (of type
MtxApiEventDataExtension), to set your own custom-defined API event data on any SubMan
request. This field is included in the MtxPrimaryEvent MDC.
All events that extend from MtxPrimaryEvent can contain custom API event data.
When you include API event data on a SubMan request, relevant events associated with the request contain the supplied custom API event data.
For Multi-Request operations (MtxRequestMulti), you can set the
ApiEventData
field at either the Multi-Request parent level or the
embedded request child level.
- If the parent request sets
ApiEventData
, all child requests inherit theApiEventData
. - If a child request sets a specific
ApiEventData
value, it overrides the parent.
See the discussion about adding custom MDCs in MATRIXX Integration for more information. For information about including fields defined in the MtxApiEventDataExtension MDC in GL entries, see the discussion about General Ledger records in MATRIXX Integration.