Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We read the parameters of the URL.

Option 1/ : If the parameters exist → we will show the available properties for those dates / people.

Option 2/ : If there are no parameters → we will show all the properties in the system.

...

Webservice

Field

Description

DailyAvailability

lodging_id

You must read this to access the DailyRates function

DailyAvailability

lodging_type

Useful to filter by apartment / villa

DailyAvailability

city

Useful to filter by destination

DailyAvailability

latitude & longitude

Necessary if you want to create a Google Maps

DailyAvailability

release

Necessary if the properties have different release **

DailyAvailability

rating & review

Useful if you want to put the stars + reviews here

DailyRates

closed_to_arrival

If closed_to_arrival=true, that property can’t be booked with the arrival_date, even if it’s available.

You should put a message informing the user.

DailyRates

closed_to_departure

If closed_to_departure=true, that property can’t be booked with the departure_date, even if it’s available.

You should put a message informing the user.

DailyRates

minimum_stay

If search nights < minimum_stay, the reservation can’t be made for that number of nights.

You should put a message informing the user.

Info

What is the release?

Option 2: Show all properties:

...