Last updated

BookingRule

Fields

FieldDescriptionTypeMin/maxNotes
BookingRules/
BookingRule
Booking rule details.object0..*-
BookingRule/
@MinAdvancedBookingOffset
Minimum amount of time in advance the room must be booked, relative to midnight (24:00 CE(S)T) on the day of check-in. The search date is counted as one of the days in the restriction length.`P[0-9]+(YMD
BookingRule/
@MaxAdvancedBookingOffset
Maximum amount of time in advance the room can be booked, relative to midnight (24:00 CE(S)T) on the day of check-in. The search date is counted as one of the days in the restriction length.`P[0-9]+(YMD
BookingRule/
@ReleaseTimeOfDayStart
Specifies the time of the day the room can start being booked.HH:MM0..1Time intervals of 15 minutes starting at midnight. For example: 10:15.
BookingRule/
@ReleaseTimeOfDayEnd
Specifies the time of the day the room can no longer be booked.HH:MM0..1Time intervals of 15 minutes starting at midnight. For example: 21:30

XML

<BookingRule
  MinAdvancedBookingOffset="P5H" />
<BookingRule
  MaxAdvancedBookingOffset="P14D" />
<BookingRule ReleaseTimeOfDayStart="10:00"/>
<BookingRule ReleaseTimeOfDayEnd="14:15"/>