GET api/b2c/searchSuggestions
Gets a list of search suggestions.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
A collection of SearchSuggestionViewModel objects.
Collection of Cyberlogic.eTourism.Domain.ViewModels.Excursions.B2C.SearchSuggestionViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
Type | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Name": "sample string 2", "Type": "sample string 3" }, { "Id": 1, "Name": "sample string 2", "Type": "sample string 3" } ]
text/html
Sample:
[{"Id":1,"Name":"sample string 2","Type":"sample string 3"},{"Id":1,"Name":"sample string 2","Type":"sample string 3"}]
application/xml, text/xml
Sample:
<ArrayOfSearchSuggestionViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Excursions.B2C"> <SearchSuggestionViewModel> <Id>1</Id> <Name>sample string 2</Name> <Type>sample string 3</Type> </SearchSuggestionViewModel> <SearchSuggestionViewModel> <Id>1</Id> <Name>sample string 2</Name> <Type>sample string 3</Type> </SearchSuggestionViewModel> </ArrayOfSearchSuggestionViewModel>