Share via


Commerce Foundation EventRecord CommerceCreate

This operation is used to record significant shopper events. Commerce Server leverages the recordevent pipeline to record these events.

Syntax

        var createEvent = new CommerceCreate<CommerceEntity>("EventRecord");
      

Operation Sequence Components

Operation Sequence Component

Description

EventRecordLoader

The name of the Commerce Server pipeline used to record the marketing event can be specified in this Operation Sequence component's configuration. The default name used is recordevent.

EventRecordCommitter

Runs the recordevent Operation Sequence with the order and context dictionaries that the EventRecordLoader component creates, and creates the operation response. The EventRecord returned will be identical to the one provided; no additional information from the Operation Sequence is useful.

None.

Return Value

If a ReturnModel is specified in the operation request, the CommerceCreateOperationResponse will contain the EventRecord created.

Exceptions

Microsoft Multi-Channel Commerce Foundation can throw the following exception during this operation:

  • FaultException<GeneralOperationFault>

See Also

Other Resources

Commerce Foundation EventRecord

CommerceCreate