Versions Compared

Key

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

...

Expand
titleTransfer Reservation Confirmation Request Sample XML
Code Block
languagexml
<GP_TransferResRQ xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="EchoToken" PrimaryLangID="en" ResStatus="Book" TransactionIdentifier="493" 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="2719ca5a6" RPH="1"/>
          </TransferRates>
          <TransferDate DateTime="2022-11-04T11:00:00"/>
          <TransferSegments>
            <TransferSegment>
              <TransferPickUpDetails>
                <Hotel HotelCityCode="ZRH" HotelCode="6419" HotelCodeContext="supplierCode"/>
              </TransferPickUpDetails>
              <TransferDropOffDetails>
                <FlightDetails ArrivalCode="VIE" CodeContext="IATA" DepartureCode="ZRH" FlightDateTime="2022-11-04T14:00:00" FlightNumber="KK999"/>
              </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="7" ResGuestRPH="1">
          <Profiles>
            <ProfileInfo>
              <UniqueID ID="2"/>
              <Profile>
                <Customer BirthDate="2021-01-01">
                  <PersonName>
                    <NamePrefix>Mr</NamePrefix>
                    <GivenName>Gastarbaiter</GivenName>
                    <Surname>Zwei</Surname>
                  </PersonName>
                  <CitizenCountryName Code="MC"/>
                </Customer>
              </Profile>
            </ProfileInfo>
          </Profiles>
        </ResGuest>
      </ResGuests>
      <ResGlobalInfo>
        <TransferReservationIDs>
          <TransferReservationID ResID_Source="client" ResID_Value="65hj7h33h3i00"/>
        </TransferReservationIDs>
      </ResGlobalInfo>
    </TransferReservation>
  </TransferReservations>
</GP_TransferResRQ>

9.3. SEE PRICE FOR CANCELLATION ON RETRIEVE

On Retrieve after Cancellation you can see the total price of the booking and the total price of the cancellation.

TransferRates/TransferRate/Rates/Rate/Total/@AmountAfterTax - is the total price of the booking (even if the reservation has already been cancelled for free). This Amount has the same value that we show on Reservation.Tran

Transfer/Total/@AmountAfterTax - is the actual total price for the booking. This Amount is the price of the cancellation.

Expand
titleReservation Confirmation Response
Code Block
languagexml
<GP_TransferResRS xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="EchoToken" Version="2.0">
  <Success/>
  <TransferReservations>
    <TransferReservation ResStatus="Reserved">
      <Transfers>
        <Transfer>
          <TransferRates>
            <TransferRate BookingCode="3264cb" Language="Undefined" RPH="1" RateCode="HBATPWKRHBATRFBOM-1" RateName="Standard" Type="Individual">
              <Rates>
                <Rate AgeQualifyingCode="10" RateSource="Calculated">
                  <Total AmountAfterTax="75.34" CurrencyCode="AUD"/>
                </Rate>
                <Rate AgeQualifyingCode="10" RateSource="Calculated">
                  <Total AmountAfterTax="75.33" CurrencyCode="AUD"/>
                </Rate>
                <Rate AgeQualifyingCode="8" RateSource="Calculated">
                  <Total AmountAfterTax="75.33" CurrencyCode="AUD"/>
                </Rate>
              </Rates>
              <RateDescription Name="Standard">
                <Text>0. Luggage Trailer</Text>
              </RateDescription>
              <Total AmountAfterTax="226.00" CurrencyCode="AUD"/>
              <CancelPenalties>
                <CancelPenalty End="2021-07-20T23:59:59" Start="2021-07-18T00:00:00">
                  <AmountPercent Amount="226.00" CurrencyCode="AUD"/>
                </CancelPenalty>
              </CancelPenalties>
            </TransferRate>
          </TransferRates>
          <TransferDate DateTime="2021-07-20"/>
          <TransferSegments>
            <TransferSegment>
              <TransferPickUpDetails>
                <Address>
                  <AddressLine>Departure, 27 Street</AddressLine>
                  <CityName>CityName</CityName>
                  <PostalCode>220000</PostalCode>
                  <CountryName>CountryName</CountryName>
                </Address>
              </TransferPickUpDetails>
              <TransferDropOffDetails>
                <Address>
                  <AddressLine>Destination, 12 Platz</AddressLine>
                  <CityName>City</CityName>
                  <PostalCode>210000</PostalCode>
                  <CountryName>Country</CountryName>
                </Address>
              </TransferDropOffDetails>
            </TransferSegment>
          </TransferSegments>
          <Total AmountAfterTax="226.00" CurrencyCode="AUD"/>
          <BasicTransferInfo AddressSupported="true" HotelCodeSupported="false" OperatedBy="Walkers Coaches" TransferCode="HBATPWKRHBATRFBOM" TransferCodeContext="supplierCode" TransferName="Hobart CBD to Bonorong Wildlife Sanctury - Standard Sedan">
            <TransferDeparture CodeContext="supplierCode" LocationCode="T-619" LocationType="City"/>
            <TransferDestination CodeContext="supplierCode" LocationCode="T-619" LocationType="City"/>
            <VendorMessages>
              <VendorMessage InfoType="5">
                <SubSection>
                  <Paragraph>
                    <Text>Maximum Passengers Per Vehicle: 3.
