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

« Previous Version 2 Current »

The Flight Booking Retrieval Import Response contains the booking information as full as this is available from supplier. Elements are the same as described in Flight Booking Retrieval Quote Response, but TransactionStatusCode attribute has different value:

Element

Attribute

Type

Description

Min…Max occurs

OTA_AirBookRS*

TransactionStatusCode*

string ("Import")

Indicates the type of request. Must be "Import" for that step.

1...1

FlightSegment element has additional attribute:

Element

Attribute

Type

Description

Min…Max occurs

StatusCode

string

GDS segment status code. GP HUB shows it only for case when supplier returns 2-letter GDS segment status code.

Note: This functionality supported for limited suppliers. Please check with GP Travel HUB development if you are interested in specific supplier.

0..1

Note: In the case of an import for a canceled booking the amount for the tariff (PTC_FareBreakdown) may not be known to us, so we calculate it as a simple division of the total amount of penalties by the number of passengers. And in some cases, this may lead to the fact that the sum of all tariffs will not be equal to the total amount of penalties.

Also BookingReferenceID/CompanyName is added:

Element

Attribute

Type

Description

Min…Max occurs

BookingReferenceID/CompanyName

Code

string (2 - 3)

Air company code.

0...1

CodeContext

string (“IATA”)

Specifies the context of the Code.

0...1

 Flight Booking Retrieval Import Response Sample XML
