Click or drag to resize

IUCServiceReplEcommAttribute Method

Replicate Attributes

Namespace: LSOmni.Service
Assembly: LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2026.8.0
Syntax
C#
ReplAttributeResponse ReplEcommAttribute(
	ReplRequest replRequest
)

Parameters

replRequest  ReplRequest
Replication request object

Return Value

ReplAttributeResponse
Replication result object with List of attributes
Remarks
LS Central Main Table data: 10000784 LSC Attribute

LS Central WS4: GetAttribute

Most ReplEcommXX web methods work the same way. 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 and MaxKey to the last value returned from previous call. The BatchSize is how many records are to be returned in each batch. Delta replication uses PreActions in LS Central, IsDeleted field will true if Delete PreAction is found.

NOTE: LastKey and MaxKey from each ReplEcommXX call needs to be stored between all calls to Commerce Service for LS Central, both during full or delta replication. To reset replication and get all delta data again, set LastKey and MaxKey to 0 and perform a full replication.

Example
This Sample request can be used in SOAP UI application to send request to LS Commerce.

Sample request can be used with all other Replication functions

SOAP Sample Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://lsretail.com/LSOmniService/EComm/2017/Service" xmlns:ns="http://lsretail.com/LSOmniService/Base/2017" xmlns:ns1="http://lsretail.com/LSOmniService/Loy/2017">
  <soapenv:Header/>
  <soapenv:Body>
     <ser:ReplEcommAttribute>
        <ser:replRequest>
           <ns1:BatchSize>100</ns1:BatchSize>
           <ns1:FullReplication>true</ns1:FullReplication>
           <ns1:LastKey></ns1:LastKey>
           <ns1:MaxKey></ns1:MaxKey>
           <ns1:StoreId>S0013</ns1:StoreId>
        </ser:replRequest>
     </ser:ReplEcommAttribute>
  </soapenv:Body>
</soapenv:Envelope>
See Also