Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

Reservation Confirmation Request is used to confirm booking of selected offer. It should always follow after corresponding "Initiate" request.

GP_ExcursionResRQ*:

*mandatory

Element

Attribute

Type

Description

Min…Max occurs

PrimaryLangID

For more information see Common Data Description section in Glossary.

0...1

ResStatus*

string (“Book”)

Must be “Book“ for that step.

1...1

TransactionIdentifier

string

A unique ID returned in Reservation Initiate Response.

0...1

ExcursionReservations/ExcursionReservation*

Includes booking information.

1...1

GP_ExcursionResRQ/ExcursionReservations/ExcursionReservation*:

Element

Attribute

Type

Description

Min…Max occurs

Excursions/Excursion*

Contains information about the excursion.

1...*

Excursions/Excursion/ExcursionRates/ExcursionRate*

Describes the offer to book.

1...1

Excursions/Excursion/Departure

For more information see Reservation Initiate Request section.

0...1

ResGuests/ResGuest*

For more information see Reservation Initiate Request section.

1...*

ResGlobalInfo*

For more information see Reservation Initiate Request section.

1...1

GP_ExcursionResRQ/ExcursionReservations/ExcursionReservation/Excursions/Excursion/ExcursionRates/ExcursionRate*:

Element

Attribute

Type

Description

Min…Max occurs

RPH*

integer

Must always be 1.

1...1

BookingCode*

string

A specific identifier generated by GP Hub at Excursion Availability Response for further referencing to this offer. It specifies exact excursion, date and language.

1...1

AdditionalQuestions/AdditionalQuestion

For more information see Reservation Initiate Request section.

0...*

Services/Service

For more information see Reservation Initiate Request section.

0...999

 Excursion Reservation Confirmation Request Sample XML
<GP_ExcursionResRQ EchoToken="EchoToken" Version="2.0" PrimaryLangID="en" ResStatus="Book" TransactionIdentifier="187001">
   <POS>
      <Source>
         <RequestorID ID="client" MessagePassword="pwd" Type="22"/>
         <BookingChannel Type="7"/>
      </Source>
   </POS>
   <ExcursionReservations>
      <ExcursionReservation>
         <Excursions>
            <Excursion>
               <ExcursionRates>
                  <ExcursionRate BookingCode="133d083473" RPH="1"/>
               </ExcursionRates>
            </Excursion>
         </Excursions>
         <ResGuests>
            <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
               <Profiles>
                  <ProfileInfo>
                     <UniqueID ID="1" Type="1"/>
                     <Profile>
                        <Customer BirthDate="1980-06-12">
                           <PersonName>
                              <NamePrefix>Mr</NamePrefix>
                              <GivenName>Serge</GivenName>
                              <Surname>Courtois</Surname>
                           </PersonName>
                           <Telephone PhoneNumber="+2324234234"/>
                           <Email>test@gpsolutions.com</Email>
                           <CitizenCountryName Code="KW"/>
                        </Customer>
                     </Profile>
                  </ProfileInfo>
               </Profiles>
            </ResGuest>
            <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
               <Profiles>
                  <ProfileInfo>
                     <UniqueID ID="2" Type="1"/>
                     <Profile>
                        <Customer BirthDate="2003-06-12">
                           <PersonName>
                              <NamePrefix>Mrs</NamePrefix>
                              <GivenName>Thibault</GivenName>
                              <Surname>Courtois</Surname>
                           </PersonName>
                        </Customer>
                     </Profile>
                  </ProfileInfo>
               </Profiles>
            </ResGuest>
            <ResGuest AgeQualifyingCode="8" ResGuestRPH="1">
               <Profiles>
                  <ProfileInfo>
                     <UniqueID ID="3" Type="1"/>
                     <Profile>
                        <Customer BirthDate="2014-11-12">
                           <PersonName>
                              <NamePrefix>Mr</NamePrefix>
                              <GivenName>Mary</GivenName>
                              <Surname>Courtois</Surname>
                           </PersonName>
                        </Customer>
                     </Profile>
                  </ProfileInfo>
               </Profiles>
            </ResGuest>
            <ResGuest AgeQualifyingCode="7" ResGuestRPH="1">
               <Profiles>
                  <ProfileInfo>
                     <UniqueID ID="4" Type="1"/>
                     <Profile>
                        <Customer BirthDate="2019-11-12">
                           <PersonName>
                              <NamePrefix>Mr</NamePrefix>
                              <GivenName>John</GivenName>
                              <Surname>Courtois</Surname>
                           </PersonName>
                        </Customer>
                     </Profile>
                  </ProfileInfo>
               </Profiles>
            </ResGuest>
         </ResGuests>
         <ResGlobalInfo>
            <Comments>
               <Comment>
                  <Text>Please, arrange vegetarian meal.</Text>
               </Comment>
            </Comments>
            <ExcursionReservationIDs>
               <ExcursionReservationID ResID_Source="agent" ResID_Value="hjo8dfg"/>
               <ExcursionReservationID ResID_Source="client" ResID_Value="34rf4g3frre45"/>
            </ExcursionReservationIDs>
         </ResGlobalInfo>
      </ExcursionReservation>
   </ExcursionReservations>
</GP_ExcursionResRQ>
  • No labels