Skip to main content

Webservice for availability calendar

Updated over 3 months ago

Availability calendar

Please note that to display availability calendars or retrieve the non-detailed availability of elloha products for other purposes, you can use the Web Service called by the elloha calendar Widget :

(The idPrestation parameter is not mandatory)

A JSON feed is then returned with a list of elements corresponding to the days for which the product or package has availability, all over an 8-month period.

Each element has the following properties:
- Date: indicates the date in question.
- IsArrivalPossible: indicates whether an arrival is possible on that day (for an activity, this will always be true).
- HasPromotion: indicates whether a promotion exists on that day (we don't use this property internally at the moment).

Availability is cached (performance) and updated in real time according to the elloha account schedule.

The Ctoutvert and Thelis incoming connectors do not feed this webservice.

Example:

mceclip0.png

For more complete availability and/or product prices, you can call the elloha availability APIs:

- https://doc.elloha.com/api/v1/fr/#CacheGeneral
API used to retrieve a catalogue of prices and availabilities.

- https: //doc.elloha.com/api/v1/fr/

corresponds to the documentation for the APIs used to check the availability of products by type (accommodation, activities, restaurants or other).

Different types of search are possible: general (retrieving all the products in a distribution channel, based on search criteria) or detailed (retrieving all the offers and prices for a given product). Different types of integration are also possible, depending on your needs: from the simplest to the most advanced.

Did this answer your question?