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 .csv suffix or ?format=csv
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: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"suggestions":[{"category":{"name":"String","absoluteSlug":"String"},"brand":{"name":"String","categoryAbsoluteSlug":"String"},"place":{"name":"String"},"freeText":{"term":"String"}}]}