Last updated

GuestInformation

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

Fields

FieldDescriptionTypeMin/maxNotes
TPA_Extensions/
GuestInformation
Contains flags that specify which information guests must provide.object0..1-
GuestInformation/
@RequireGuestAddress
Specifies whether guests must provide an address.int0..1Accepts: 1 (required), 0 (not required).
GuestInformation/
@RequireGuestContactNumber
Specifies whether guests must provide a contact telephone number.int0..1Accepts: 1 (required), 0 (not required).
GuestInformation/
@HasAgeRestriction
Specifies whether there is an age limit to check-in.int0..1Accepts: 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.int18..99Only effective when @HasAgeRestriction=1.
GuestInformation/
@AgeRestrictionMax
Maximum allowed age for guests to check-in. Only effective when @HasAgeRestriction=1.int18..99Only effective when @HasAgeRestriction=1.
GuestInformation/
@HasCurfew
Specifies whether property has a curfew - times at which guests cannot enter/leave the property.int0..1Accepts: 1 (has curfew), 0 (does not have curfew).
GuestInformation/
@CurfewStart
Curfew start time in HH:MM format.string0..1Only effective when @HasCurfew=1.
GuestInformation/
@CurfewEnd
Curfew start time in HH:MM format.string0..1Only 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>