Deprecation warning

Sending and retrieving the GuestInformation/@RequireMinimumStay element deprecated on 15 September 2021. We plan to sunset this attribute on 01 April 2022. Please see the deprecation policy documentation for more details.

GuestInformation

Contains various requirements for the guests. Child of TPA_Extensions (see Sample XML).

Fields

Field Description Type Min/max Notes
TPA_Extensions/
GuestInformation
Contains flags that specify which information guests must provide. object 0..1 -
GuestInformation/
@RequireGuestAddress
Specifies whether guests must provide an address. int 0..1 Accepts: 1 (required), 0 (not required).
GuestInformation/
@RequireGuestContactNumber
Specifies whether guests must provide a contact telephone number. int 0..1 Accepts: 1 (required), 0 (not required).
GuestInformation/
@RequireMinimumStay
Specifies whether guests must have at least one previous stay on Booking.com. int 0..1 Accepts: 1 (required), 0 (not required).
GuestInformation/
@HasAgeRestriction
Specifies whether there is an age limit to check-in. int 0..1 Accepts: 1 (has age restriction), 0 (does not have age restriction).
GuestInformation/
@AgeRestrictionMin
Minimum allowed age for guests to check-in. Only effective when @HasAgeRestriction=1. int 18..99 Only effective when @HasAgeRestriction=1.
GuestInformation/
@AgeRestrictionMax
Maximum allowed age for guests to check-in. Only effective when @HasAgeRestriction=1. int 18..99 Only effective when @HasAgeRestriction=1.
GuestInformation/
@HasCurfew
Specifies whether property has a curfew - times at which guests cannot enter/leave the property. int 0..1 Accepts: 1 (has curfew), 0 (does not have curfew).
GuestInformation/
@CurfewStart
Curfew start time in HH:MM format. string 0..1 Only effective when @HasCurfew=1.
GuestInformation/
@CurfewEnd
Curfew start time in HH:MM format. string 0..1 Only effective when @HasCurfew=1.

Sample XML

<HotelDescriptiveContent
  HotelCode="12345"
  HotelDescriptiveContentNotifType="Overlay"
  HotelName="Fake Hotel"
  ID="101010"
  LanguageCode="en">
    ...
    <TPA_Extensions>
      <GuestInformation
      RequireGuestAddress="1"
      RequireGuestContactNumber="1"
      RequireMinimumStay="1"
      HasAgeRestriction="1"
      AgeRestrictionMin="25"
      AgeRestrictionMax="75"
      HasCurfew="1"
      CurfewStart="23:00"
      CurfewEnd="06:00"/>
    </TPA_Extensions>
    ...
</HotelDescriptiveContent>