Required role: | Consumer |
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 CategoryTreeApiDto
Public Property Name As String
Public Property Slug As String
Public Property AbsoluteSlug As String
Public Property ImageUrl As String
Public Property AllImageUrl As String
Public Property IconImageUrl As String
Public Property Position As Integer
Public Property Children As List(Of CategoryTreeApiDto) = New List(Of CategoryTreeApiDto)
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 IndividualFeatureDataApiDto
Public Property Slug As FeatureType
Public Property Label As String
End Class
Public Partial Class MallOtherServiceApiDto
Public Property ServiceName As String
Public Property Floor As String
End Class
Public Partial Class MealTypeApiDto
Public Property Label As String
Public Property Slug As String
End Class
Public Partial Class MenuEsDto
Public Property Name As String
Public Property Url As String
Public Property Position As Integer
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 PlaceApiDto
Public Property Id As Long
Public Property Guid As Guid
Public Property Overview As String
Public Property Name As String
Public Property Longitude As Single
Public Property Latitude As Single
Public Property Claimed As Boolean
Public Property OrganizationNumber As String
Public Property CountryCode As String
Public Property PlaceState As String
Public Property FollowersCount As Long
Public Property OpeningHours As OpeningHours
Public Property Categories As List(Of CategoryTreeApiDto) = New List(Of CategoryTreeApiDto)
Public Property FeatureData As List(Of IndividualFeatureDataApiDto) = New List(Of IndividualFeatureDataApiDto)
Public Property BarSpecialities As List(Of BarSpecialityEsDto) = New List(Of BarSpecialityEsDto)
Public Property BarTypes As List(Of BarTypeEsDto) = New List(Of BarTypeEsDto)
Public Property Brands As List(Of PlaceSelectedBrandApiDto) = New List(Of PlaceSelectedBrandApiDto)
Public Property Cuisines As List(Of CuisineEsDto) = New List(Of CuisineEsDto)
Public Property MealTypes As List(Of MealTypeApiDto) = New List(Of MealTypeApiDto)
Public Property Parking As List(Of ParkingApiDto) = New List(Of ParkingApiDto)
Public Property PaymentOptions As List(Of PaymentOptionApiDto) = New List(Of PaymentOptionApiDto)
Public Property EatingSuitabilities As List(Of EatingSuitabilityApiDto) = New List(Of EatingSuitabilityApiDto)
Public Property TakeAways As List(Of TakeAwayApiDto) = New List(Of TakeAwayApiDto)
Public Property WearPriceProfiles As List(Of WearPriceProfileEsDto) = New List(Of WearPriceProfileEsDto)
Public Property Menus As List(Of MenuEsDto) = New List(Of MenuEsDto)
Public Property LogoUrl As ImageUrls
Public Property ImageUrl As ImageUrls
Public Property WheelchairAccessible As Boolean?
Public Property Wifi As Boolean?
Public Property OutdoorSeating As Boolean?
Public Property SaveFoodAndMoney As Boolean?
Public Property PlaceType As PlaceType
Public Property Mall As PlaceBasicApiDto
Public Property PriceMainDish As PriceMainDishApiDto
Public Property Places As List(Of PlaceBasicApiDto) = New List(Of PlaceBasicApiDto)
Public Property OtherServices As List(Of MallOtherServiceApiDto) = New List(Of MallOtherServiceApiDto)
Public Property Floor As String
Public Property TimeZoneDto As TimeZoneDto
Public Property BusinessId As Long?
Public Property Contact As PlaceContact
Public Property Address As PlaceAddress
End Class
Public Partial Class PlaceBasicApiDto
Public Property Id As Long
Public Property Guid As Guid
Public Property Overview As String
Public Property Name As String
Public Property Longitude As Single
Public Property Latitude As Single
Public Property Claimed As Boolean
Public Property OrganizationNumber As String
Public Property CountryCode As String
Public Property OpeningHours As OpeningHours
Public Property WheelchairAccessible As Boolean?
Public Property Wifi As Boolean?
Public Property OutdoorSeating As Boolean?
Public Property SaveFoodAndMoney As Boolean?
Public Property PlaceType As PlaceType
Public Property PriceMainDish As PriceMainDishApiDto
Public Property TimeZoneDto As TimeZoneDto
Public Property BusinessId As Long?
Public Property Contact As PlaceContact
Public Property Address As PlaceAddress
Public Property Categories As List(Of CategoryTreeApiDto) = New List(Of CategoryTreeApiDto)
Public Property LogoUrl As ImageUrls
Public Property ImageUrl As ImageUrls
Public Property WearPriceProfiles As List(Of WearPriceProfileEsDto) = New List(Of WearPriceProfileEsDto)
Public Property Brands As List(Of PlaceSelectedBrandApiDto) = New List(Of PlaceSelectedBrandApiDto)
Public Property Floor As String
End Class
Public Partial Class PlaceCustomBrandApiDto
Public Property Name As String
End Class
Public Partial Class PlaceSelectedBrandApiDto
Public Property Brand As BrandApiDto
Public Property CategoryAbsoluteSlugs As String() = New String(){}
Public Property PlaceCustomBrand As PlaceCustomBrandApiDto
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 ImageUrls
Public Property Preview As String
Public Property Small As String
Public Property Medium As String
Public Property Large As String
End Class
Public Partial Class OpenAtTimeDto
Public Property WeekDay As DayOfWeek
Public Property Hour As Integer
Public Property Minute As Integer
End Class
Public Partial Class OpeningHour
Public Property OpenAtHour As Integer
Public Property OpenAtMinute As Integer
Public Property CloseAtHour As Integer
Public Property CloseAtMinute As Integer
End Class
Public Partial Class OpeningHours
Public Property Weekly As WeeklyOpeningHours
End Class
Public Partial Class PlaceAddress
Public Property Street As String
Public Property PostalCode As String
Public Property Region As String
Public Property CountryCode As String
End Class
Public Partial Class PlaceContact
Public Property Phone As String
Public Property Email As String
Public Property Website As String
Public Property WebShop As String
End Class
Public Enum PlaceType
Mall
Regular
End Enum
Public Partial Class TimeZoneDto
Public Property BaseUtcOffset As TimeSpan
Public Property DaylightName As String
Public Property DisplayName As String
Public Property Id As String
Public Property StandardName As String
Public Property SupportsDaylightSavingTime As Boolean
End Class
Public Partial Class WeeklyOpeningHours
Public Property Monday As OpeningHour
Public Property Tuesday As OpeningHour
Public Property Wednesday As OpeningHour
Public Property Thursday As OpeningHour
Public Property Friday As OpeningHour
Public Property Saturday As OpeningHour
Public Property Sunday As OpeningHour
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 FindBoundedMapPlacesRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsonl/reply/FindBoundedMapPlacesRequest HTTP/1.1
Host: unstable-consumer-api.brovs.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"cacheVersion":0,"filter":{"term":"String","placeGuid":"00000000-0000-0000-0000-000000000000","adMessageGuid":"00000000-0000-0000-0000-000000000000","categoryAbsoluteSlugs":["String"],"barSpecialitySlugs":["String"],"barTypeSlugs":["String"],"brandNames":["String"],"cuisineSlugs":["String"],"mealTypeSlugs":["String"],"parking":["StreetParking"],"paymentOptions":["Visa"],"priceMainDishes":["Value"],"eatingSuitabilitySlugs":["String"],"takeAwaySlugs":["String"],"wearPriceProfileSlugs":["String"],"wheelChairAccessible":false,"wifi":false,"outdoorSeating":false,"saveFoodAndMoney":false,"openAt":{"weekDay":"Sunday","hour":0,"minute":0}},"bounds":{"north":0,"south":0,"east":0,"west":0,"clusterZoomLevel":0}}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"clusters":[{"count":0,"latitude":0,"longitude":0}],"placesWithDisplayLocation":[{"place":{"id":0,"overview":"String","name":"String","longitude":0,"latitude":0,"claimed":false,"organizationNumber":"String","countryCode":"String","placeState":"String","followersCount":0,"openingHours":{"weekly":{"monday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0},"tuesday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0},"wednesday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0},"thursday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0},"friday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0},"saturday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0},"sunday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0}}},"categories":[{"name":"String","slug":"String","absoluteSlug":"String","imageUrl":"String","allImageUrl":"String","iconImageUrl":"String","position":0,"children":[{"name":"String","slug":"String","absoluteSlug":"String","imageUrl":"String","allImageUrl":"String","iconImageUrl":"String","position":0,"children":[{"name":"String","slug":"String","absoluteSlug":"String","imageUrl":"String","allImageUrl":"String","iconImageUrl":"String","position":0}]}]}],"featureData":[{"slug":"BarSpeciality","label":"String"}],"barSpecialities":[{"slug":"String","title":"String"}],"barTypes":[{"slug":"String","title":"String"}],"brands":[{"brand":{"name":"String"},"categoryAbsoluteSlugs":["String"],"placeCustomBrand":{"name":"String"}}],"cuisines":[{"label":"String","slug":"String"}],"mealTypes":[{"label":"String","slug":"String"}],"parking":[{"label":"String","slug":"StreetParking"}],"paymentOptions":[{"label":"String","slug":"Visa"}],"eatingSuitabilities":[{"label":"String","slug":"String"}],"takeAways":[{"label":"String","slug":"String"}],"wearPriceProfiles":[{"slug":"String","label":"String"}],"menus":[{"name":"String","url":"String","position":0}],"logoUrl":{"preview":"String","small":"String","medium":"String","large":"String"},"imageUrl":{"preview":"String","small":"String","medium":"String","large":"String"},"wheelchairAccessible":false,"wifi":false,"outdoorSeating":false,"saveFoodAndMoney":false,"placeType":"Mall","mall":{"id":0,"overview":"String","name":"String","longitude":0,"latitude":0,"claimed":false,"organizationNumber":"String","countryCode":"String","openingHours":{"weekly":{"monday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0},"tuesday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0},"wednesday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0},"thursday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0},"friday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0},"saturday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0},"sunday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0}}},"wheelchairAccessible":false,"wifi":false,"outdoorSeating":false,"saveFoodAndMoney":false,"placeType":"Mall","priceMainDish":{"title":"String","slug":"Value"},"timeZoneDto":{"baseUtcOffset":"PT0S","daylightName":"String","displayName":"String","id":"String","standardName":"String","supportsDaylightSavingTime":false},"businessId":0,"contact":{"phone":"String","email":"String","website":"String","webShop":"String"},"address":{"street":"String","postalCode":"String","region":"String","countryCode":"String"},"categories":[{"name":"String","slug":"String","absoluteSlug":"String","imageUrl":"String","allImageUrl":"String","iconImageUrl":"String","position":0,"children":[{"name":"String","slug":"String","absoluteSlug":"String","imageUrl":"String","allImageUrl":"String","iconImageUrl":"String","position":0,"children":[{"name":"String","slug":"String","absoluteSlug":"String","imageUrl":"String","allImageUrl":"String","iconImageUrl":"String","position":0}]}]}],"logoUrl":{"preview":"String","small":"String","medium":"String","large":"String"},"imageUrl":{"preview":"String","small":"String","medium":"String","large":"String"},"wearPriceProfiles":[{"slug":"String","label":"String"}],"brands":[{"brand":{"name":"String"},"categoryAbsoluteSlugs":["String"],"placeCustomBrand":{"name":"String"}}],"floor":"String"},"priceMainDish":{"title":"String","slug":"Value"},"places":[{"id":0,"overview":"String","name":"String","longitude":0,"latitude":0,"claimed":false,"organizationNumber":"String","countryCode":"String","openingHours":{"weekly":{"monday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0},"tuesday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0},"wednesday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0},"thursday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0},"friday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0},"saturday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0},"sunday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0}}},"wheelchairAccessible":false,"wifi":false,"outdoorSeating":false,"saveFoodAndMoney":false,"placeType":"Mall","priceMainDish":{"title":"String","slug":"Value"},"timeZoneDto":{"baseUtcOffset":"PT0S","daylightName":"String","displayName":"String","id":"String","standardName":"String","supportsDaylightSavingTime":false},"businessId":0,"contact":{"phone":"String","email":"String","website":"String","webShop":"String"},"address":{"street":"String","postalCode":"String","region":"String","countryCode":"String"},"categories":[{"name":"String","slug":"String","absoluteSlug":"String","imageUrl":"String","allImageUrl":"String","iconImageUrl":"String","position":0,"children":[{"name":"String","slug":"String","absoluteSlug":"String","imageUrl":"String","allImageUrl":"String","iconImageUrl":"String","position":0,"children":[{"name":"String","slug":"String","absoluteSlug":"String","imageUrl":"String","allImageUrl":"String","iconImageUrl":"String","position":0}]}]}],"logoUrl":{"preview":"String","small":"String","medium":"String","large":"String"},"imageUrl":{"preview":"String","small":"String","medium":"String","large":"String"},"wearPriceProfiles":[{"slug":"String","label":"String"}],"brands":[{"brand":{"name":"String"},"categoryAbsoluteSlugs":["String"],"placeCustomBrand":{"name":"String"}}],"floor":"String"}],"otherServices":[{"serviceName":"String","floor":"String"}],"floor":"String","timeZoneDto":{"baseUtcOffset":"PT0S","daylightName":"String","displayName":"String","id":"String","standardName":"String","supportsDaylightSavingTime":false},"businessId":0,"contact":{"phone":"String","email":"String","website":"String","webShop":"String"},"address":{"street":"String","postalCode":"String","region":"String","countryCode":"String"}},"crowdedMapDisplayLocation":{"longitude":0,"latitude":0}}],"categoryFacetTrees":[{"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}]}]}],"adMessageCount":0,"adMessageSaveFoodAndMoneyCount":0}