Skip to content

Oyo Get Hotel Booking Details

Aashiq edited this page Dec 8, 2017 · 4 revisions

1.5 Get Hotel Booking Details

Intent

hotel_booking_details

Request Params Description

KEYWORD DESCRIPTION
bookingid Oyo Id for Booking

Payload

{
    "bookingid":$bookingid
  }

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
final_amount Final Amount for the booking that will be collected by OYO from affiliate.In case of pay at hotel booking this amount will be paid by guest at Hotel
status Status of booking. "Saved" - For provisional booking. "Confirm Booking" - For confirmed booking.
guest_name Name of Guest
guest_phone Phone Number of Guest
guest_email Email of Guest
country_name Category of hotel ( Static Text )
currency_symbol Currency Symbol
external_reference_id Unique reference id for booking passed via affiliate.

Response Body

{
    "id": $id,
    "checkin": "$checkin",
    "checkout": "$checkin",
    "invoice": "$invoice",
    "no_of_guest": $no_of_guest,
    "roomCount": $roomCount,
    "final_amount": $final_amount,
    "status": "$status",
    "guest_name": "$guest_name",
    "guest_phone": "$guest_phone",
    "guest_email": "$guest_email",
    "country_name": "$country_name",
    "currency_symbol": "$currency_symbol",
    "external_reference_id": "$external_reference_id"
}
Clone this wiki locally