ConsumerApi

<back to all web services

UpdateSavedSearchRequest

Consumer
Requires Authentication
Required role:Consumer
The following routes are available for this service:
PUT/searches/UpdateSavedSearch
UpdateSavedSearchRequest Parameters:
NameParameterData TypeRequiredDescription
IdbodylongNo
NamebodystringYes
FilterbodyQueryFilterDtoYes
LocationbodyQueryLocationDtoYes
QueryFilterDto Parameters:
NameParameterData TypeRequiredDescription
TermformstringNo
PlaceGuidformGuid?No
AdMessageGuidformGuid?No
CategoryAbsoluteSlugsformList<string>No
BarSpecialitySlugsformList<string>No
BarTypeSlugsformList<string>No
BrandNamesformList<string>No
CuisineSlugsformList<string>No
MealTypeSlugsformList<string>No
ParkingformList<Parking>No
PaymentOptionsformList<PaymentOption>No
PriceMainDishesformList<PriceMainDish>No
EatingSuitabilitySlugsformList<string>No
TakeAwaySlugsformList<string>No
WearPriceProfileSlugsformList<string>No
WheelChairAccessibleformbool?No
Wififormbool?No
OutdoorSeatingformbool?No
SaveFoodAndMoneyformbool?No
OpenAtformOpenAtTimeDtoNo
Parking Enum:
StreetParking
ParkingGarageNearby
PaymentOption Enum:
Visa
MasterCard
AmericanExpress
Diners
Vipps
PriceMainDish Enum:
Value
Medium
High
FineDining
OpenAtTimeDto Parameters:
NameParameterData TypeRequiredDescription
WeekDayformDayOfWeekNo
HourformintNo
MinuteformintNo
DayOfWeek Enum:
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
QueryLocationDto Parameters:
NameParameterData TypeRequiredDescription
Longitudeformfloat?No
Latitudeformfloat?No
SearchRadiusInKmformfloat?No
UpdateSavedSearchResponse Parameters:
NameParameterData TypeRequiredDescription
SuccessformboolNo

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.

PUT /searches/UpdateSavedSearch HTTP/1.1 
Host: consumer-api.brovs.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<UpdateSavedSearchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ConsumerApi.Dto">
  <Filter>
    <AdMessageGuid>00000000-0000-0000-0000-000000000000</AdMessageGuid>
    <BarSpecialitySlugs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </BarSpecialitySlugs>
    <BarTypeSlugs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </BarTypeSlugs>
    <BrandNames xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </BrandNames>
    <CategoryAbsoluteSlugs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </CategoryAbsoluteSlugs>
    <CuisineSlugs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </CuisineSlugs>
    <EatingSuitabilitySlugs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </EatingSuitabilitySlugs>
    <MealTypeSlugs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </MealTypeSlugs>
    <OpenAt xmlns:d3p1="http://schemas.datacontract.org/2004/07/Entities.Common">
      <d3p1:Hour>0</d3p1:Hour>
      <d3p1:Minute>0</d3p1:Minute>
      <d3p1:WeekDay>Sunday</d3p1:WeekDay>
    </OpenAt>
    <OutdoorSeating>false</OutdoorSeating>
    <Parking xmlns:d3p1="http://schemas.datacontract.org/2004/07/Entities.Database">
      <d3p1:Parking>StreetParking</d3p1:Parking>
    </Parking>
    <PaymentOptions xmlns:d3p1="http://schemas.datacontract.org/2004/07/Entities.Database">
      <d3p1:PaymentOption>Visa</d3p1:PaymentOption>
    </PaymentOptions>
    <PlaceGuid>00000000-0000-0000-0000-000000000000</PlaceGuid>
    <PriceMainDishes xmlns:d3p1="http://schemas.datacontract.org/2004/07/Entities.Database">
      <d3p1:PriceMainDish>Value</d3p1:PriceMainDish>
    </PriceMainDishes>
    <SaveFoodAndMoney>false</SaveFoodAndMoney>
    <TakeAwaySlugs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </TakeAwaySlugs>
    <Term>String</Term>
    <WearPriceProfileSlugs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </WearPriceProfileSlugs>
    <WheelChairAccessible>false</WheelChairAccessible>
    <Wifi>false</Wifi>
  </Filter>
  <Id>0</Id>
  <Location>
    <Latitude>0</Latitude>
    <Longitude>0</Longitude>
    <SearchRadiusInKm>0</SearchRadiusInKm>
  </Location>
  <Name>String</Name>
</UpdateSavedSearchRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<UpdateSavedSearchResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ConsumerApi.Dto">
  <Success>false</Success>
</UpdateSavedSearchResponse>