Update Room Type Info

Description: Update room type info

Path: /api/v1/hotel/updateRoomTypeInfo

Method: POST

Request

Attributes

* = required

hotelSn*

integer

Identify of hotel

roomTypeSn*

integer

Identify of room type

name*

string

Name of room type

numOfRoomHotel*

integer

Number of physical rooms

square*

integer

Square of room type

memo

string

Room’s description

roomBedTypeSnList*

array

List of SN of bed type

roomViewSnList*

array

List of SN of view

facilitySnList*

array

List of SN of facility

imageList.image.sn*

integer

Identify of hotel image

imageList.image.flag*

integer

The action on hotel image Possible enum values: 1 = Delete 2 = Add new 3 = If update firstDisplay only 4 = Skip/ Ignore

With flag = 2 (Add new) will not required imageList.image.sn

imageList.image.fullUrl*

string

Hotel image’s URL

imageList.image.firstDisplay*

integer

The image which will display first in a lot of images. Possible enum values: 0 = Not displayed first 1 = Displayed first

Example

Response

Attributes

acknowledged

boolean

The update has been applied yet

needsToSendRequest

boolean

The update information to wait for approval

Example

Last updated