Reservations
API methods to work with Reservations
BNL api have two different methods to work with Reservations, such as Pull Reservation & Push Reservation.
Pull Reservation
Pms send a request on bnl api file then bnl api file return reservations response.
Header:
URL:
Query body (JSON):
Fields
action[required]
reservation
property_id ID of associated Property.
id Unique Booking id identification record at Bnl internal system
ota_reservation_code Booking number at platform, where guest create booking. Unique per booking message.
ota_name Name of OTA where booking was originally created
status Status of Booking Revision, can be one of three values: new
, modified
, cancelled
.
Rooms List of Booking Room objects.
rate_plan_id Associated Rate Plan identification record.
room_type_id Associated Room Type identification record.
Customer Object with information about Customer.
Occupancy Object with information about total Booking Occupancy, provide three keys: adults, children and infants.
arrival_date Arrival Date represented as string with date in ISO 8601 format by mask YYYY-MM-DD
.
departure_date Departure Date represented as string with date in ISO 8601 format by mask YYYY-MM-DD
.
amount Total booking amount.
Currency Booking currency code.
notes Customer comments for booking.
payment_type Information about where payment should be collected. Can be hotel collect
(pay at hotel),channel collect
(Pay at booking), and null
if payment type is not specified.
inserted_at Timestamp, when Booking was received at bnl.
days Price per night.
Push Reservation
In push reservation BNl api send reservation automatic to the pms without wait any request.
Reservation response format is same as pull reservation response format. When BNL api post reservations to the pms then pms return a confirmation response.
Reservation Confirmation
Reservation confirmation request pms send to bnl api.
Header:
URL:
Query body (JSON):
Last updated
Was this helpful?