IOperationServiceSearchStreets Method |
Searches streets and returns limited number of results.
Namespace: Resto.Front.ApiAssembly: Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
SyntaxIReadOnlyList<IStreet> SearchStreets(
string query,
SearchType searchType = SearchType.Prefix,
StreetFields fields = StreetFields.Name,
IReadOnlyList<ICity> cities = null
)
Parameters
- query String
-
Search query.
- searchType SearchType (Optional)
-
Type of search. Default type: Prefix
- fields StreetFields (Optional)
-
Street's fields for search. Default is Name.
- cities IReadOnlyListICity (Optional)
-
Optional filter for searching streets only in certain cities. Default is null, which means searching without filtering by city (in all citities).
Return Value
IReadOnlyListIStreet
See Also