Click or drag to resize

IOperationService.SearchClients Method

Search clients. The number of results is limited.

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

Parameters

query
Type: System.String
Search query.
credentials
Type: Resto.Front.Api.Data.Security.ICredentials
The credentials returned by AuthenticateByPin(String) method.
searchType (Optional)
Type: Resto.Front.Api.Data.Search.SearchType
Type of search. Default type: Prefix
fields (Optional)
Type: Resto.Front.Api.Data.Search.ClientFields
Customer's fields for search. Default is All.

Return Value

Type: IReadOnlyList<IClient>
See Also