<OTA_AirBookRS xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="EchoToken" TransactionStatusCode="Import" Version="2.0">
  <Success/>
  <AirReservations>
    <AirReservation RPH="1">
      <AirItinerary ActionCode="Issued" CodeContext="supplierCode">
        <OriginDestinationOptions>
          <OriginDestinationOption JourneyDuration="PT1H15M0.000S" MajorityAirline="AF" RPH="1">
            <FlightSegment ArrivalDateTime="2021-06-10T08:35:00" DepartureDateTime="2021-06-10T06:20:00" FlightDuration="PT1H15M0.000S" FlightNumber="1081" RPH="11" Status="Have Sold" StopQuantity="0">
              <DepartureAirport LocationCode="LHR"/>
              <ArrivalAirport LocationCode="CDG"/>
              <OperatingAirline Code="AF"/>
              <MarketingAirline Code="AF"/>
              <BookingClassAvails>
                <BookingClassAvail ResBookDesigCode="Y" ResBookDesigName="Economy"/>
              </BookingClassAvails>
            </FlightSegment>
          </OriginDestinationOption>
          <OriginDestinationOption JourneyDuration="PT1H25M0.000S" MajorityAirline="AF" RPH="2">
            <FlightSegment ArrivalDateTime="2021-06-17T07:55:00" DepartureDateTime="2021-06-17T07:30:00" FlightDuration="PT1H25M0.000S" FlightNumber="1680" RPH="21" Status="Have Sold" StopQuantity="0">
              <DepartureAirport LocationCode="CDG"/>
              <ArrivalAirport LocationCode="LHR"/>
              <OperatingAirline Code="AF"/>
              <MarketingAirline Code="AF"/>
              <BookingClassAvails>
                <BookingClassAvail ResBookDesigCode="Y" ResBookDesigName="Economy"/>
              </BookingClassAvails>
            </FlightSegment>
          </OriginDestinationOption>
        </OriginDestinationOptions>
      </AirItinerary>
      <PriceInfo FilingAirlineCodeList="AF" PricingSource="WebFare">
        <ItinTotalFare>
          <BaseFare Amount="173.00" CurrencyCode="GBP"/>
          <Taxes>
            <Tax Amount="13.00" CurrencyCode="GBP" TaxCode="17"/>
            <Tax Amount="20.64" CurrencyCode="GBP" TaxCode="17"/>
            <Tax Amount="14.90" CurrencyCode="GBP" TaxCode="17"/>
            <Tax Amount="1.00" CurrencyCode="GBP" TaxCode="17"/>
            <Tax Amount="1.40" CurrencyCode="GBP" TaxCode="17"/>
            <Tax Amount="11.90" CurrencyCode="GBP" TaxCode="17"/>
            <Tax Amount="20.64" CurrencyCode="GBP" TaxCode="17"/>
            <Tax Amount="14.90" CurrencyCode="GBP" TaxCode="17"/>
            <Tax Amount="1.00" CurrencyCode="GBP" TaxCode="17"/>
            <Tax Amount="1.40" CurrencyCode="GBP" TaxCode="17"/>
            <Tax Amount="11.90" CurrencyCode="GBP" TaxCode="17"/>
            <Tax Amount="20.64" CurrencyCode="GBP" TaxCode="17"/>
          </Taxes>
          <TotalFare Amount="306.32" CurrencyCode="GBP"/>
        </ItinTotalFare>
        <PTC_FareBreakdowns>
          <PTC_FareBreakdown FilingAirlineCode="AF">
            <PassengerTypeQuantity Code="ADT" Quantity="1"/>
            <FareBasisCodes>
              <FareBasisCode FlightSegmentRPH="11">GS5UA5LT</FareBasisCode>
              <FareBasisCode FlightSegmentRPH="21">HS50ABLG</FareBasisCode>
            </FareBasisCodes>
            <PassengerFare>
              <BaseFare Amount="91.00" CurrencyCode="GBP"/>
              <Taxes>
                <Tax Amount="62.84" CurrencyCode="GBP" TaxCode="17"/>
              </Taxes>
              <TotalFare Amount="153.84" CurrencyCode="GBP"/>
            </PassengerFare>
          </PTC_FareBreakdown>
          <PTC_FareBreakdown FilingAirlineCode="AF">
            <PassengerTypeQuantity Code="CHD" Quantity="1"/>
            <FareBasisCodes>
              <FareBasisCode FlightSegmentRPH="11">GS5UA5LT</FareBasisCode>
              <FareBasisCode FlightSegmentRPH="21">HS50ABLG</FareBasisCode>
            </FareBasisCodes>
            <PassengerFare>
              <BaseFare Amount="73.00" CurrencyCode="GBP"/>
              <Taxes>
                <Tax Amount="49.84" CurrencyCode="GBP" TaxCode="17"/>
              </Taxes>
              <TotalFare Amount="122.84" CurrencyCode="GBP"/>
            </PassengerFare>
          </PTC_FareBreakdown>
          <PTC_FareBreakdown FilingAirlineCode="AF">
            <PassengerTypeQuantity Code="INF" Quantity="1"/>
            <FareBasisCodes>
              <FareBasisCode FlightSegmentRPH="11">GS5UA5LT</FareBasisCode>
              <FareBasisCode FlightSegmentRPH="21">HS50ABLG</FareBasisCode>
            </FareBasisCodes>
            <PassengerFare>
              <BaseFare Amount="9.00" CurrencyCode="GBP"/>
              <Taxes>
                <Tax Amount="20.64" CurrencyCode="GBP" TaxCode="17"/>
              </Taxes>
              <TotalFare Amount="29.64" CurrencyCode="GBP"/>
            </PassengerFare>
          </PTC_FareBreakdown>
        </PTC_FareBreakdowns>
        <FareInfos>
          <FareInfo>
            <FareReference>GS5UA5LT</FareReference>
            <RuleInfo>
              <GeneralRules>
                <GeneralRule>
                  <Text>Baggage Allowance: No Free Luggage</Text>
                </GeneralRule>
                <GeneralRule>
                  <Text>CHANGE-PN1: You can change the booking prior to departure with proper charge of 0.00 GBP</Text>
                </GeneralRule>
                <GeneralRule>
                  <Text>CHANGE-PN1: You can change the booking after departure with proper charge of 0.00 GBP</Text>
                </GeneralRule>
                <GeneralRule>
                  <Text>NOSHOW-PN1: You are not allowed to board another plane if NOSHOW</Text>
                </GeneralRule>
                <GeneralRule>
                  <Text>CANCELLATION-PN1: Booking cancellation is not available for this booking</Text>
                </GeneralRule>
                <GeneralRule>
                  <Text>CHANGE-PN2: You can change the booking prior to departure with proper charge of 0.00 GBP</Text>
                </GeneralRule>
                <GeneralRule>
                  <Text>CHANGE-PN2: You can change the booking after departure with proper charge of 0.00 GBP</Text>
                </GeneralRule>
                <GeneralRule>
                  <Text>NOSHOW-PN2: You are not allowed to board another plane if NOSHOW</Text>
                </GeneralRule>
                <GeneralRule>
                  <Text>CANCELLATION-PN2: Booking cancellation is not available for this booking</Text>
                </GeneralRule>
                <GeneralRule>
                  <Text>Terms &amp; Url: https://www.airfrance.co.uk/GB/en/common/transverse/footer/edito_cgt1_airfrance.htm</Text>
                </GeneralRule>
                <GeneralRule>
                  <Text>ENV_false: ABC</Text>
                </GeneralRule>
                <GeneralRule>
                  <Text>IATA_91269312: ABC</Text>
                </GeneralRule>
                <GeneralRule>
                  <Text>Cash payment: The booking will be settled by cash payment. The specified payment card will not be used to pay for the booking.</Text>
                </GeneralRule>
              </GeneralRules>
            </RuleInfo>
            <FilingAirline Code="AF"/>
          </FareInfo>
          <FareInfo>
            <FareReference>HS50ABLG</FareReference>
            <RuleInfo>
              <GeneralRules>
                <GeneralRule>
                  <Text>Baggage Allowance: No Free Luggage</Text>
                </GeneralRule>
                <GeneralRule>
                  <Text>CHANGE-PN1: You can change the booking prior to departure with proper charge of 0.00 GBP</Text>
                </GeneralRule>
                <GeneralRule>
                  <Text>CHANGE-PN1: You can change the booking after departure with proper charge of 0.00 GBP</Text>
                </GeneralRule>
                <GeneralRule>
                  <Text>NOSHOW-PN1: You are not allowed to board another plane if NOSHOW</Text>
                </GeneralRule>
                <GeneralRule>
                  <Text>CANCELLATION-PN1: Booking cancellation is not available for this booking</Text>
                </GeneralRule>
                <GeneralRule>
                  <Text>CHANGE-PN2: You can change the booking prior to departure with proper charge of 0.00 GBP</Text>
                </GeneralRule>
                <GeneralRule>
                  <Text>CHANGE-PN2: You can change the booking after departure with proper charge of 0.00 GBP</Text>
                </GeneralRule>
                <GeneralRule>
                  <Text>NOSHOW-PN2: You are not allowed to board another plane if NOSHOW</Text>
                </GeneralRule>
                <GeneralRule>
                  <Text>CANCELLATION-PN2: Booking cancellation is not available for this booking</Text>
                </GeneralRule>
                <GeneralRule>
                  <Text>Terms &amp; Url: https://www.airfrance.co.uk/GB/en/common/transverse/footer/edito_cgt1_airfrance.htm</Text>
                </GeneralRule>
                <GeneralRule>
                  <Text>ENV_false: ABC</Text>
                </GeneralRule>
                <GeneralRule>
                  <Text>IATA_91269312: ABC</Text>
                </GeneralRule>
                <GeneralRule>
                  <Text>Cash payment: The booking will be settled by cash payment. The specified payment card will not be used to pay for the booking.</Text>
                </GeneralRule>
              </GeneralRules>
            </RuleInfo>
            <FilingAirline Code="AF"/>
          </FareInfo>
        </FareInfos>
      </PriceInfo>
      <TravelerInfo>
        <AirTraveler BirthDate="1990-01-21" PassengerTypeCode="ADT">
          <ProfileRef>
            <UniqueID ID="1" Type="1"/>
          </ProfileRef>
          <PersonName>
            <NamePrefix>Mr</NamePrefix>
            <GivenName>Ted</GivenName>
            <Surname>Mokko</Surname>
          </PersonName>
          <Telephone PhoneLocationType="6" PhoneNumber="375999999999"/>
          <Email>test@gpsolutions.com</Email>
          <Address>
            <AddressLine>12 Main Street</AddressLine>
            <CityName>Dallas</CityName>
            <PostalCode>75000</PostalCode>
            <CountryName Code="US"/>
          </Address>
        </AirTraveler>
        <AirTraveler BirthDate="2010-02-01" PassengerTypeCode="CHD">
          <ProfileRef>
            <UniqueID ID="2" Type="1"/>
          </ProfileRef>
          <PersonName>
            <NamePrefix>Mr</NamePrefix>
            <GivenName>Tom</GivenName>
            <Surname>Setty</Surname>
          </PersonName>
        </AirTraveler>
        <AirTraveler BirthDate="2020-06-01" PassengerTypeCode="INF">
          <ProfileRef>
            <UniqueID ID="3" Type="1"/>
          </ProfileRef>
          <PersonName>
            <NamePrefix>Mr</NamePrefix>
            <GivenName>Ond</GivenName>
            <Surname>Gan</Surname>
          </PersonName>
        </AirTraveler>
      </TravelerInfo>
      <BookingReferenceID ID="D0DI20ABL" Instance="supplier"/>
      <BookingReferenceID ID="D0DI20ABL_1" Instance="agent"/>
      <BookingReferenceID ID="D0DI20ABL_1" Instance="client"/>
      <BookingReferenceID ID="PM0GIHL" Instance="PNR">
        <CompanyName Code="AF" CodeContext="IATA"/>
      </BookingReferenceID>
    </AirReservation>
  </AirReservations>
  • No labels