Difference between revisions of "Connect Access System with API"

From Beds24 Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
[[Category:API]]
 
[[Category:API]]
 
+
<div class="heading">Dashboard</div>
  ''This page explains how to connect a system which needs upcoming bookings via API''
+
  This page explains how to connect a system which needs upcoming bookings via API
 
__Toc__
 
__Toc__
 
== Introduction ==
 
== Introduction ==
Line 13: Line 13:
 
Contact Beds24 for a merchant Key for the Arrivals API
 
Contact Beds24 for a merchant Key for the Arrivals API
  
Each property can generate an access Key at the menu '''Settings  > Apps & Integrations  > Arrivals > Access Key'''
+
Each property can generate an access Key at the menu {{#fas:cog}} (SETTINGS) Apps & Integrations  > Arrivals "Access Key'
  
 
With the merchant key and the access key the following functions can be called on the property.
 
With the merchant key and the access key the following functions can be called on the property.
Line 25: Line 25:
 
This function will return all upcoming arrivals in the property as a JSON array.
 
This function will return all upcoming arrivals in the property as a JSON array.
  
The number of days in advance of check-in date that bookings are available is set at the menu '''Settings  > Apps & Integrations  > Arrivals > Days in Advance'''  
+
The number of days in advance of check-in date that bookings are available is set at the menu  {{#fas:cog}} (SETTINGS)  Apps & Integrations  > Arrivals "Days in Advance'''  
  
Personal information like name, email etc. can be included in the data at the menu '''Settings  > Apps & Integrations  > Arrivals > Allow Personal Info'''  
+
Personal information like name, email etc. can be included in the data at the menu {{#fas:cog}} (SETTINGS) Apps & Integrations  > Arrivals "Allow Personal Info'''  
  
 
This function is suitable to call once per hour per property.
 
This function is suitable to call once per hour per property.

Revision as of 09:38, 9 July 2020

Dashboard
This page explains how to connect a system which needs upcoming bookings via API

1 Introduction

This API will allow you to read upcoming bookings for a property and to write or modify Booking Info Items in those bookings.

For example, a door access system could read details of upcoming bookings and store a door unlock code in each booking so the code can be communicated to the guest.

2 API setup

Contact Beds24 for a merchant Key for the Arrivals API

Each property can generate an access Key at the menu (SETTINGS) Apps & Integrations > Arrivals "Access Key'

With the merchant key and the access key the following functions can be called on the property.

Only data from room types that have their synchronise tick box enabled will be included.

3 Get Bookings

https://api.beds24.com/arrivals/getBookings

This function will return all upcoming arrivals in the property as a JSON array.

The number of days in advance of check-in date that bookings are available is set at the menu (SETTINGS) Apps & Integrations > Arrivals "Days in Advance

Personal information like name, email etc. can be included in the data at the menu (SETTINGS) Apps & Integrations > Arrivals "Allow Personal Info

This function is suitable to call once per hour per property.

4 Set Booking

https://api.beds24.com/arrivals/setBooking

This function can write Booking Info Items into a booking.

If the booking info item already exists it will be modified.

Booking Info Items can be used for reporting and for triggering auto actions to perform further operations like sending email.

The room note and status can be set on the room containing the booking

5 Commercial

We can list your integration and product at https://shop.beds24.com

Contact us for details.