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. 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. 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.

XML

<BookingRule
  MinAdvancedBookingOffset="P5H" />
<BookingRule
  MaxAdvancedBookingOffset="P14D" />