GET /v2/lodgings/{id}/estimated-daily-price

Returns all available days and estimated price for them

Important: These prices are estimation only and are not guaranteed, always validate formal deal proposals with QUOTE method, before contractualize a deal with Poplidays services.

Resource information

Authentication No
Response Formats xml, json
HTTP Method GET
Response Object field last change and list Daily price
API Version v2

Resource parameters

Query Parameter Type Cached Query Mandatory Description
limit String No (queries are slower with this parameter than without, use it with caution) No Only availabilities whose arrival day is before or equal to this day will be returned (format: "YYYYMMDD")

Example Request

https://api.poplidays.com/v2/lodgings/886/estimated-daily-price

Example Response

json

{
   "lastChange":"2014-05-20+02:00",
   "dailyPrices":[
   {
      "day":"20130330",
      "price":60,
   },
   {
      "day":"20130331",
      "price":65,
   }]
}

xml

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<estimatedDailyPrices>
  <lastChange>2014-05-20+02:00</lastChange>
  <estimatedDailyPrice>
    <day>20130330</day>
    <price>60</price>
  </estimatedDailyPrice>
  <estimatedDailyPrice>
    <day>20130331</day>
    <price>65</price>
  </estimatedDailyPrice>
</estimatedDailyPrices>