Get Hotel Info API

Description: Get hotel information in detail

Path: /api/v2/hotel/getHotelInfo

Method: POST

Content Type/Accept Type: application/json

Request

Attributes

* = required

chevron-rightclientId*hashtag

string

Identity of client

chevron-righttimestamp*hashtag

timestamp

Current timestamp

chevron-righthotelSn*hashtag

integer

Identity of hotel

Example

Response

Attributes

chevron-rightsnhashtag

integer

Identity of hotel

chevron-rightnamehashtag

string

Hotel's name

chevron-rightfirstHourshashtag

integer

Minimum number of hours allowed to book this room for Hourly Booking

chevron-righthourlyhashtag

boolean

Allow Hourly Booking

chevron-rightovernighthashtag

boolean

Allow Overnight Booking

chevron-rightdailyhashtag

boolean

Allow Daily Booking

chevron-rightcancelBeforeHourshashtag

integer

Cancellation policy

chevron-rightstartDailyhashtag

integer

Daily Booking’s check-in time

chevron-rightendDailyhashtag

integer

Daily Booking’s check-out time

chevron-rightstartOvernighthashtag

integer

Overnight Booking’s check-in time

chevron-rightendOvernighthashtag

integer

Overnight Booking’s check-out time

chevron-rightstartHourlyhashtag

integer

Start time for selling Hourly Booking

chevron-rightendHourlyhashtag

integer

End time for selling Hourly Booking

chevron-rightstartRightNowTonighthashtag

integer

Start time choosing time stay at hotel (RightNow or Tonight) for Overnight Booking

chevron-rightendRightNowTonighthashtag

integer

End time choosing time stay at hotel (RightNow or Tonight) for Overnight Booking

Example