Click or drag to resize

IeCommerceServiceReplEcommMember Method

Replicate Member contacts

Namespace:  LSOmni.Service
Assembly:  LSOmni.Service (in LSOmni.Service.dll) Version: LS Omni 3.7.0
Syntax
C#
ReplCustomerResponse ReplEcommMember(
	ReplRequest replRequest
)

Parameters

replRequest
Type: LSRetail.Omni.Domain.DataModel.Loyalty.ReplicationReplRequest
Replication request object

Return Value

Type: ReplCustomerResponse
Replication result object with List of Member contacts
Remarks
LS Nav/Central Main Table data: 99009002 - Member Contact (with valid Membership Card)

All ReplEcommXX web methods work the same. For full replication of all data, set FullReplication to true and lastkey and maxkey to 0. For delta (or updated data) replication, set FullReplication to false and LastKey to the last value returned from previous call. The BatchSize is how many records are to be returned in each batch.

NOTE: LastKey from each ReplEcommXX call needs to be stored between all calles to OMNI, both during full or delta replication. To reset replication and get all data again, set LastKey to 0 and perform a full replication.

See Also