Skip to content

Oyo Book hotel Provisional Update

Aashiq edited this page Dec 8, 2017 · 1 revision

1.4 Book hotel Provisional Update

Intent

book_hotel_provisional_update

Request Params Description

KEYWORD DESCRIPTION
bookingid Oyo Id for Booking
external_reference_id Required Field OYO Id for external reference
bill_to_affiliate True or False

Payload

{
  "bookingid": "$bookingid",
  "external_reference_id": "$external_reference_id",
  "bill_to_affiliate": "$bill_to_affiliate"
   }

Response Params Description

Response Key Description
id Unique Booking Id
checkin Checkin Date format (yyyy-mm-dd)
checkout Checkout Date format (yyyy-mm-dd)
invoice Unique Booking String, Communication voucher has this booking reference id.
no_of_guest No Of Guest
roomCount Count Of rooms
status Status of booking. "Saved" - For provisional booking. "Confirm Booking" - For confirmed booking.
guest_name Name of Guest
country_name Category of hotel ( Static Text )
currency_symbol Currency Symbol
cancellation_charge Cancellation Charges

Response Body

{
  "id": 1181859,
  "checkin": "2015-12-06",
  "checkout": "2015-12-07",
  "invoice": "MGVX3258",
  "no_of_guest": 2,
  "roomCount": 1,
  "status": "Confirm Booking",
  "guest_name": "Abc",
  "country_name": "India",
  "currency_symbol": "₹",
  "cancellation_charge": 0
}
Clone this wiki locally