Create Room Lock

Description: Create room lock

Path: /api/v1/availability/createRoomLock

Method: POST

Request

Attributes

* = required

chevron-righthotelSn*hashtag

integer

Identify of hotel

chevron-rightstartDate*hashtag

string

The maximum valid time is 365 days from now. Format: Y-m-d

chevron-rightendDate*hashtag

string

The maximum valid time is 365 days from now. Format: Y-m-d

chevron-rightstartTimehashtag

string

Optional, only applicable to Hourly Booking lock type. Format: H:i

chevron-rightendTimehashtag

string

Optional, only applicable to Hourly Booking lock type. Format: H:i

chevron-rightlockType*hashtag

integer

Possible enum values: 0 = All of booking types 1 = Hourly Booking 2 = Overnight Booking 3 = Daily Booking

chevron-rightroomTypeSnList*hashtag

array

List of identify of room type. Note: roomTypeSnList = [0] if you want apply for all of room types.

Example

Response

Attributes

chevron-rightacknowledgedhashtag

boolean

The update has been applied yet

Example

Last updated