Required role: | Consumer |
GET | /find/completion |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Filter | query | QueryFilterDto | Yes | |
Location | query | QueryLocationDto | Yes |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Term | form | string | No | |
PlaceGuid | form | Guid? | No | |
AdMessageGuid | form | Guid? | No | |
CategoryAbsoluteSlugs | form | List<string> | No | |
BarSpecialitySlugs | form | List<string> | No | |
BarTypeSlugs | form | List<string> | No | |
BrandNames | form | List<string> | No | |
CuisineSlugs | form | List<string> | No | |
MealTypeSlugs | form | List<string> | No | |
Parking | form | List<Parking> | No | |
PaymentOptions | form | List<PaymentOption> | No | |
PriceMainDishes | form | List<PriceMainDish> | No | |
EatingSuitabilitySlugs | form | List<string> | No | |
TakeAwaySlugs | form | List<string> | No | |
WearPriceProfileSlugs | form | List<string> | No | |
WheelChairAccessible | form | bool? | No | |
Wifi | form | bool? | No | |
OutdoorSeating | form | bool? | No | |
SaveFoodAndMoney | form | bool? | No | |
OpenAt | form | OpenAtTimeDto | No |
StreetParking | |
ParkingGarageNearby |
Visa | |
MasterCard | |
AmericanExpress | |
Diners | |
Vipps |
Value | |
Medium | |
High | |
FineDining |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
WeekDay | form | DayOfWeek | No | |
Hour | form | int | No | |
Minute | form | int | No |
Sunday | |
Monday | |
Tuesday | |
Wednesday | |
Thursday | |
Friday | |
Saturday |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Longitude | form | float? | No | |
Latitude | form | float? | No | |
SearchRadiusInKm | form | float? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Suggestions | form | List<FindSearchCompletionEntry> | Yes |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Category | form | FindSearchCompletionCategory | No | |
Brand | form | FindSearchCompletionBrand | No | |
Place | form | FindSearchCompletionPlace | No | |
FreeText | form | FindSearchCompletionFreeText | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Name | form | string | Yes | |
AbsoluteSlug | form | string | Yes |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Name | form | string | Yes | |
CategoryAbsoluteSlug | form | string | Yes |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Name | form | string | Yes | |
Guid | form | Guid | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Term | form | string | Yes |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /find/completion HTTP/1.1 Host: consumer-api.brovs.com Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <FindSearchCompletionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ConsumerApi.Dto"> <Suggestions> <FindSearchCompletionEntry> <Brand> <CategoryAbsoluteSlug>String</CategoryAbsoluteSlug> <Name>String</Name> </Brand> <Category> <AbsoluteSlug>String</AbsoluteSlug> <Name>String</Name> </Category> <FreeText> <Term>String</Term> </FreeText> <Place> <Guid>00000000-0000-0000-0000-000000000000</Guid> <Name>String</Name> </Place> </FindSearchCompletionEntry> </Suggestions> </FindSearchCompletionResponse>