Bookingsync

Developer API Documentation

Synchronizers Embed beta

Synchronizers are not directly available via the API. This decision as been made to increase security and privacy of our users.

To allow your users to benefit from BookingSync's synchronization, you will need to embed BookingSync into your application using a secure iframe.

The required process is as follow :

  1. Register your BookingSync account as an External Application. To do so, please contact info@bookingsync.com.
  2. Make your application use BookingSync's API to update all your rentals and bookings.
  3. Request a new ExtRenter authentication token before each iframe inclusion.
  4. Include the iframe on your site, through an SSL secured page, identified with the one time ExtRenter authentication token.

Get the ExtRenter authentication token

GET /rentals/#{rental_id}/extrenter.xml

ExtRenters authentication tokens are design to be a one time authentication.
You will then need to request a new one before each authentication.

Response

Status: 200 OK

<?xml version="1.0" encoding="UTF-8"?>
<extrenter>
  <rental-id type="integer">1</rental-id>
  <authentication-token>--auth_token--</authentication-token>
</extrenter>

Include in a SSL secure page

<iframe width="100%" height="600"
  src="https://www.bookingsync.com/en/embed/v1/synchronizers?auth_token=--auth_token--"
  frameborder="0" scrolling="auto"></iframe>