Skip to content

Oyo Get Hotel details

Aashiq edited this page Dec 8, 2017 · 2 revisions

1.2 Get Hotel details

Intent

get_hotel_details

Request Params Description

KEYWORD DESCRIPTION
no_of_entry default value = 1 if no_of_entry > 20 we limit it to 20
page default value = 1

Payload

{
    "HotelID":"$HotelID",
    "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 Params Description

Response Key Description
id Hotel identifier
name Name of the hotel
description Details about hotel This is a formatted HTML with sections like Location, How To Reach, Facilities.No section is mandatory to be present and depends on the detailed data available.
address Long address
small_address Compact Address
City City Name
State State Name
Country Country Name
zipcode Zipcode
latitude Latitude of the location of hotel
longitude Longitude of the location of hotel
category Category of hotel ( Static Text )
images List of various images url
amenities Exhaustive list of amenities with true if present and false otherwise
policies List of static text stating policies for Hotel
landing_url OYO Rooms Landing Page URL
availability Availability Of Oyo Rooms

Response Body

{
    "id": "$id",
    "name": "$name",
    "description": "$description",
    "address": "$address",
    "small_address": "$small_address",
    "city": "$city",
    "state": "$state",
    "country": "$country",
    "zipcode": "$zipcode",
    "latitude": $latitude,
    "longitude": $longitude,
    "category": "$category",
    "images": [$images .....],
    "amenities": {$amenities .....},
    "policies": [$policies ......],
    "landing_url": "www.oyorooms.com/gurgaon/hotels/29",
    "availability": {
        "status": "$status"
    }
}
Clone this wiki locally