Bookeasy - Get Accommodation Rates( getAccomRates )

Navigate to Bookeasy

Details

  • Name Get Accommodation Rates
  • Description This method is used to display Accommodation Rates for a specified request. Does not include room names etc, only shows ids.
  • MethodGroup Accommodation

Parameters

  • q
    Type Int32
    Description q is the Control id the operator belongs to.
    Required true
  • date
    Type DateTime
    Description The date you will be searching for.
    Example <a class="showCode" href="/be/getAccomRates?q=4&date=2018-07-30">/be/getAccomRates?q=4&date=2018-07-30</a>
  • period
    Type Int32
    Description The number of nights.
    Example <a class="showCode" href="/be/getAccomRates?q=4&period=2&date=2018-07-30">/be/getAccomRates?q=4&period=2&date=2018-07-30</a>
  • adults
    Type Int32
    Description How many adults will be staying.
    Example <a class="showCode" href="/be/getAccomRates?q=4&adults=2&date=2018-07-30">/be/getAccomRates?q=4&adults=2&date=2018-07-30</a>
  • children
    Type Int32
    Description How many children will be staying.
    Example <a class="showCode" href="/be/getAccomRates?q=4&adults=1&children=2&date=2018-07-30">/be/getAccomRates?q=4&adults=1&children=2&date=2018-07-30</a>
  • infants
    Type Int32
    Description How many infants will be staying.
    Example <a class="showCode" href="/be/getAccomRates?q=4&adults=1&infants=1&date=2018-07-30">/be/getAccomRates?q=4&adults=1&infants=1&date=2018-07-30</a>
  • enforceBookingConditions
    Type Boolean
    Description Property will only return if the room is available for the search conditions you specify.
    Example <a class="showCode" href="/be/getAccomRates?q=4&enforceBookingConditions=true&date=2018-07-30">/be/getAccomRates?q=4&enforceBookingConditions=true&date=2018-07-30</a>
  • enforceEntirePeriod
    Type Boolean
    Description Room Must be available for the entire period of the stay.
    Example <a class="showCode" href="/be/getAccomRates?q=4&enforceEntirePeriod=true&date=2018-07-30">/be/getAccomRates?q=4&enforceEntirePeriod=true&date=2018-07-30</a>
  • operators
    Type String
    Description A list of operator ids you wish to filter the search by
    Example <a class="showCode" href="/be/getAccomRates?q=4&operators=7365,7376&date=2018-07-30">/be/getAccomRates?q=4&operators=7365,7376&date=2018-07-30</a>
  • campaignId
    Type Int32
    Description If you want rates to be returned for a valid campaign.
    Example <a class="showCode" href="/be/getAccomRates?q=4&campaignId=7&date=2018-07-30">/be/getAccomRates?q=4&campaignId=7&date=2018-07-30</a>
  • LocationName
    Type String
    Description Filters the results to only return operators that exist in the location specified.
    Example <a class="showCode" href="/be/getAccomRates?q=85&LocationName=Bendigo&date=2018-07-30">/be/getAccomRates?q=85&LocationName=Bendigo&date=2018-07-30</a>
  • RegionName
    Type String
    Description Filters the results to only return operators that exist in the Region specified.
    Example <a class="showCode" href="/be/getAccomRates?q=85&RegionName=Grampions&date=2018-07-30">/be/getAccomRates?q=85&RegionName=Grampions&date=2018-07-30</a>
  • StateName
    Type String
    Description Filters the results to only return operators that exist in the State specified.
    Example <a class="showCode" href="/be/getAccomRates?q=85&StateName=VIC&date=2018-07-30">/be/getAccomRates?q=85&StateName=VIC&date=2018-07-30</a>
  • ExternalSearch
    Type Boolean
    Description Filters the results to only return operators that have joined the bookeasy network.
    Example <a class="showCode" href="/be/getAccomRates?q=85&ExternalSearch=true&LocationName=Bendigo&date=2018-07-30">/be/getAccomRates?q=85&ExternalSearch=true&LocationName=Bendigo&date=2018-07-30</a>
  • StageId
    Type Int32
    Description Filters the results to only return operators that are a member of a specific stage.
    Example <a class="showCode" href="/be/getAccomRates?q=113&StageId=1&date=2018-07-30">/be/getAccomRates?q=113&StageId=1&date=2018-07-30</a>
  • uiView
    Type Boolean
  • IgnoreCache
    Type Boolean
  • ShowError
    Type Boolean
  • callback
    Type String

Response

  • Type List<<a href="/ui/Show?name=Get Accommodation Rates Detail Model">getAccomRatesDetailsModel</a>>
    Name Get Accommodation Rates Detail Model
    Description Contains the definition of a Rate block for a particular operator

Faults

  • Name Json Result Error
    Description This error is thrown where something happens and it was unexpected.
    Type <a href="/ui/Show?name=Json Result Error">JsonResultError</a>