AvailRateUpdate

{
"hotelId": "543545",
"roomType": [
{
"id": "54354501",
"availUpdate": [
{
"from": "2022-02-05",
"to": "2022-02-05",
"roomCount": 0,
"minLenghtOfStay": null,
"maxLenghtOfStay": null,
"closed": false,
"closedToArrival": false,
"closedToDeparture": false
},
{
"from": "2022-02-06",
"to": "2022-02-06",
"roomCount": 1,
"minLenghtOfStay": null,
"maxLenghtOfStay": null,
"closed": false,
"closedToArrival": false,
"closedToDeparture": false
},
{
"from": "2022-02-07",
"to": "2022-02-07",
"roomCount": 2,
"minLenghtOfStay": null,
"maxLenghtOfStay": null,
"closed": false,
"closedToArrival": false,
"closedToDeparture": false
},
{
"from": "2022-02-08",
"to": "2022-02-08",
"roomCount": 3,
"minLenghtOfStay": null,
"maxLenghtOfStay": null,
"closed": false,
"closedToArrival": false,
"closedToDeparture": false
}
]
},
{
"id": "54354502",
"availUpdate": [
{
"from": "2022-02-05",
"to": "2022-02-08",
"roomCount": 0,
"minLenghtOfStay": null,
"maxLenghtOfStay": null,
"closed": false,
"closedToArrival": false,
"closedToDeparture": false
}
]
},
{
"id": "54354503",
"availUpdate": [
{
"from": "2022-02-05",
"to": "2022-02-05",
"roomCount": 1,
"minLenghtOfStay": null,
"maxLenghtOfStay": null,
"closed": false,
"closedToArrival": false,
"closedToDeparture": false
},
{
"from": "2022-02-06",
"to": "2022-02-07",
"roomCount": 2,
"minLenghtOfStay": null,
"maxLenghtOfStay": null,
"closed": false,
"closedToArrival": false,
"closedToDeparture": false
},
{
"from": "2022-02-08",
"to": "2022-02-08",
"roomCount": 0,
"minLenghtOfStay": null,
"maxLenghtOfStay": null,
"closed": false,
"closedToArrival": false,
"closedToDeparture": false
}
]
}
]
}
Element / @Attribute Description
Type
Text
property *
Integer
Hotels Id on Channel
roomType *
roomtype
Availability and Rates sending area.
id *
String
A unique identifier for a type of room.Every roomtype object has unique roomid.
availUpdate
availupdate
room availability object for update.
from *
date
Specifies the starting date of a date range. Format: YYYY-MM-DD. Date must be before the date you specify in @to.
to *
date
Specifies the ending date of a date range.Format: YYYY-MM-DD.
roomCount*
number
Specifies the number of rooms of this type that channel can sell.
stop
boolean
Specifies whether the room is closed (not bookable) on the specified date, for the specified rate.
minLenghtOfStay
number
The minimum number of days a guest must book the specified room, if the stay includes the specified date.
manLenghtOfStays
number
The maximum number of days a guest must book the specified room, if the stay includes the specified date.
closedToArrival
boolean
Specifies if the room is unavailable to book if the guest checks in on the specified date.
closedToDeparture
boolean
Specifies if the room is unavailable to book if the guest checks out on the specified date.
Price and sng/dbl/trp/quad are optional fields but can not be used together you have to use one of them at least.Format: ###.## (always two decimals)
* Required fields