-
Notifications
You must be signed in to change notification settings - Fork 0
Oyo Get Hotel Availability
Aashiq edited this page Dec 8, 2017
·
1 revision
available_hotel_list
KEYWORD | DESCRIPTION |
---|---|
City | City Name / Array of City Name |
checkInDate | Checkin Date |
checkOutDate | Checkout Date |
adults | No of Adults |
children | No of children |
child_1_age | Age of child 1 |
child_2_age | Age of child 2 |
rooms | No of Rooms |
{
"City": "$City",
"checkInDate": "$checkInDate",
"checkOutDate": "$checkOutDate",
"adults": $adults,
"children": $children,
"child_1_age": $child_1_age,
"child_2_age": $child_2_age,
....
"rooms": $rooms
}
Response Key | Description |
---|---|
id | Unique Booking Id |
currency_code | The currency for the rate |
mealplan | Static text for the mealplan |
rooms | The details of the rooms. |
rooms[room] | List of different type of room with rates.Currently we support Standard room and Premium room. |
rate_per_night | Average rate for the room per night. |
restrictions | List of restrictions on hotels on the given date. |
{
"Hotels": {
"Hotel": [
{
"id": "$id",
"currency_code": "$currency_code",
"mealplan": "$mealplan",
"rooms": {
"room": [
{
"description": "$description",
"rate_per_night": $rate_per_night
}.....
]
}
},
"restrictions": [
{
"name": "$name",
"display_name": "$display_name"
},
.........
]
}