Update Original Room Price

Description: Update original room price

Path: /api/v1/hotel/updateOriginalRoomPrice

Method: POST

Request

Attributes

* = required

hotelSn*

integer

Identify of hotel

roomTypeSn*

integer

Identify of room type

firstHours*

integer

Possible number of hour values: 0 to 10.

With 0: Not in operation

additionalHours*

integer

Possible number of hour values: 0 to 10.

With 0: Not in operation

maxNumHour*

integer

Possible number of hour values: 1 to 23 .

With null: Not in operation

priceFirstHours*

integer

Possible number of price values: 0 to 1000000000.

With 0: Not in operation

priceAdditionalHours*

integer

Possible number of price values: 0 to 1000000000.

With 0: Not in operation

priceOvernight*

integer

Possible number of price values: 0 to 1000000000.

With 0: Not in operation

priceOneDay*

integer

Possible number of price values: 0 to 1000000000.

With 0: Not in operation

Example

Response

Attributes

acknowledged

boolean

The update has been applied yet

Note

firstHours + additionalHours ≤ maxNumHour

Example

Last updated