| Required role: | Consumer |
| GET | /find/filtering |
|---|
"use strict";
/** @typedef {'StreetParking'|'ParkingGarageNearby'} */
export var Parking;
(function (Parking) {
Parking["StreetParking"] = "StreetParking"
Parking["ParkingGarageNearby"] = "ParkingGarageNearby"
})(Parking || (Parking = {}));
/** @typedef {'Visa'|'MasterCard'|'AmericanExpress'|'Diners'|'Vipps'} */
export var PaymentOption;
(function (PaymentOption) {
PaymentOption["Visa"] = "Visa"
PaymentOption["MasterCard"] = "MasterCard"
PaymentOption["AmericanExpress"] = "AmericanExpress"
PaymentOption["Diners"] = "Diners"
PaymentOption["Vipps"] = "Vipps"
})(PaymentOption || (PaymentOption = {}));
/** @typedef {'Value'|'Medium'|'High'|'FineDining'} */
export var PriceMainDish;
(function (PriceMainDish) {
PriceMainDish["Value"] = "Value"
PriceMainDish["Medium"] = "Medium"
PriceMainDish["High"] = "High"
PriceMainDish["FineDining"] = "FineDining"
})(PriceMainDish || (PriceMainDish = {}));
/** @typedef {'Sunday'|'Monday'|'Tuesday'|'Wednesday'|'Thursday'|'Friday'|'Saturday'} */
export var DayOfWeek;
(function (DayOfWeek) {
DayOfWeek["Sunday"] = "Sunday"
DayOfWeek["Monday"] = "Monday"
DayOfWeek["Tuesday"] = "Tuesday"
DayOfWeek["Wednesday"] = "Wednesday"
DayOfWeek["Thursday"] = "Thursday"
DayOfWeek["Friday"] = "Friday"
DayOfWeek["Saturday"] = "Saturday"
})(DayOfWeek || (DayOfWeek = {}));
export class OpenAtTimeDto {
/** @param {{weekDay?:DayOfWeek,hour?:number,minute?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?DayOfWeek} */
weekDay;
/** @type {?number} */
hour;
/** @type {?number} */
minute;
}
export class BarTypeEsDto {
/** @param {{slug?:string,title?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
slug;
/** @type {string} */
title;
}
export class BarSpecialityEsDto {
/** @param {{slug?:string,title?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
slug;
/** @type {string} */
title;
}
export class BrandApiDto {
/** @param {{name?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
name;
}
export class CuisineEsDto {
/** @param {{label?:string,slug?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
label;
/** @type {string} */
slug;
}
export class MealTypeApiDto {
/** @param {{label?:string,slug?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
label;
/** @type {string} */
slug;
}
export class EatingSuitabilityApiDto {
/** @param {{label?:string,slug?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
label;
/** @type {string} */
slug;
}
export class ParkingApiDto {
/** @param {{label?:string,slug?:Parking}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
label;
/** @type {?Parking} */
slug;
}
export class PaymentOptionApiDto {
/** @param {{label?:string,slug?:PaymentOption}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
label;
/** @type {?PaymentOption} */
slug;
}
export class PriceMainDishApiDto {
/** @param {{title?:string,slug?:PriceMainDish}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
title;
/** @type {?PriceMainDish} */
slug;
}
export class TakeAwayApiDto {
/** @param {{label?:string,slug?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
label;
/** @type {string} */
slug;
}
export class WearPriceProfileEsDto {
/** @param {{slug?:string,label?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
slug;
/** @type {string} */
label;
}
/** @typedef {'BarSpeciality'|'BarType'|'Cuisine'|'SaveFoodAndMoney'|'MealType'|'Menu'|'OutdoorSeating'|'Parking'|'PaymentOptions'|'PriceMainDish'|'SubCategories'|'SubCategoriesAndBrands'|'EatingSuitabilities'|'TakeAway'|'WearPriceProfile'|'WheelChairAccessible'|'Wifi'|'WebShop'|'Filtering'} */
export var FeatureType;
(function (FeatureType) {
FeatureType["BarSpeciality"] = "BarSpeciality"
FeatureType["BarType"] = "BarType"
FeatureType["Cuisine"] = "Cuisine"
FeatureType["SaveFoodAndMoney"] = "SaveFoodAndMoney"
FeatureType["MealType"] = "MealType"
FeatureType["Menu"] = "Menu"
FeatureType["OutdoorSeating"] = "OutdoorSeating"
FeatureType["Parking"] = "Parking"
FeatureType["PaymentOptions"] = "PaymentOptions"
FeatureType["PriceMainDish"] = "PriceMainDish"
FeatureType["SubCategories"] = "SubCategories"
FeatureType["SubCategoriesAndBrands"] = "SubCategoriesAndBrands"
FeatureType["EatingSuitabilities"] = "EatingSuitabilities"
FeatureType["TakeAway"] = "TakeAway"
FeatureType["WearPriceProfile"] = "WearPriceProfile"
FeatureType["WheelChairAccessible"] = "WheelChairAccessible"
FeatureType["Wifi"] = "Wifi"
FeatureType["WebShop"] = "WebShop"
FeatureType["Filtering"] = "Filtering"
})(FeatureType || (FeatureType = {}));
JavaScript FindAvailableFilterRequest DTOs
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/filtering HTTP/1.1 Host: unstable-consumer-api.brovs.com Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<FindAvailableFilterResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ConsumerApi.Dto">
<BarSpecialities>
<BarSpecialityCountDto>
<Slug xmlns="http://schemas.datacontract.org/2004/07/Api.Dto">String</Slug>
<Title xmlns="http://schemas.datacontract.org/2004/07/Api.Dto">String</Title>
<Count>0</Count>
</BarSpecialityCountDto>
</BarSpecialities>
<BarTypes>
<BarTypeCountDto>
<Slug xmlns="http://schemas.datacontract.org/2004/07/Api.Dto">String</Slug>
<Title xmlns="http://schemas.datacontract.org/2004/07/Api.Dto">String</Title>
<Count>0</Count>
</BarTypeCountDto>
</BarTypes>
<Brands>
<BrandCountDto>
<Name xmlns="http://schemas.datacontract.org/2004/07/Api.Dto">String</Name>
<Count>0</Count>
</BrandCountDto>
</Brands>
<Categories>
<CategoryFacetTreeDto>
<AbsoluteSlug>String</AbsoluteSlug>
<AllImageUrl>String</AllImageUrl>
<Children>
<CategoryFacetTreeDto>
<AbsoluteSlug>String</AbsoluteSlug>
<AllImageUrl>String</AllImageUrl>
<Children>
<CategoryFacetTreeDto>
<AbsoluteSlug>String</AbsoluteSlug>
<AllImageUrl>String</AllImageUrl>
<Children i:nil="true" />
<Count>0</Count>
<FeatureTypes xmlns:d8p1="http://schemas.datacontract.org/2004/07/Entities.Database">
<d8p1:FeatureType>BarSpeciality</d8p1:FeatureType>
</FeatureTypes>
<IconImageUrl>String</IconImageUrl>
<ImageUrl>String</ImageUrl>
<Name>String</Name>
<Position>0</Position>
<Slug>String</Slug>
<Type>Parent</Type>
</CategoryFacetTreeDto>
</Children>
<Count>0</Count>
<FeatureTypes xmlns:d6p1="http://schemas.datacontract.org/2004/07/Entities.Database">
<d6p1:FeatureType>BarSpeciality</d6p1:FeatureType>
</FeatureTypes>
<IconImageUrl>String</IconImageUrl>
<ImageUrl>String</ImageUrl>
<Name>String</Name>
<Position>0</Position>
<Slug>String</Slug>
<Type>Parent</Type>
</CategoryFacetTreeDto>
</Children>
<Count>0</Count>
<FeatureTypes xmlns:d4p1="http://schemas.datacontract.org/2004/07/Entities.Database">
<d4p1:FeatureType>BarSpeciality</d4p1:FeatureType>
</FeatureTypes>
<IconImageUrl>String</IconImageUrl>
<ImageUrl>String</ImageUrl>
<Name>String</Name>
<Position>0</Position>
<Slug>String</Slug>
<Type>Parent</Type>
</CategoryFacetTreeDto>
</Categories>
<Cuisines>
<CuisineCountDto>
<Label xmlns="http://schemas.datacontract.org/2004/07/Api.Dto">String</Label>
<Slug xmlns="http://schemas.datacontract.org/2004/07/Api.Dto">String</Slug>
<Count>0</Count>
</CuisineCountDto>
</Cuisines>
<EatingSuitabilities>
<EatingSuitabilityCountDto>
<Label xmlns="http://schemas.datacontract.org/2004/07/Api.Dto">String</Label>
<Slug xmlns="http://schemas.datacontract.org/2004/07/Api.Dto">String</Slug>
<Count>0</Count>
</EatingSuitabilityCountDto>
</EatingSuitabilities>
<MealType>
<MealTypeCountDto>
<Label xmlns="http://schemas.datacontract.org/2004/07/Api.Dto">String</Label>
<Slug xmlns="http://schemas.datacontract.org/2004/07/Api.Dto">String</Slug>
<Count>0</Count>
</MealTypeCountDto>
</MealType>
<Parkings>
<ParkingCountDto>
<Label xmlns="http://schemas.datacontract.org/2004/07/Api.Dto">String</Label>
<Slug xmlns="http://schemas.datacontract.org/2004/07/Api.Dto">StreetParking</Slug>
<Count>0</Count>
</ParkingCountDto>
</Parkings>
<PaymentOptions>
<PaymentOptionCountDto>
<Label xmlns="http://schemas.datacontract.org/2004/07/Api.Dto">String</Label>
<Slug xmlns="http://schemas.datacontract.org/2004/07/Api.Dto">Visa</Slug>
<Count>0</Count>
</PaymentOptionCountDto>
</PaymentOptions>
<PriceMainDishes>
<PriceMainDishCountDto>
<Slug xmlns="http://schemas.datacontract.org/2004/07/Api.Dto">Value</Slug>
<Title xmlns="http://schemas.datacontract.org/2004/07/Api.Dto">String</Title>
<Count>0</Count>
</PriceMainDishCountDto>
</PriceMainDishes>
<TakeAways>
<TakeAwayCountDto>
<Label xmlns="http://schemas.datacontract.org/2004/07/Api.Dto">String</Label>
<Slug xmlns="http://schemas.datacontract.org/2004/07/Api.Dto">String</Slug>
<Count>0</Count>
</TakeAwayCountDto>
</TakeAways>
<WearPriceProfiles>
<WearPriceProfileCountDto>
<Label xmlns="http://schemas.datacontract.org/2004/07/Api.Dto">String</Label>
<Slug xmlns="http://schemas.datacontract.org/2004/07/Api.Dto">String</Slug>
<Count>0</Count>
</WearPriceProfileCountDto>
</WearPriceProfiles>
</FindAvailableFilterResponse>