Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleHotel Reservation Request with Tour Lead name only Sample XML

...

languagexml

– If PersonName/@OnlyLead is "No" need to send citizenship (<CitizenCountryName> element) of all guests in Reservation Initiate and Reservation Confirmation requests:

Hotel Reservation Request with all guests citizenship Sample XML
Expand
title
Code Block
languagexml

– If PersonName/@OnlyLead is "No" need to send names of all guests in Reservation Initiate and reservation Confirmation requests:

...

titleHotel Reservation Request with all guests names Sample XML

...

languagexml

12.1.2. CitizenCountryName ELEMENT

CitizenCountryName element shows if it is enough to provide information about citizenship only for tour lead. This element is present on Availability response:

Expand
titleCitizenCountryName element in Hotel Availability Response Sample XML
Code Block
languagexml
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="131dfebd24" FreeCancellationDeadline="2020-11-09T23:58:59+01:00" InexactPrice="false" NumberOfUnits="14" RoomTypeCode="APT.C2" SupplierNumberOfUnitsInd="true" RatePlanCode="RO#102|170054|0">
   <Rates>
   ...
   </Rates>
   <Total AmountAfterTax="2335.95" CurrencyCode="EUR"/>
   <TotalRetail AmountAfterTax="2465.00" IsMin="true" CurrencyCode="EUR"/>
   <CitizenCountryName OnlyLead="Mixed"/>
   ...
</RoomRate>

Possible value of CitizenCountryName/@OnlyLead attribute are "Yes", "No", "Mixed". Identifies the rule, if it is enough to provide information only for tour leader (Yes), or it is necessary to provide for all passengers (No), or both options are possible (Mixed). By default it is necessary to provide this information for all passenger (No).

– If PersonName/@OnlyLead is "Yes" need to just send only Tour Lead citizenship (<CitizenCountryName> element) in Reservation Initiate and Reservation Confirmation requests:

...

titleHotel Reservation Request with Tour Lead citizenship only Sample XML
<HotelReservations>
   <HotelReservation>
      <RoomStays>
         <RoomStay>
            <RoomRates>
               <RoomRate BookingCode="131e016e16" InvBlockCode="1" NumberOfUnits="1"/>
            </RoomRates>
         </RoomStay>
      </RoomStays>
      <ResGuests>
         <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
            <Profiles>
               <ProfileInfo>
                  <UniqueID ID="1" Type="1"/>
                  <Profile>
                     <Customer>
                        <PersonName>
                           <NamePrefix>Mr</NamePrefix>
                           <GivenName>Alexey</GivenName>
                           <Surname>Feofanov</Surname>
                        </PersonName>
                        <CitizenCountryName Code="IL"/>
                     </Customer>
                  </Profile>
               </ProfileInfo>
            </Profiles>
         </ResGuest>
         <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
            <Profiles>
               <ProfileInfo>
                  <UniqueID ID="2" Type="1"/>
                  <Profile>
                     <Customer/>
                  </Profile>
               </ProfileInfo>
            </Profiles>
         </ResGuest>
         <ResGuest AgeQualifyingCode="8" ResGuestRPH="1">
            <Profiles>
               <ProfileInfo>
                  <UniqueID ID="3" Type="1"/>
                  <Profile>
                     <Customer BirthDate="2010-08-14"/>
                  </Profile>
               </ProfileInfo>
            </Profiles>
         </ResGuest>
         <ResGuest AgeQualifyingCode="7" ResGuestRPH="1">
            <Profiles>
               <ProfileInfo>
                  <UniqueID ID="4" Type="1"/>
                  <Profile>
                     <Customer BirthDate="2019-08-14"/>
                  </Profile>
               </ProfileInfo>
            </Profiles>
         </ResGuest>
      </ResGuests>
      <ResGlobalInfo>
         <HotelReservationIDs>
            <HotelReservationID ResID_Source="agent" ResID_Value="8dh39dn7"/>
            <HotelReservationID ResID_Source="client" ResID_Value="54g644yhr541"/>
         </HotelReservationIDs>
      </ResGlobalInfo>
   </HotelReservation>
</HotelReservations>

– If PersonName/@OnlyLead is "No" need to send names of all guests in Reservation Initiate and reservation Confirmation requests:

