Click or drag to resize

IUCJsonContactGetByCardId Method

Get Member Contact by card Id. This function returns all information about the Member contact, including Profiles, Offers, Sales history, Onelist baskets and notifications. To get basic information, use ContactGet.

Namespace:  LSOmni.Service
Assembly:  LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2024.4
Syntax
C#
MemberContact ContactGetByCardId(
	string cardId,
	int numberOfTransReturned
)

Parameters

cardId
Type: SystemString
Card Id
numberOfTransReturned
Type: SystemInt32
Number of Sales History to return, 0 = all

Return Value

Type: MemberContact
Contact
Exceptions
ExceptionCondition
LSOmniServiceExceptionStatusCodes returned:
  • StatusCode.Error
  • StatusCode.SecurityTokenInvalid
  • StatusCode.UserNotLoggedIn
  • StatusCode.DeviceIsBlocked
  • StatusCode.AccessNotAllowed
Remarks
LS Central WS2 : GetMemberContact2

LS Central WS4 : GetMemberContactInfo

See Also