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 Current »

Reservation Confirmation Request is used to confirm booking of selected offer. It should always follow after corresponding "Initiate" request. Reservation Confirmation Request must be the same as Reservation Initiate Response except ResStatus,TransactionIdentifier and BookingCode values. Other elements and attributes must be the same. The only exception that can occur is AdditionalQuestions element. If answers on AdditionalQuestions were not provided at Initiate Step (and only questions were returned) so answers should be provided on Reservation Confirmation Request.

GP_TransferResRQ*:

*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

TransferReservations/TransferReservation*

Includes booking information.

1...1

TransferReservations/TransferReservation/Transfers/Transfer*

Represents a transfer details.

1...1

TransferRates/TransferRate*

Describes transfer rate. There could be several rates for the same transfer depending on vehicle type and other reasons.

1...1

RPH*

integer

Must be always 1.

1...1

BookingCode*

string

A unique offer identifier. Must be taken from the Reservation Initiate Response step.

Note: BookingCode may change between Availability response and Reservation Initiate response (it is supplier specific).

1...1

TransferRates/TransferRate/AdditionalQuestions/AdditionalQuestion

For more information see Reservation Initiate Response section. If answers on AdditionalQuestions were not provided and Initiate Step (and only questions were returned) so answers should be provided on Reservation Confirmation Request in AnswerValues element.

0...*

TransferDate

For more information see Common Data Description section in Glossary.

0..1

TransferSegments/TransferSegment

For more information see Reservation Initiate Request section.

0..1

TransferReservations/TransferReservation/ResGuests/ResGuest*

For more information see Reservation Initiate Request section.

1...*

TransferReservations/TransferReservation/ResGlobalInfo*

For more information see Reservation Initiate Request section.

1...1

 Transfer Reservation Confirmation Request Sample XML - 1 adults 1 child
<GP_TransferResRQ xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="EchoToken" PrimaryLangID="en" ResStatus="Book" TransactionIdentifier="188040" Version="2">
  <POS>
    <Source>
      <RequestorID ID="client" MessagePassword="pwd" Type="22"/>
      <BookingChannel PriceDomain="1" Type="7"/>
    </Source>
  </POS>
  <TransferReservations>
    <TransferReservation>
      <Transfers>
        <Transfer>
          <TransferRates>
            <TransferRate BookingCode="134b50d8a6" RPH="1"/>
          </TransferRates>
          <TransferDate DateTime="2020-10-29T14:00:00"/>
          <TransferSegments>
            <TransferSegment>
              <TransferPickUpDetails>
                <FlightDetails ArrivalCode="ZRH" CodeContext="IATA" DepartureCode="MSQ" FlightDateTime="2020-10-29T14:00:00" FlightNumber="KK999"/>
              </TransferPickUpDetails>
              <TransferDropOffDetails>
                <Hotel HotelCityCode="ZRH" HotelCode="6419" HotelCodeContext="supplierCode"/>
              </TransferDropOffDetails>
            </TransferSegment>
          </TransferSegments>
        </Transfer>
      </Transfers>
      <ResGuests>
        <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
          <Profiles>
            <ProfileInfo>
              <UniqueID ID="1"/>
              <Profile>
                <Customer>
                  <PersonName>
                    <NamePrefix>Mr</NamePrefix>
                    <GivenName>Gastarbaiter</GivenName>
                    <Surname>Eins</Surname>
                  </PersonName>
                  <CitizenCountryName Code="MC"/>
                </Customer>
              </Profile>
            </ProfileInfo>
          </Profiles>
        </ResGuest>
        <ResGuest AgeQualifyingCode="8" ResGuestRPH="1">
          <Profiles>
            <ProfileInfo>
              <UniqueID ID="2"/>
              <Profile>
                <Customer BirthDate="2011-01-01">
                  <PersonName>
                    <NamePrefix>Mr</NamePrefix>
                    <GivenName>Gastarbaiter</GivenName>
                    <Surname>Zwei</Surname>
                  </PersonName>
                  <CitizenCountryName Code="MC"/>
                </Customer>
              </Profile>
            </ProfileInfo>
          </Profiles>
        </ResGuest>
      </ResGuests>
      <ResGlobalInfo>
        <Comments>
          <Comment>
            <Text>comment example</Text>
          </Comment>
        </Comments>
        <TransferReservationIDs>
          <TransferReservationID ResID_Source="agent" ResID_Value="4b4faca6ag"/>
          <TransferReservationID ResID_Source="client" ResID_Value="4b4faca6"/>
        </TransferReservationIDs>
      </ResGlobalInfo>
    </TransferReservation>
  </TransferReservations>
</GP_TransferResRQ>
  • No labels