IUCServiceContactSearch Method |
Search for list of Member Contacts by different searchType methods,
will return any contact that will match the search value.
Namespace: LSOmni.ServiceAssembly: LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2026.8.0
SyntaxList<MemberContact> ContactSearch(
ContactSearchType searchType,
string search,
int maxNumberOfRowsReturned
)
Parameters
- searchType ContactSearchType
- Field to search by
- search String
- Search value
- maxNumberOfRowsReturned Int32
- Max number of record, if set to 1 the exact search will be performed
Return Value
ListMemberContact
Remarks
LS Central WS2: GetMemberContact2
LS Central WS4: GetMemberContactInfo
Example
This Sample request can be used in SOAP UI application to send request to LS Commerce.
Sample request to search by Name
<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:ContactSearch>
<ser:searchType>Name</ser:searchType>
<ser:search>Sarah</ser:search>
<ser:maxNumberOfRowsReturned>10</ser:maxNumberOfRowsReturned>
</ser:ContactSearch>
</soapenv:Body>
</soapenv:Envelope>
See Also