Page 1 of 1

API access?

Posted: Wed Jan 29, 2020 2:55 pm
by Kris
Hello,

I noticed that in the 3.0 release there is a file called API.

Is that some way of accessing HotelDruid from an external service? Ideally a JSON or XML based REST api would be awesome.

That way for example a much nicer booking plugin for WordPress could be written, instead of relying on iframes.

So if this is already possible, is this API documented somewhere?

Thanks!

Re: API access?

Posted: Thu Feb 13, 2020 3:30 pm
by marco
Hello Kris,
each hoteldruid document in txt or html format can be considered as an API. You can enable this option in the page where you modify the document text (clicking on document number in documents section of "configure and customize") and an example for each available call will be shown. So yes, you can access hoteldruid reservations and customers data in any format (you make it in the document).

Regards,
Marco