Click or drag to resize

IUCServiceSalesEntriesGetByCardIdEx Method

Get All Sales Entries (Transactions and Orders) by Card Id and optional filter by Store Id and Registration Date

Namespace:  LSOmni.Service
Assembly:  LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2024.6
Syntax
C#
List<SalesEntry> SalesEntriesGetByCardIdEx(
	string cardId,
	string storeId,
	DateTime date,
	bool dateGreaterThan,
	int maxNumberOfEntries
)

Parameters

cardId
Type: SystemString
Card Id (Required)
storeId
Type: SystemString
Filter by Store Id
date
Type: SystemDateTime
Filter by Registration Date. Set Date value to MinValue (0001-01-01) to skip Date Filtering
dateGreaterThan
Type: SystemBoolean
Get Entries Greater (true) or Less (false) than Filter Date
maxNumberOfEntries
Type: SystemInt32
max number of transactions returned

Return Value

Type: ListSalesEntry
List of most recent Transactions for a contact
Exceptions
ExceptionCondition
LSOmniServiceExceptionStatusCodes returned:
  • StatusCode.Error
  • StatusCode.SecurityTokenInvalid
  • StatusCode.UserNotLoggedIn
  • StatusCode.DeviceIsBlocked
  • StatusCode.AccessNotAllowed
Remarks
LS Central OData: GetMemberContactSalesHistory
See Also