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

clientId*

string

Identity of client

timestamp*

timestamp

Current timestamp

hotelSn*

integer

Identity of hotel

Example

Response

Attributes

sn

integer

Identity of hotel

name

string

Hotel's name

firstHours

integer

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

hourly

boolean

Allow Hourly Booking

overnight

boolean

Allow Overnight Booking

daily

boolean

Allow Daily Booking

cancelBeforeHours

integer

Cancellation policy

startDaily

integer

Daily Booking’s check-in time

endDaily

integer

Daily Booking’s check-out time

startOvernight

integer

Overnight Booking’s check-in time

endOvernight

integer

Overnight Booking’s check-out time

startHourly

integer

Start time for selling Hourly Booking

endHourly

integer

End time for selling Hourly Booking

startRightNowTonight

integer

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

endRightNowTonight

integer

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

Example