Baggage Capacity: 2 suitcases and 2 small hand luggage. Excess luggage transportation by taxi at owner's expense.
- A luggage trailer can be requested at an additional charge to be requested at time of booking.

Departure Information:
- Please make your way to hotel reception 10 minutes prior to pick up time.
</Text>
                  </Paragraph>
                </SubSection>
              </VendorMessage>
            </VendorMessages>
          </BasicTransferInfo>
        </Transfer>
      </Transfers>
      <ResGuests>
        <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
          <Profiles>
            <ProfileInfo>
              <UniqueID ID="1" Type="1"/>
              <Profile>
                <Customer>
                  <PersonName>
                    <NamePrefix>Mr</NamePrefix>
                    <GivenName>Ivan</GivenName>
                    <Surname>Ivanov</Surname>
                  </PersonName>
                  <Email>petrov@gmail.com</Email>
                  <CitizenCountryName Code="MC"/>
                </Customer>
              </Profile>
            </ProfileInfo>
          </Profiles>
        </ResGuest>
      </ResGuests>
      <ResGlobalInfo>
        <DepositPayments>
          <GuaranteePayment Type="AcceptedPaymentForms">
            <AcceptedPayments>
              <AcceptedPayment CostCenterID="supplierCode"/>
            </AcceptedPayments>
          </GuaranteePayment>
        </DepositPayments>
        <TransferReservationIDs>
          <TransferReservationID ResID_Source="agent" ResID_Value="332dhddh2"/>
          <TransferReservationID ResID_Source="client" ResID_Value="tefddsft2"/>
          <TransferReservationID ResID_Source="supplier" ResID_Value="XXXX4635/46786"/>
        </TransferReservationIDs>
      </ResGlobalInfo>
    </TransferReservation>
  </TransferReservations>
</GP_TransferResRS>
Expand
titleTransfer Cancellation Response
Code Block
languagexml
<OTA_CancelRS xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="EchoToken" Status="Cancelled" Version="2.0">
  <Success/>
  <UniqueID ID="332dhddh2" ID_Context="agent" Type="102"/>
  <UniqueID ID="tefddsft2" ID_Context="client" Type="102"/>
  <UniqueID ID="XXXX4635/46786" ID_Context="supplier" Type="102"/>
  <CancelInfoRS>
    <CancelRules>
      <CancelRule Amount="0.00" CurrencyCode="AUD"/>
    </CancelRules>
  </CancelInfoRS>