Expand
titleHotel Reservation Request with all guests names Sample XML
Code Block
languagexml
<HotelReservations>
   <HotelReservation>
      <RoomStays>
         <RoomStay>
            <RoomRates>
               <RoomRate BookingCode="131e016e16" InvBlockCode="1" NumberOfUnits="1"/>
            </RoomRates>
         </RoomStay>
      </RoomStays>
      <ResGuests>
         <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
            <Profiles>
               <ProfileInfo>
                  <UniqueID ID="1" Type="1"/>
                  <Profile>
                     <Customer>
                        <PersonName>
                           <NamePrefix>Mr</NamePrefix>
                           <GivenName>Alexey</GivenName>
                           <Surname>Feofanov</Surname>
                        </PersonName>
                        <CitizenCountryName Code="IL"/>
                     </Customer>
                  </Profile>
               </ProfileInfo>
            </Profiles>
         </ResGuest>
         <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
            <Profiles>
               <ProfileInfo>
                  <UniqueID ID="2" Type="1"/>
                  <Profile>
                     <Customer>
                        <PersonName>
                           <NamePrefix>Mr</NamePrefix>
                           <GivenName>Ivan</GivenName>
                           <Surname>Feofanov</Surname>
                        </PersonName>
                        <CitizenCountryName Code="IL"/>
                     </Customer>
                  </Profile>
               </ProfileInfo>
            </Profiles>
         </ResGuest>
         <ResGuest AgeQualifyingCode="8" ResGuestRPH="1">
            <Profiles>
               <ProfileInfo>
                  <UniqueID ID="3" Type="1"/>
                  <Profile>
                     <Customer BirthDate="2010-08-14">
                        <PersonName>
                           <NamePrefix>Mr</NamePrefix>
                           <GivenName>Ivanka</GivenName>
                           <Surname>Feofanov</Surname>
                        </PersonName>
                        <CitizenCountryName Code="IL"/>
                     </Customer>
                  </Profile>
               </ProfileInfo>
            </Profiles>
         </ResGuest>
         <ResGuest AgeQualifyingCode="7" ResGuestRPH="1">
            <Profiles>
               <ProfileInfo>
                  <UniqueID ID="4" Type="1"/>
                  <Profile>
                     <Customer BirthDate="2019-08-14">
                        <PersonName>
                           <NamePrefix>Mrs</NamePrefix>
                           <GivenName>Olga</GivenName>
                           <Surname>Petrova</Surname>
                        </PersonName>
                        <CitizenCountryName Code="IL"/>
                     </Customer>
                  </Profile>
               </ProfileInfo>
            </Profiles>
         </ResGuest>
      </ResGuests>
      <ResGlobalInfo>
         <HotelReservationIDs>
            <HotelReservationID ResID_Source="agent" ResID_Value="8dh39dn7"/>
            <HotelReservationID ResID_Source="client" ResID_Value="54g644yhr541"/>
         </HotelReservationIDs>
      </ResGlobalInfo>
   </HotelReservation>
</HotelReservations>

12.1.2. CitizenCountryName ELEMENT

CitizenCountryName element shows if it is enough to provide information about citizenship only for tour lead. This element is present on Availability response:

Expand
titleCitizenCountryName element in Hotel Availability Response Sample XML
Code Block
languagexml
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="131dfebd24" FreeCancellationDeadline="2020-11-09T23:58:59+01:00" InexactPrice="false" NumberOfUnits="14" RoomTypeCode="APT.C2" SupplierNumberOfUnitsInd="true" RatePlanCode="RO#102|170054|0">
   <Rates>
   ...
   </Rates>
   <Total AmountAfterTax="2335.95" CurrencyCode="EUR"/>
   <TotalRetail AmountAfterTax="2465.00" IsMin="true" CurrencyCode="EUR"/>
   <CitizenCountryName OnlyLead="Mixed"/>
   ...
</RoomRate>

Possible value of CitizenCountryName/@OnlyLead attribute are "Yes", "No", "Mixed". Identifies the rule, if it is enough to provide information only for tour leader (Yes), or it is necessary to provide for all passengers (No), or both options are possible (Mixed). By default it is necessary to provide this information for all passenger (No).

– If PersonName/@OnlyLead is "Yes" need to just send only Tour Lead citizenship (<CitizenCountryName> element) in Reservation Initiate and Reservation Confirmation requests:

