Required role: | Consumer |
GET | /place/GetFollowingList |
---|
import datetime
import decimal
from marshmallow.fields import *
from servicestack import *
from typing import *
from dataclasses import dataclass, field
from dataclasses_json import dataclass_json, LetterCase, Undefined, config
from enum import Enum, IntEnum
# module ConsumerApi
Python GetFollowingListRequest 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 /place/GetFollowingList HTTP/1.1 Host: consumer-api.brovs.com Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <GetFollowingListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ConsumerApi.Dto"> <Places> <PlaceDto> <Address xmlns:d4p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d4p1:CountryCode>String</d4p1:CountryCode> <d4p1:PostalCode>String</d4p1:PostalCode> <d4p1:Region>String</d4p1:Region> <d4p1:Street>String</d4p1:Street> </Address> <BarSpecialities> <BarSpecialityDto> <Slug>String</Slug> <Title>String</Title> </BarSpecialityDto> </BarSpecialities> <BarTypes> <BarTypeDto> <Slug>String</Slug> <Title>String</Title> </BarTypeDto> </BarTypes> <Brands> <PlaceSelectedBrandDto> <Brand> <Name>String</Name> </Brand> <CategoryAbsoluteSlugs xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:string>String</d6p1:string> </CategoryAbsoluteSlugs> <PlaceCustomBrand> <Name>String</Name> </PlaceCustomBrand> </PlaceSelectedBrandDto> </Brands> <BusinessId>0</BusinessId> <Categories> <CategoryTreeDto> <AbsoluteSlug>String</AbsoluteSlug> <AllImageUrl>String</AllImageUrl> <Children> <CategoryTreeDto> <AbsoluteSlug>String</AbsoluteSlug> <AllImageUrl>String</AllImageUrl> <Children> <CategoryTreeDto> <AbsoluteSlug>String</AbsoluteSlug> <AllImageUrl>String</AllImageUrl> <Children i:nil="true" /> <IconImageUrl>String</IconImageUrl> <ImageUrl>String</ImageUrl> <Name>String</Name> <Position>0</Position> <Slug>String</Slug> </CategoryTreeDto> </Children> <IconImageUrl>String</IconImageUrl> <ImageUrl>String</ImageUrl> <Name>String</Name> <Position>0</Position> <Slug>String</Slug> </CategoryTreeDto> </Children> <IconImageUrl>String</IconImageUrl> <ImageUrl>String</ImageUrl> <Name>String</Name> <Position>0</Position> <Slug>String</Slug> </CategoryTreeDto> </Categories> <Claimed>false</Claimed> <Contact xmlns:d4p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d4p1:Email>String</d4p1:Email> <d4p1:Phone>String</d4p1:Phone> <d4p1:WebShop>String</d4p1:WebShop> <d4p1:Website>String</d4p1:Website> </Contact> <CountryCode>String</CountryCode> <Cuisines> <CuisineDto> <Label>String</Label> <Slug>String</Slug> </CuisineDto> </Cuisines> <EatingSuitabilities> <EatingSuitabilityDto> <Label>String</Label> <Slug>String</Slug> </EatingSuitabilityDto> </EatingSuitabilities> <FeatureData> <IndividualFeatureDataDto> <Label>String</Label> <Slug>BarSpeciality</Slug> </IndividualFeatureDataDto> </FeatureData> <Floor>String</Floor> <FollowersCount>0</FollowersCount> <Guid>00000000-0000-0000-0000-000000000000</Guid> <Id>0</Id> <ImageUrl xmlns:d4p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d4p1:Large>String</d4p1:Large> <d4p1:Medium>String</d4p1:Medium> <d4p1:Preview>String</d4p1:Preview> <d4p1:Small>String</d4p1:Small> </ImageUrl> <Latitude>0</Latitude> <LogoUrl xmlns:d4p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d4p1:Large>String</d4p1:Large> <d4p1:Medium>String</d4p1:Medium> <d4p1:Preview>String</d4p1:Preview> <d4p1:Small>String</d4p1:Small> </LogoUrl> <Longitude>0</Longitude> <Mall> <Address xmlns:d5p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d5p1:CountryCode>String</d5p1:CountryCode> <d5p1:PostalCode>String</d5p1:PostalCode> <d5p1:Region>String</d5p1:Region> <d5p1:Street>String</d5p1:Street> </Address> <Brands> <PlaceSelectedBrandDto> <Brand> <Name>String</Name> </Brand> <CategoryAbsoluteSlugs xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:string>String</d7p1:string> </CategoryAbsoluteSlugs> <PlaceCustomBrand> <Name>String</Name> </PlaceCustomBrand> </PlaceSelectedBrandDto> </Brands> <BusinessId>0</BusinessId> <Categories> <CategoryTreeDto> <AbsoluteSlug>String</AbsoluteSlug> <AllImageUrl>String</AllImageUrl> <Children> <CategoryTreeDto> <AbsoluteSlug>String</AbsoluteSlug> <AllImageUrl>String</AllImageUrl> <Children> <CategoryTreeDto> <AbsoluteSlug>String</AbsoluteSlug> <AllImageUrl>String</AllImageUrl> <Children i:nil="true" /> <IconImageUrl>String</IconImageUrl> <ImageUrl>String</ImageUrl> <Name>String</Name> <Position>0</Position> <Slug>String</Slug> </CategoryTreeDto> </Children> <IconImageUrl>String</IconImageUrl> <ImageUrl>String</ImageUrl> <Name>String</Name> <Position>0</Position> <Slug>String</Slug> </CategoryTreeDto> </Children> <IconImageUrl>String</IconImageUrl> <ImageUrl>String</ImageUrl> <Name>String</Name> <Position>0</Position> <Slug>String</Slug> </CategoryTreeDto> </Categories> <Claimed>false</Claimed> <Contact xmlns:d5p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d5p1:Email>String</d5p1:Email> <d5p1:Phone>String</d5p1:Phone> <d5p1:WebShop>String</d5p1:WebShop> <d5p1:Website>String</d5p1:Website> </Contact> <CountryCode>String</CountryCode> <Floor>String</Floor> <Guid>00000000-0000-0000-0000-000000000000</Guid> <Id>0</Id> <ImageUrl xmlns:d5p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d5p1:Large>String</d5p1:Large> <d5p1:Medium>String</d5p1:Medium> <d5p1:Preview>String</d5p1:Preview> <d5p1:Small>String</d5p1:Small> </ImageUrl> <Latitude>0</Latitude> <LogoUrl xmlns:d5p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d5p1:Large>String</d5p1:Large> <d5p1:Medium>String</d5p1:Medium> <d5p1:Preview>String</d5p1:Preview> <d5p1:Small>String</d5p1:Small> </LogoUrl> <Longitude>0</Longitude> <Name>String</Name> <OpeningHours xmlns:d5p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d5p1:Weekly> <d5p1:Friday> <d5p1:CloseAtHour>0</d5p1:CloseAtHour> <d5p1:CloseAtMinute>0</d5p1:CloseAtMinute> <d5p1:OpenAtHour>0</d5p1:OpenAtHour> <d5p1:OpenAtMinute>0</d5p1:OpenAtMinute> </d5p1:Friday> <d5p1:Monday> <d5p1:CloseAtHour>0</d5p1:CloseAtHour> <d5p1:CloseAtMinute>0</d5p1:CloseAtMinute> <d5p1:OpenAtHour>0</d5p1:OpenAtHour> <d5p1:OpenAtMinute>0</d5p1:OpenAtMinute> </d5p1:Monday> <d5p1:Saturday> <d5p1:CloseAtHour>0</d5p1:CloseAtHour> <d5p1:CloseAtMinute>0</d5p1:CloseAtMinute> <d5p1:OpenAtHour>0</d5p1:OpenAtHour> <d5p1:OpenAtMinute>0</d5p1:OpenAtMinute> </d5p1:Saturday> <d5p1:Sunday> <d5p1:CloseAtHour>0</d5p1:CloseAtHour> <d5p1:CloseAtMinute>0</d5p1:CloseAtMinute> <d5p1:OpenAtHour>0</d5p1:OpenAtHour> <d5p1:OpenAtMinute>0</d5p1:OpenAtMinute> </d5p1:Sunday> <d5p1:Thursday> <d5p1:CloseAtHour>0</d5p1:CloseAtHour> <d5p1:CloseAtMinute>0</d5p1:CloseAtMinute> <d5p1:OpenAtHour>0</d5p1:OpenAtHour> <d5p1:OpenAtMinute>0</d5p1:OpenAtMinute> </d5p1:Thursday> <d5p1:Tuesday> <d5p1:CloseAtHour>0</d5p1:CloseAtHour> <d5p1:CloseAtMinute>0</d5p1:CloseAtMinute> <d5p1:OpenAtHour>0</d5p1:OpenAtHour> <d5p1:OpenAtMinute>0</d5p1:OpenAtMinute> </d5p1:Tuesday> <d5p1:Wednesday> <d5p1:CloseAtHour>0</d5p1:CloseAtHour> <d5p1:CloseAtMinute>0</d5p1:CloseAtMinute> <d5p1:OpenAtHour>0</d5p1:OpenAtHour> <d5p1:OpenAtMinute>0</d5p1:OpenAtMinute> </d5p1:Wednesday> </d5p1:Weekly> </OpeningHours> <OrganizationNumber>String</OrganizationNumber> <OutdoorSeating>false</OutdoorSeating> <Overview>String</Overview> <PlaceType>Mall</PlaceType> <PriceMainDish> <Slug>Value</Slug> <Title>String</Title> </PriceMainDish> <SaveFoodAndMoney>false</SaveFoodAndMoney> <TimeZoneDto xmlns:d5p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d5p1:BaseUtcOffset>PT0S</d5p1:BaseUtcOffset> <d5p1:DaylightName>String</d5p1:DaylightName> <d5p1:DisplayName>String</d5p1:DisplayName> <d5p1:Id>String</d5p1:Id> <d5p1:StandardName>String</d5p1:StandardName> <d5p1:SupportsDaylightSavingTime>false</d5p1:SupportsDaylightSavingTime> </TimeZoneDto> <WearPriceProfiles> <WearPriceProfileDto> <Label>String</Label> <Slug>String</Slug> </WearPriceProfileDto> </WearPriceProfiles> <WheelchairAccessible>false</WheelchairAccessible> <Wifi>false</Wifi> </Mall> <MealTypes> <MealTypeDto> <Label>String</Label> <Slug>String</Slug> </MealTypeDto> </MealTypes> <Menus> <MenuDto> <Name>String</Name> <Position>0</Position> <Url>String</Url> </MenuDto> </Menus> <Name>String</Name> <OpeningHours xmlns:d4p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d4p1:Weekly> <d4p1:Friday> <d4p1:CloseAtHour>0</d4p1:CloseAtHour> <d4p1:CloseAtMinute>0</d4p1:CloseAtMinute> <d4p1:OpenAtHour>0</d4p1:OpenAtHour> <d4p1:OpenAtMinute>0</d4p1:OpenAtMinute> </d4p1:Friday> <d4p1:Monday> <d4p1:CloseAtHour>0</d4p1:CloseAtHour> <d4p1:CloseAtMinute>0</d4p1:CloseAtMinute> <d4p1:OpenAtHour>0</d4p1:OpenAtHour> <d4p1:OpenAtMinute>0</d4p1:OpenAtMinute> </d4p1:Monday> <d4p1:Saturday> <d4p1:CloseAtHour>0</d4p1:CloseAtHour> <d4p1:CloseAtMinute>0</d4p1:CloseAtMinute> <d4p1:OpenAtHour>0</d4p1:OpenAtHour> <d4p1:OpenAtMinute>0</d4p1:OpenAtMinute> </d4p1:Saturday> <d4p1:Sunday> <d4p1:CloseAtHour>0</d4p1:CloseAtHour> <d4p1:CloseAtMinute>0</d4p1:CloseAtMinute> <d4p1:OpenAtHour>0</d4p1:OpenAtHour> <d4p1:OpenAtMinute>0</d4p1:OpenAtMinute> </d4p1:Sunday> <d4p1:Thursday> <d4p1:CloseAtHour>0</d4p1:CloseAtHour> <d4p1:CloseAtMinute>0</d4p1:CloseAtMinute> <d4p1:OpenAtHour>0</d4p1:OpenAtHour> <d4p1:OpenAtMinute>0</d4p1:OpenAtMinute> </d4p1:Thursday> <d4p1:Tuesday> <d4p1:CloseAtHour>0</d4p1:CloseAtHour> <d4p1:CloseAtMinute>0</d4p1:CloseAtMinute> <d4p1:OpenAtHour>0</d4p1:OpenAtHour> <d4p1:OpenAtMinute>0</d4p1:OpenAtMinute> </d4p1:Tuesday> <d4p1:Wednesday> <d4p1:CloseAtHour>0</d4p1:CloseAtHour> <d4p1:CloseAtMinute>0</d4p1:CloseAtMinute> <d4p1:OpenAtHour>0</d4p1:OpenAtHour> <d4p1:OpenAtMinute>0</d4p1:OpenAtMinute> </d4p1:Wednesday> </d4p1:Weekly> </OpeningHours> <OrganizationNumber>String</OrganizationNumber> <OtherServices> <MallOtherServiceDto> <Floor>String</Floor> <ServiceName>String</ServiceName> </MallOtherServiceDto> </OtherServices> <OutdoorSeating>false</OutdoorSeating> <Overview>String</Overview> <Parking> <ParkingDto> <Label>String</Label> <Slug>StreetParking</Slug> </ParkingDto> </Parking> <PaymentOptions> <PaymentOptionDto> <Label>String</Label> <Slug>Visa</Slug> </PaymentOptionDto> </PaymentOptions> <PlaceState>String</PlaceState> <PlaceType>Mall</PlaceType> <Places> <PlaceBasicDto> <Address xmlns:d6p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d6p1:CountryCode>String</d6p1:CountryCode> <d6p1:PostalCode>String</d6p1:PostalCode> <d6p1:Region>String</d6p1:Region> <d6p1:Street>String</d6p1:Street> </Address> <Brands> <PlaceSelectedBrandDto> <Brand> <Name>String</Name> </Brand> <CategoryAbsoluteSlugs xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d8p1:string>String</d8p1:string> </CategoryAbsoluteSlugs> <PlaceCustomBrand> <Name>String</Name> </PlaceCustomBrand> </PlaceSelectedBrandDto> </Brands> <BusinessId>0</BusinessId> <Categories> <CategoryTreeDto> <AbsoluteSlug>String</AbsoluteSlug> <AllImageUrl>String</AllImageUrl> <Children> <CategoryTreeDto> <AbsoluteSlug>String</AbsoluteSlug> <AllImageUrl>String</AllImageUrl> <Children> <CategoryTreeDto> <AbsoluteSlug>String</AbsoluteSlug> <AllImageUrl>String</AllImageUrl> <Children i:nil="true" /> <IconImageUrl>String</IconImageUrl> <ImageUrl>String</ImageUrl> <Name>String</Name> <Position>0</Position> <Slug>String</Slug> </CategoryTreeDto> </Children> <IconImageUrl>String</IconImageUrl> <ImageUrl>String</ImageUrl> <Name>String</Name> <Position>0</Position> <Slug>String</Slug> </CategoryTreeDto> </Children> <IconImageUrl>String</IconImageUrl> <ImageUrl>String</ImageUrl> <Name>String</Name> <Position>0</Position> <Slug>String</Slug> </CategoryTreeDto> </Categories> <Claimed>false</Claimed> <Contact xmlns:d6p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d6p1:Email>String</d6p1:Email> <d6p1:Phone>String</d6p1:Phone> <d6p1:WebShop>String</d6p1:WebShop> <d6p1:Website>String</d6p1:Website> </Contact> <CountryCode>String</CountryCode> <Floor>String</Floor> <Guid>00000000-0000-0000-0000-000000000000</Guid> <Id>0</Id> <ImageUrl xmlns:d6p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d6p1:Large>String</d6p1:Large> <d6p1:Medium>String</d6p1:Medium> <d6p1:Preview>String</d6p1:Preview> <d6p1:Small>String</d6p1:Small> </ImageUrl> <Latitude>0</Latitude> <LogoUrl xmlns:d6p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d6p1:Large>String</d6p1:Large> <d6p1:Medium>String</d6p1:Medium> <d6p1:Preview>String</d6p1:Preview> <d6p1:Small>String</d6p1:Small> </LogoUrl> <Longitude>0</Longitude> <Name>String</Name> <OpeningHours xmlns:d6p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d6p1:Weekly> <d6p1:Friday> <d6p1:CloseAtHour>0</d6p1:CloseAtHour> <d6p1:CloseAtMinute>0</d6p1:CloseAtMinute> <d6p1:OpenAtHour>0</d6p1:OpenAtHour> <d6p1:OpenAtMinute>0</d6p1:OpenAtMinute> </d6p1:Friday> <d6p1:Monday> <d6p1:CloseAtHour>0</d6p1:CloseAtHour> <d6p1:CloseAtMinute>0</d6p1:CloseAtMinute> <d6p1:OpenAtHour>0</d6p1:OpenAtHour> <d6p1:OpenAtMinute>0</d6p1:OpenAtMinute> </d6p1:Monday> <d6p1:Saturday> <d6p1:CloseAtHour>0</d6p1:CloseAtHour> <d6p1:CloseAtMinute>0</d6p1:CloseAtMinute> <d6p1:OpenAtHour>0</d6p1:OpenAtHour> <d6p1:OpenAtMinute>0</d6p1:OpenAtMinute> </d6p1:Saturday> <d6p1:Sunday> <d6p1:CloseAtHour>0</d6p1:CloseAtHour> <d6p1:CloseAtMinute>0</d6p1:CloseAtMinute> <d6p1:OpenAtHour>0</d6p1:OpenAtHour> <d6p1:OpenAtMinute>0</d6p1:OpenAtMinute> </d6p1:Sunday> <d6p1:Thursday> <d6p1:CloseAtHour>0</d6p1:CloseAtHour> <d6p1:CloseAtMinute>0</d6p1:CloseAtMinute> <d6p1:OpenAtHour>0</d6p1:OpenAtHour> <d6p1:OpenAtMinute>0</d6p1:OpenAtMinute> </d6p1:Thursday> <d6p1:Tuesday> <d6p1:CloseAtHour>0</d6p1:CloseAtHour> <d6p1:CloseAtMinute>0</d6p1:CloseAtMinute> <d6p1:OpenAtHour>0</d6p1:OpenAtHour> <d6p1:OpenAtMinute>0</d6p1:OpenAtMinute> </d6p1:Tuesday> <d6p1:Wednesday> <d6p1:CloseAtHour>0</d6p1:CloseAtHour> <d6p1:CloseAtMinute>0</d6p1:CloseAtMinute> <d6p1:OpenAtHour>0</d6p1:OpenAtHour> <d6p1:OpenAtMinute>0</d6p1:OpenAtMinute> </d6p1:Wednesday> </d6p1:Weekly> </OpeningHours> <OrganizationNumber>String</OrganizationNumber> <OutdoorSeating>false</OutdoorSeating> <Overview>String</Overview> <PlaceType>Mall</PlaceType> <PriceMainDish> <Slug>Value</Slug> <Title>String</Title> </PriceMainDish> <SaveFoodAndMoney>false</SaveFoodAndMoney> <TimeZoneDto xmlns:d6p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d6p1:BaseUtcOffset>PT0S</d6p1:BaseUtcOffset> <d6p1:DaylightName>String</d6p1:DaylightName> <d6p1:DisplayName>String</d6p1:DisplayName> <d6p1:Id>String</d6p1:Id> <d6p1:StandardName>String</d6p1:StandardName> <d6p1:SupportsDaylightSavingTime>false</d6p1:SupportsDaylightSavingTime> </TimeZoneDto> <WearPriceProfiles> <WearPriceProfileDto> <Label>String</Label> <Slug>String</Slug> </WearPriceProfileDto> </WearPriceProfiles> <WheelchairAccessible>false</WheelchairAccessible> <Wifi>false</Wifi> </PlaceBasicDto> </Places> <PriceMainDish> <Slug>Value</Slug> <Title>String</Title> </PriceMainDish> <SaveFoodAndMoney>false</SaveFoodAndMoney> <TakeAways> <TakeAwayDto> <Label>String</Label> <Slug>String</Slug> </TakeAwayDto> </TakeAways> <TimeZoneDto xmlns:d4p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d4p1:BaseUtcOffset>PT0S</d4p1:BaseUtcOffset> <d4p1:DaylightName>String</d4p1:DaylightName> <d4p1:DisplayName>String</d4p1:DisplayName> <d4p1:Id>String</d4p1:Id> <d4p1:StandardName>String</d4p1:StandardName> <d4p1:SupportsDaylightSavingTime>false</d4p1:SupportsDaylightSavingTime> </TimeZoneDto> <WearPriceProfiles> <WearPriceProfileDto> <Label>String</Label> <Slug>String</Slug> </WearPriceProfileDto> </WearPriceProfiles> <WheelchairAccessible>false</WheelchairAccessible> <Wifi>false</Wifi> </PlaceDto> </Places> <UserGuid>00000000-0000-0000-0000-000000000000</UserGuid> </GetFollowingListResponse>