ConsumerApi

<back to all web services

GetSavedSearchesRequest

Consumer
Requires Authentication
Required role:Consumer
The following routes are available for this service:
GET/searches/GetSavedSearches

library ConsumerApi;
import 'package:servicestack/servicestack.dart';

Dart GetSavedSearchesRequest DTOs

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

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /searches/GetSavedSearches HTTP/1.1 
Host: consumer-api.brovs.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetSavedSearchesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ConsumerApi.Dto">
  <Searches>
    <SavedSearchDto>
      <CreatedAt xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:DateTime>0001-01-01T00:00:00Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </CreatedAt>
      <Filter>
        <AdMessageGuid>00000000-0000-0000-0000-000000000000</AdMessageGuid>
        <BarSpecialitySlugs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>String</d5p1:string>
        </BarSpecialitySlugs>
        <BarTypeSlugs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>String</d5p1:string>
        </BarTypeSlugs>
        <BrandNames xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>String</d5p1:string>
        </BrandNames>
        <CategoryAbsoluteSlugs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>String</d5p1:string>
        </CategoryAbsoluteSlugs>
        <CuisineSlugs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>String</d5p1:string>
        </CuisineSlugs>
        <EatingSuitabilitySlugs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>String</d5p1:string>
        </EatingSuitabilitySlugs>
        <MealTypeSlugs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>String</d5p1:string>
        </MealTypeSlugs>
        <OpenAt xmlns:d5p1="http://schemas.datacontract.org/2004/07/Entities.Common">
          <d5p1:Hour>0</d5p1:Hour>
          <d5p1:Minute>0</d5p1:Minute>
          <d5p1:WeekDay>Sunday</d5p1:WeekDay>
        </OpenAt>
        <OutdoorSeating>false</OutdoorSeating>
        <Parking xmlns:d5p1="http://schemas.datacontract.org/2004/07/Entities.Database">
          <d5p1:Parking>StreetParking</d5p1:Parking>
        </Parking>
        <PaymentOptions xmlns:d5p1="http://schemas.datacontract.org/2004/07/Entities.Database">
          <d5p1:PaymentOption>Visa</d5p1:PaymentOption>
        </PaymentOptions>
        <PlaceGuid>00000000-0000-0000-0000-000000000000</PlaceGuid>
        <PriceMainDishes xmlns:d5p1="http://schemas.datacontract.org/2004/07/Entities.Database">
          <d5p1:PriceMainDish>Value</d5p1:PriceMainDish>
        </PriceMainDishes>
        <SaveFoodAndMoney>false</SaveFoodAndMoney>
        <TakeAwaySlugs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>String</d5p1:string>
        </TakeAwaySlugs>
        <Term>String</Term>
        <WearPriceProfileSlugs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>String</d5p1:string>
        </WearPriceProfileSlugs>
        <WheelChairAccessible>false</WheelChairAccessible>
        <Wifi>false</Wifi>
      </Filter>
      <FilterDetails>
        <BarSpecialities>
          <BarSpecialityDto>
            <Slug>String</Slug>
            <Title>String</Title>
          </BarSpecialityDto>
        </BarSpecialities>
        <BarTypes>
          <BarTypeDto>
            <Slug>String</Slug>
            <Title>String</Title>
          </BarTypeDto>
        </BarTypes>
        <Brands>
          <BrandDto>
            <Name>String</Name>
          </BrandDto>
        </Brands>
        <Categories>
          <CategoryDto>
            <AbsoluteSlug>String</AbsoluteSlug>
            <AllImageUrl>String</AllImageUrl>
            <IconImageUrl>String</IconImageUrl>
            <ImageUrl>String</ImageUrl>
            <Name>String</Name>
            <Position>0</Position>
            <Slug>String</Slug>
          </CategoryDto>
        </Categories>
        <Cuisines>
          <CuisineDto>
            <Label>String</Label>
            <Slug>String</Slug>
          </CuisineDto>
        </Cuisines>
        <EatingSuitability>
          <EatingSuitabilityDto>
            <Label>String</Label>
            <Slug>String</Slug>
          </EatingSuitabilityDto>
        </EatingSuitability>
        <MealTypes>
          <MealTypeDto>
            <Label>String</Label>
            <Slug>String</Slug>
          </MealTypeDto>
        </MealTypes>
        <Parking>
          <ParkingDto>
            <Label>String</Label>
            <Slug>StreetParking</Slug>
          </ParkingDto>
        </Parking>
        <PaymentOptions>
          <PaymentOptionDto>
            <Label>String</Label>
            <Slug>Visa</Slug>
          </PaymentOptionDto>
        </PaymentOptions>
        <PriceMainDishes>
          <PriceMainDishDto>
            <Slug>Value</Slug>
            <Title>String</Title>
          </PriceMainDishDto>
        </PriceMainDishes>
        <RootCategories>
          <CategoryDto>
            <AbsoluteSlug>String</AbsoluteSlug>
            <AllImageUrl>String</AllImageUrl>
            <IconImageUrl>String</IconImageUrl>
            <ImageUrl>String</ImageUrl>
            <Name>String</Name>
            <Position>0</Position>
            <Slug>String</Slug>
          </CategoryDto>
        </RootCategories>
        <TakeAways>
          <TakeAwayDto>
            <Label>String</Label>
            <Slug>String</Slug>
          </TakeAwayDto>
        </TakeAways>
        <WearPriceProfiles>
          <WearPriceProfileDto>
            <Label>String</Label>
            <Slug>String</Slug>
          </WearPriceProfileDto>
        </WearPriceProfiles>
      </FilterDetails>
      <Id>0</Id>
      <Location>
        <Latitude>0</Latitude>
        <Longitude>0</Longitude>
        <SearchRadiusInKm>0</SearchRadiusInKm>
      </Location>
      <Name>String</Name>
      <UpdatedAt xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:DateTime>0001-01-01T00:00:00Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </UpdatedAt>
    </SavedSearchDto>
  </Searches>
</GetSavedSearchesResponse>