Expand
titleHotel Reservation Request with Tour Lead citizenship only Sample XML
Code Block
languagexml
<HotelReservations>
   <HotelReservation>
      <RoomStays>
         <RoomStay>
            <RoomRates>
               <RoomRate BookingCode="131e016e16" InvBlockCode="1" NumberOfUnits="1"/>
            </RoomRates>
         </RoomStay>
      </RoomStays>
      <ResGuests>
         <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
            <Profiles>
               <ProfileInfo>
                  <UniqueID ID="1" Type="1"/>
                  <Profile>
                     <Customer>
                        <PersonName>
                           <NamePrefix>Mr</NamePrefix>
                           <GivenName>Alexey</GivenName>
                           <Surname>Feofanov</Surname>
                        </PersonName>
                        <CitizenCountryName Code="IL"/>
                     </Customer>
                  </Profile>
               </ProfileInfo>
            </Profiles>
         </ResGuest>
         <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
            <Profiles>
               <ProfileInfo>
                  <UniqueID ID="2" Type="1"/>
                  <Profile>
                     <Customer>
                        <PersonName>
                           <NamePrefix>Mr</NamePrefix>
                           <GivenName>Ivan</GivenName>
                           <Surname>Feofanov</Surname>
                        </PersonName>
                     </Customer>
                  </Profile>
               </ProfileInfo>
            </Profiles>
         </ResGuest>
         <ResGuest AgeQualifyingCode="8" ResGuestRPH="1">
            <Profiles>
               <ProfileInfo>
                  <UniqueID ID="3" Type="1"/>
                  <Profile>
                     <Customer BirthDate="2010-08-14">
                        <PersonName>
                           <NamePrefix>Mr</NamePrefix>
                           <GivenName>Ivanka</GivenName>
                           <Surname>Feofanov</Surname>
                        </PersonName>
                     </Customer>
                  </Profile>
               </ProfileInfo>
            </Profiles>
         </ResGuest>
         <ResGuest AgeQualifyingCode="7" ResGuestRPH="1">
            <Profiles>
               <ProfileInfo>
                  <UniqueID ID="4" Type="1"/>
                  <Profile>
                     <Customer BirthDate="2019-08-14">
                        <PersonName>
                           <NamePrefix>Mrs</NamePrefix>
                           <GivenName>Olga</GivenName>
                           <Surname>Petrova</Surname>
                        </PersonName>
                     </Customer>
                  </Profile>
               </ProfileInfo>
            </Profiles>
         </ResGuest>
      </ResGuests>
      <ResGlobalInfo>
         <HotelReservationIDs>
            <HotelReservationID ResID_Source="agent" ResID_Value="8dh39dn7"/>
            <HotelReservationID ResID_Source="client" ResID_Value="54g644yhr541"/>
         </HotelReservationIDs>
      </ResGlobalInfo>
   </HotelReservation>
</HotelReservations>

– If PersonName/@OnlyLead is "No" need to send citizenship (<CitizenCountryName> element) of all guests in Reservation Initiate and Reservation Confirmation requests:

Expand
titleHotel Reservation Request with all guests citizenship Sample XML
Code Block
languagexml
<HotelReservations>
   <HotelReservation>
      <RoomStays>
         <RoomStay>
            <RoomRates>
               <RoomRate BookingCode="131e016e16" InvBlockCode="1" NumberOfUnits="1"/>
            </RoomRates>
         </RoomStay>
      </RoomStays>
      <ResGuests>
         <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
            <Profiles>
               <ProfileInfo>
                  <UniqueID ID="1" Type="1"/>
                  <Profile>
                     <Customer>
                        <PersonName>
                           <NamePrefix>Mr</NamePrefix>
                           <GivenName>Alexey</GivenName>
                           <Surname>Feofanov</Surname>
                        </PersonName>
                        <CitizenCountryName Code="IL"/>
                     </Customer>
                  </Profile>
               </ProfileInfo>
            </Profiles>
         </ResGuest>
         <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
            <Profiles>
               <ProfileInfo>
                  <UniqueID ID="2" Type="1"/>
                  <Profile>
                     <Customer>
                        <PersonName>
                           <NamePrefix>Mr</NamePrefix>
                           <GivenName>Ivan</GivenName>
                           <Surname>Feofanov</Surname>
                        </PersonName>
                        <CitizenCountryName Code="IL"/>
                     </Customer>
                  </Profile>
               </ProfileInfo>
            </Profiles>
         </ResGuest>
         <ResGuest AgeQualifyingCode="8" ResGuestRPH="1">
            <Profiles>
               <ProfileInfo>
                  <UniqueID ID="3" Type="1"/>
                  <Profile>
                     <Customer BirthDate="2010-08-14">
                        <PersonName>
                           <NamePrefix>Mr</NamePrefix>
                           <GivenName>Ivanka</GivenName>
                           <Surname>Feofanov</Surname>
                        </PersonName>
                        <CitizenCountryName Code="IL"/>
                     </Customer>
                  </Profile>
               </ProfileInfo>
            </Profiles>
         </ResGuest>
         <ResGuest AgeQualifyingCode="7" ResGuestRPH="1">
            <Profiles>
               <ProfileInfo>
                  <UniqueID ID="4" Type="1"/>
                  <Profile>
                     <Customer BirthDate="2019-08-14">
                        <PersonName>
                           <NamePrefix>Mrs</NamePrefix>
                           <GivenName>Olga</GivenName>
                           <Surname>Petrova</Surname>
                        </PersonName>
                        <CitizenCountryName Code="IL"/>
                     </Customer>
                  </Profile>
               </ProfileInfo>
            </Profiles>
         </ResGuest>
      </ResGuests>
      <ResGlobalInfo>
         <HotelReservationIDs>
            <HotelReservationID ResID_Source="agent" ResID_Value="8dh39dn7"/>
            <HotelReservationID ResID_Source="client" ResID_Value="54g644yhr541"/>
         </HotelReservationIDs>
      </ResGlobalInfo>
   </HotelReservation>
</HotelReservations>

12.2. BOOKING

...

12.2.1. BOOKING WITH SERVICES

...