Click or drag to resize

IUCJsonContactSearch Method

Search for list of Member Contacts by different searchType methods, will return any contact that will match the search value.

Namespace:  LSOmni.Service
Assembly:  LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2024.4
Syntax
C#
List<MemberContact> ContactSearch(
	ContactSearchType searchType,
	string search,
	int maxNumberOfRowsReturned
)

Parameters

searchType
Type: LSRetail.Omni.Domain.DataModel.Loyalty.MembersContactSearchType
Field to search by
search
Type: SystemString
Search value
maxNumberOfRowsReturned
Type: SystemInt32
Max number of record, if set to 1 the exact search will be performed

Return Value

Type: ListMemberContact
Remarks
LS Central WS2 : GetMemberContact2

LS Central WS4 : GetMemberContactInfo

Examples
Sample request to search by Name
REST Sample Request
{
   "searchType": 4,
   "search": "Sarah",
   "maxNumberOfRowsReturned": 10,
}
See Also