BookingRule

Fields

Field Description Type Min/max Notes
BookingRules/
BookingRule
Booking rule details. object 0..* -
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]+(Y|M|D|H) 0..1 Example: P5H means the room must be booked before 19:00 on the check-in date.
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]+(Y|M|D|H) 0..1 Example: P14D means the room can be booked a maximum of 14 days before the check-in date.
BookingRule/
@ReleaseTimeOfDayStart
Specifies the time of the day the room can start being booked. HH:MM 0..1 Time 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:MM 0..1 Time 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"/>