</OTA_CancelRS>
Expand
titleTransfer Booking Retrieval Response
Code Block
languagexml
<GP_TransferResRS xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="EchoToken" Version="2.0">
  <Success/>
  <TransferReservations>
    <TransferReservation ResStatus="Cancelled">
      <Transfers>
        <Transfer>
          <TransferRates>
            <TransferRate BookingCode="3264cb" Language="Undefined" RPH="1" RateCode="HBATPWKRHBATRFBOM-1" RateName="Standard" Type="Individual">
              <Rates>
                <Rate AgeQualifyingCode="10" RateSource="Calculated">
                  <Total AmountAfterTax="75.34" CurrencyCode="AUD"/>
                </Rate>
                <Rate AgeQualifyingCode="10" RateSource="Calculated">
                  <Total AmountAfterTax="75.33" CurrencyCode="AUD"/>
                </Rate>
                <Rate AgeQualifyingCode="8" RateSource="Calculated">
                  <Total AmountAfterTax="75.33" CurrencyCode="AUD"/>
                </Rate>
              </Rates>
              <RateDescription Name="Standard">
                <Text>0. Luggage Trailer</Text>
              </RateDescription>
              <Total AmountAfterTax="226.00" CurrencyCode="AUD"/>
              <CancelPenalties>
                <CancelPenalty End="2021-07-20T23:59:59" Start="2021-07-18T00:00:00">
                  <AmountPercent Amount="226.00" CurrencyCode="AUD"/>
                </CancelPenalty>
              </CancelPenalties>
            </TransferRate>
          </TransferRates>
          <TransferDate DateTime="2021-07-20"/>
          <TransferSegments>
            <TransferSegment>
              <TransferPickUpDetails>
                <Address>
                  <AddressLine>Departure, 27 Street</AddressLine>
                  <CityName>CityName</CityName>
                  <PostalCode>220000</PostalCode>
                  <CountryName>CountryName</CountryName>
                </Address>
              </TransferPickUpDetails>
              <TransferDropOffDetails>
                <Address>
                  <AddressLine>Destination, 12 Platz</AddressLine>
                  <CityName>City</CityName>
                  <PostalCode>210000</PostalCode>
                  <CountryName>Country</CountryName>
                </Address>
              </TransferDropOffDetails>
            </TransferSegment>
          </TransferSegments>
          <Total AmountAfterTax="0.00" CurrencyCode="AUD"/>
          <BasicTransferInfo AddressSupported="true" HotelCodeSupported="false" OperatedBy="Walkers Coaches" TransferCode="HBATPWKRHBATRFBOM" TransferCodeContext="supplierCode" TransferName="Hobart CBD to Bonorong Wildlife Sanctury - Standard Sedan">
            <TransferDeparture CodeContext="supplierCode" LocationCode="T-619" LocationType="City"/>
            <TransferDestination CodeContext="supplierCode" LocationCode="T-619" LocationType="City"/>
            <VendorMessages>
              <VendorMessage InfoType="5">
                <SubSection>
                  <Paragraph>
                    <Text>Maximum Passengers Per Vehicle: 3.
Baggage Capacity: 2 suitcases and 2 small hand luggage. Excess luggage transportation by taxi at owner's expense.
- A luggage trailer can be requested at an additional charge to be requested at time of booking.

Departure Information:
- Please make your way to hotel reception 10 minutes prior to pick up time.
</Text>
                  </Paragraph>
                </SubSection>
              </VendorMessage>
            </VendorMessages>
          </BasicTransferInfo>
        </Transfer>
      </Transfers>
      <ResGuests>
        <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
          <Profiles>
            <ProfileInfo>
              <UniqueID ID="1" Type="1"/>
              <Profile>
                <Customer>
                  <PersonName>
                    <NamePrefix>Mr</NamePrefix>
                    <GivenName>Ivan</GivenName>
                    <Surname>Ivanov</Surname>
                  </PersonName>
                </Customer>
              </Profile>
            </ProfileInfo>
          </Profiles>
        </ResGuest>
      </ResGuests>
      <ResGlobalInfo>
        <DepositPayments>
          <GuaranteePayment Type="AcceptedPaymentForms">
            <AcceptedPayments>
              <AcceptedPayment CostCenterID="supplierCode"/>
            </AcceptedPayments>
          </GuaranteePayment>
        </DepositPayments>
        <TransferReservationIDs>
          <TransferReservationID ResID_Source="agent" ResID_Value="332dhddh2"/>
          <TransferReservationID ResID_Source="client" ResID_Value="tefddsft2"/>
          <TransferReservationID ResID_Source="supplier" ResID_Value="XXXX4635/46786"/>
        </TransferReservationIDs>
      </ResGlobalInfo>
    </TransferReservation>
  </TransferReservations>
</GP_TransferResRS>