ConsumerApi

<back to all web services

FindAvailableFilterRequest

Consumer
Requires Authentication
Required role:Consumer
The following routes are available for this service:
GET/find/filtering
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports ConsumerApi

Namespace Global

    Namespace ConsumerApi

        Public Partial Class BarSpecialityEsDto
            Public Property Slug As String
            Public Property Title As String
        End Class

        Public Partial Class BarTypeEsDto
            Public Property Slug As String
            Public Property Title As String
        End Class

        Public Partial Class BrandApiDto
            Public Property Name As String
        End Class

        Public Partial Class CuisineEsDto
            Public Property Label As String
            Public Property Slug As String
        End Class

        Public Partial Class EatingSuitabilityApiDto
            Public Property Label As String
            Public Property Slug As String
        End Class

        Public Partial Class MealTypeApiDto
            Public Property Label As String
            Public Property Slug As String
        End Class

        Public Partial Class ParkingApiDto
            Public Property Label As String
            Public Property Slug As Parking
        End Class

        Public Partial Class PaymentOptionApiDto
            Public Property Label As String
            Public Property Slug As PaymentOption
        End Class

        Public Partial Class PriceMainDishApiDto
            Public Property Title As String
            Public Property Slug As PriceMainDish
        End Class

        Public Partial Class TakeAwayApiDto
            Public Property Label As String
            Public Property Slug As String
        End Class

        Public Partial Class WearPriceProfileEsDto
            Public Property Slug As String
            Public Property Label As String
        End Class

        Public Enum DayOfWeek
            Sunday
            Monday
            Tuesday
            Wednesday
            Thursday
            Friday
            Saturday
        End Enum

        Public Partial Class OpenAtTimeDto
            Public Property WeekDay As DayOfWeek
            Public Property Hour As Integer
            Public Property Minute As Integer
        End Class

        Public Enum FeatureType
            BarSpeciality
            BarType
            Cuisine
            SaveFoodAndMoney
            MealType
            Menu
            OutdoorSeating
            Parking
            PaymentOptions
            PriceMainDish
            SubCategories
            SubCategoriesAndBrands
            EatingSuitabilities
            TakeAway
            WearPriceProfile
            WheelChairAccessible
            Wifi
            WebShop
            Filtering
        End Enum

        Public Enum Parking
            StreetParking
            ParkingGarageNearby
        End Enum

        Public Enum PaymentOption
            Visa
            MasterCard
            AmericanExpress
            Diners
            Vipps
        End Enum

        Public Enum PriceMainDish
            Value
            Medium
            High
            FineDining
        End Enum
    End Namespace
End Namespace

VB.NET FindAvailableFilterRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"barTypes":[{"count":0,"slug":"String","title":"String"}],"barSpecialities":[{"count":0,"slug":"String","title":"String"}],"brands":[{"count":0,"name":"String"}],"cuisines":[{"count":0,"label":"String","slug":"String"}],"mealType":[{"count":0,"label":"String","slug":"String"}],"eatingSuitabilities":[{"count":0,"label":"String","slug":"String"}],"parkings":[{"count":0,"label":"String","slug":"StreetParking"}],"paymentOptions":[{"count":0,"label":"String","slug":"Visa"}],"priceMainDishes":[{"count":0,"title":"String","slug":"Value"}],"takeAways":[{"count":0,"label":"String","slug":"String"}],"wearPriceProfiles":[{"count":0,"slug":"String","label":"String"}],"categories":[{"name":"String","slug":"String","absoluteSlug":"String","featureTypes":["BarSpeciality"],"type":"Parent","count":0,"imageUrl":"String","allImageUrl":"String","iconImageUrl":"String","position":0,"children":[{"name":"String","slug":"String","absoluteSlug":"String","featureTypes":["BarSpeciality"],"type":"Parent","count":0,"imageUrl":"String","allImageUrl":"String","iconImageUrl":"String","position":0,"children":[{"name":"String","slug":"String","absoluteSlug":"String","featureTypes":["BarSpeciality"],"type":"Parent","count":0,"imageUrl":"String","allImageUrl":"String","iconImageUrl":"String","position":0}]}]}]}