Click or drag to resize

IOperationServiceSearchClients Method

Search clients. The number of results is limited.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
IReadOnlyList<IClient> SearchClients(
	string query,
	ICredentials credentials,
	SearchType searchType = SearchType.Prefix,
	ClientFields fields = ClientFields.All
)

Parameters

query
Type: SystemString
Search query.
credentials
Type: Resto.Front.Api.Data.SecurityICredentials
The credentials returned by AuthenticateByPin(String) method.
searchType (Optional)
Type: Resto.Front.Api.Data.SearchSearchType
Type of search. Default type: Prefix
fields (Optional)
Type: Resto.Front.Api.Data.SearchClientFields
Customer's fields for search. Default is All.

Return Value

Type: IReadOnlyListIClient
See Also