Versions Compared

Key

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

The Flight Ticketing Response contains a full itinerary and booking details, with additional information about the tickets issued.

OTA_AirDemandTicketRS*:

*mandatory

Element

Attribute

Type

Description

Min…Max occurs

PrimaryLangID*

 

For more information see Common Data Description section in Glossary.

0...1

Success

 

 For more information see Common Data Description section in Glossary.

 

Warnings/Warning

 

 For more information see Common Data Description section in Glossary.

AirReservations

Contains information about all flights.

0...1

ResStatus

string ("Issued", “Reserved“)

Indicates status of the reservation when multibooking is performed. Possible value is “Issued” – in case tickets were issued successfully. If at least one reservation has status "Issued" the common status will be “Issued”.

Aslo the “Reserved“ status is possible. It may occur when the tickets were issued successuly, but you need to wait for them. You need to send Flight Booking Retrieval message to get the tickets and update status.

0...1

AirReservations/AirReservation

Contains information about one of the reservations.

0...*

AirReservations/TotalFare

For more information see Booking Retrieval Quote Response section.

0...1

AirReservations/BookingReferenceID

For more information see Reservation Initiate Request section.

0...1

...

Element

Attribute

Type

Description

Min…Max occurs

RPH*

integer

A special identifier of requested flight.

1...1

AirItinerary*

A collection of all flight segments requested for booking.

1...1

ActionCode*

string ("Issued", “Reserved“)

Indicates status of the reservation. Possible value is "Issued" - in case tickets were issued successfully, “Reserved“ - in case ticket was reserved, but not issued yet.

1...1

CodeContext

string

An id of supplier providing offer.

0...1

AirItinerary/OriginDestinationOptions/OriginDestinationOption

For more information see Low Fare Search Response section.

0...*

AirItinerary/OriginDestinationOptions/OriginDestinationOption/FlightSegment*

For more information see Reservation Initiate Response section. Also added the following attributes:

1...*

NotValidBefore

yyyy-mm-dd

Identifies the date before which the fare basis code is not valid.

0...1

NotValidAfter

yyyy-mm-dd

Identifies the date after which the fare basis code is not valid.

0...1

PriceInfo*

Contains special formulas for applying different discounts for the offer.

1…1

FilingAirlineCodeList

string

Contains the list of codes of the validating airlines.

0...1

PricingSource

string ("Published", "Private", "WebFare")

Identifies private fare or not. In case of private fare has "Private" value, also can be "Published". For LCC it has value "WebFare"; otherwise element is absent.

0...1

PriceInfo/ItinTotalFare*

For more information see Reservation Initiate Request section.

PriceInfo/PTC_FareBreakdowns/PTC_FareBreakdown*

For more information see Reservation Initiate Response section.

1...*

PriceInfo/FareInfos/FareInfo

For more information see Reservation Initiate Response section.

0...*

TravelerInfo

Contains information about the travelers for booking.

0...1

TravelerInfo/AirTraveler

For more information see Reservation Initiate Request section.

0...*

TravelerInfo/SpecialReqDetails

Has the same structure as in Reservation Initiate Request, but new attribure in SeatRequests/SeatRequest is added:

0...1

SeatID

Unique identifier of a seat. Corresponding with ID attribute in Flight Booking Retrieval Response.

0…1

Ticketing

Contains ticketing information. If ticket was issued, it contains information about the ticket number, issue date (if provided by supplier) and about current ticket status.

Info

Note: Ticketing is not displayed for Web Fare (LCC) bookings.

0...99

PseudoCityCode

string

An identification code assigned to an office/agency by a reservation system.

0...1

TicketIssueDate

yyyy-mm-dd T hh-mm-ss

The date when the ticket was issued (if provided by supplier).

Info

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

0...1

TicketNumber

string

Contains the ticket number.

0...1

TicketType

string ("eTicket", MCO“)

Indicates type of ticket. Must be "eTicket", in case of EMD the status will be “MCO” (A miscellaneous charges order issued by either the airline or agency to process the payment of travel arrangements, usually to pay for services other than airfares.).

0...1

TicketingStatus

string ("3", "7")

Identifies current ticket status. Possible values are: "3" - for issued ticket, "7" - for void ticket.

0...1

TravelerRefNumber

string

Specifies the traveler ID for this ticket.

0...1

VoidTimeLimit

yyyy-mm-dd T hh-mm-ss

Specifies Void time limit, If provided by supplier.

0...1

FlightSegmentRefNumber

string

Specifies the segment number for this ticket if need. Returns in response if one passenger have several tickets for several flight segments (if FilingAirlineCodeList attribute contents several airlines).

0...1

Ticketing/TicketingVendor

Contains additional information about tickets

0...1

Code

string (1 - 16)

Identifies a company by the company code.

0...1

CodeContext

string (1 - 32)

Identifies the context of the identifying code.

0...1

CompanyShortName

string (1 - 32)

Identifies the company common name

0...1

LocationName

string (1 - 128)

Identifies company address.

0...1

Queues/Queue

For more information see Reservation Initiate Request section.

0...10

BookingReferenceID*

For more information see Flight Booking Retrieval Quote section.

1...16

Offer

Contains information about extra service, that are available for booking.

Info

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

0...1

Offer/Priced

Defines the specific extra service.

0...*

OfferID*

string

Internal ID of this service. Corresponding with ID attribute in Flight Booking Retrieval Quote Response.

1...1

CarrierCode

string

Contains the code of service's owner.

0...1

Status

string ("Holds confirmed, EMD required", "Holds confirmed, EMD issued", "Placing on waitlist/new schedule", "Pending confirmation", "Cancelled", "Declined", "Holds confirmed, no EMD required")

Transitional status of service's booking.

"Holds confirmed, EMD required" - means that the aircompany has confirmed this service. And EMD should be issued. In that case client should call Flight Ticketing.

"Holds confirmed, EMD issued" - means that aircompany has already confirmed and Issued this service. Hub will return ticket number for this service.

"Placing on waitlist/new schedule" - means that service in the same condition as for "Pending confirmation". In future status may be changed to Holds confirmed, Declined or Cancelled.

"Pending confirmation" - means that the aircompany hasn't confirmed this service yet.

"Cancelled" - means that servise was cancelled (service was Holds confirmed before).

"Declined" - means that servise was declined (service was never Holds confirmed).

"Holds confirmed, no EMD required" - special service status that means that the booking is completed. EMD is not required.

0...1

TravelerRPH

string

The traveler ID to whom the request applies. If attribute is missed then it means that the service is applies to all passengers.

0...1

FlightSegmentRPHList*

string

Contains a list of segments for which the service is applicable (there can be several segments).

1...1

MandatoryInd

boolean

Defines whether the service is mandatory for booking or not.

0...1

Name*

string ("Baggage", "Seat assignment", "Meal/Beverage", “Extra“)

OTA name of service.

1...1

Offer/Priced/ServiceFamily*

For more information see Flight Booking Retrieval Quote section.

1...1

Offer/Priced/Pricing*

1...1

Offer/Priced/BookingInstruction

Contains booking and upgrade instructions.

0...1

Offer/Priced/BookingInstruction/SSR_Info

Contains code which should be provided for booking.

0...1

SSRCode*

string

1...1

Expand
titleFlight Ticketing Response Sample XML
Code Block
languagexml
<OTA_AirDemandTicketRS EchoToken="12345" PrimaryLangID="en" Version="2.0" xmlns:ota="http://www.opentravel.org/OTA/2003/05">
   <Success/>
   <AirReservations>
      <AirReservation RPH="1">
         <AirItinerary ActionCode="Issued" CodeContext="supplierCode">
            <OriginDestinationOptions>
               <OriginDestinationOption JourneyDuration="PT2H45M0.000S" RPH="1">
                  <FlightSegment RPH="11" Status="Have Sold" FlightNumber="4903" DepartureDateTime="2020-07-12T11:45:00" ArrivalDateTime="2020-07-12T12:25:00">
                     <DepartureAirport Terminal="F" LocationCode="SVO"/>
                     <ArrivalAirport Terminal="1" LocationCode="PRG"/>
                     <MarketingAirline Code="OK"/>
                     <BookingClassAvails>
                        <BookingClassAvail ResBookDesigCode="X" ResBookDesigName="Economy"/>
                     </BookingClassAvails>
                  </FlightSegment>
                  <FlightSegment RPH="12" Status="Have Sold" FlightNumber="726" DepartureDateTime="2020-07-12T20:15:00" ArrivalDateTime="2020-07-12T22:00:00">
                     <DepartureAirport Terminal="2" LocationCode="PRG"/>
                     <ArrivalAirport Terminal="3" LocationCode="FCO"/>
                     <MarketingAirline Code="OK"/>
                     <BookingClassAvails>
                        <BookingClassAvail ResBookDesigCode="X" RPH="1"/>
                     </BookingClassAvails>
                  </FlightSegment>
               </OriginDestinationOption>
            </OriginDestinationOptions>
         </AirItinerary>
         <PriceInfo FilingAirlineCodeList="AF">
            <ItinTotalFare>
               <BaseFare CurrencyCode="RUB" Amount="24480.00"/>
               <Taxes>
                  <Tax CurrencyCode="RUB" Amount="7680.00" TaxCode="AC"/>
                  <Tax CurrencyCode="RUB" Amount="1626.00" TaxCode="DP"/>
                  <Tax CurrencyCode="RUB" Amount="576.00" TaxCode="SE"/>
                  <Tax CurrencyCode="RUB" Amount="1884.00" TaxCode="EB"/>
                  <Tax CurrencyCode="RUB" Amount="90.00" TaxCode="AD"/>
                  <Tax CurrencyCode="RUB" Amount="246.00" TaxCode="AE"/>
                  <Tax CurrencyCode="RUB" Amount="660.00" TaxCode="CO"/>
                  <Tax CurrencyCode="RUB" Amount="1884.00" TaxCode="EB"/>
                  <Tax CurrencyCode="RUB" Amount="576.00" TaxCode="SE"/>
               </Taxes>
               <TotalFare CurrencyCode="RUB" Amount="37989.00"/>
            </ItinTotalFare>
            <PTC_FareBreakdowns>
               <PTC_FareBreakdown>
                  <PassengerTypeQuantity Quantity="2" Code="ADT"/>
                  <FareBasisCodes>
                     <FareBasisCode FlightSegmentRPH="11">XSK</FareBasisCode>
                     <FareBasisCode FlightSegmentRPH="12">XSK</FareBasisCode>
                  </FareBasisCodes>
                  <PassengerFare>
                     <BaseFare CurrencyCode="RUB" Amount="9160.00"/>
                     <Taxes>
                        <Tax CurrencyCode="RUB" Amount="2560.00" TaxCode="AC"/>
                        <Tax CurrencyCode="RUB" Amount="542.00" TaxCode="DP"/>
                        <Tax CurrencyCode="RUB" Amount="192.00" TaxCode="SE"/>
                        <Tax CurrencyCode="RUB" Amount="628.00" TaxCode="EB"/>
                        <Tax CurrencyCode="RUB" Amount="30.00" TaxCode="AD"/>
                        <Tax CurrencyCode="RUB" Amount="82.00" TaxCode="AE"/>
                        <Tax CurrencyCode="RUB" Amount="220.00" TaxCode="CO"/>
                        <Tax CurrencyCode="RUB" Amount="211.00" TaxCode="EB"/>
                        <Tax CurrencyCode="RUB" Amount="73.00" TaxCode="SE"/>
                     </Taxes>
                     <TotalFare CurrencyCode="RUB" Amount="13698.00"/>
                  </PassengerFare>
                  <BaggageAllowances>
                     <BaggageAllowance FlightSegmentRPH="11" UnitOfMeasureCode="K" UnitOfMeasureQuantity="20"/>
                  </BaggageAllowances>
               </PTC_FareBreakdown>
               <PTC_FareBreakdown>
                  <PassengerTypeQuantity Quantity="1" Code="CHD"/>
                  <FareBasisCodes>
                     <FareBasisCode FlightSegmentRPH="11">XSK</FareBasisCode>
                     <FareBasisCode FlightSegmentRPH="12">XSK</FareBasisCode>
                  </FareBasisCodes>
                  <PassengerFare>
                     <BaseFare CurrencyCode="RUB" Amount="6160.00"/>
                     <Taxes>
                        <Tax CurrencyCode="RUB" Amount="2560.00" TaxCode="AC"/>
                        <Tax CurrencyCode="RUB" Amount="542.00" TaxCode="DP"/>
                        <Tax CurrencyCode="RUB" Amount="192.00" TaxCode="SE"/>
                        <Tax CurrencyCode="RUB" Amount="628.00" TaxCode="EB"/>
                        <Tax CurrencyCode="RUB" Amount="30.00" TaxCode="AD"/>
                        <Tax CurrencyCode="RUB" Amount="82.00" TaxCode="AE"/>
                        <Tax CurrencyCode="RUB" Amount="220.00" TaxCode="CO"/>
                        <Tax CurrencyCode="RUB" Amount="106.00" TaxCode="EB"/>
                        <Tax CurrencyCode="RUB" Amount="73.00" TaxCode="SE"/>
                     </Taxes>
                     <TotalFare CurrencyCode="RUB" Amount="10593.00"/>
                  </PassengerFare>
                  <BaggageAllowances>
                     <BaggageAllowance FlightSegmentRPH="11" UnitOfMeasureCode="K" UnitOfMeasureQuantity="20"/>
                  </BaggageAllowances>
               </PTC_FareBreakdown>
            </PTC_FareBreakdowns>
            <FareInfos>
               <FareInfo>
                  <FareReference>XSKYRU</FareReference>
                  <RuleInfo>
                     <ChargesRules>
                        <VoluntaryChanges VolChangeInd="true">
                           <Penalty Percent="100"/>
                           <Text>Applied</Text>
                        </VoluntaryChanges>
                     </ChargesRules>
                     <GeneralRules>
                        <GeneralRule>
                           <Text>ADV OFFER</Text>
                        </GeneralRule>
                        <GeneralRule>
                           <Text>NON-REFUNDABLE</Text>
                        </GeneralRule>
                     </GeneralRules>
                  </RuleInfo>
                  <FilingAirline Code="HP"/>
               </FareInfo>
               <FareInfo>
                  <FareReference>USPCRU</FareReference>
                  <RuleInfo>
                     <ChargesRules>
                        <VoluntaryChanges VolChangeInd="true">
                           <Penalty Percent="100"/>
                           <Text>Applied</Text>
                        </VoluntaryChanges>
                     </ChargesRules>
                  </RuleInfo>
                  <FilingAirline Code="HP"/>
               </FareInfo>
            </FareInfos>
         </PriceInfo>
         <TravelerInfo>
            <AirTraveler PassengerTypeCode="ADT">
               <ProfileRef>
                  <UniqueID ID="1" Type="1"/>
               </ProfileRef>
               <PersonName>
                  <NamePrefix>Mr</NamePrefix>
                  <GivenName>Nick</GivenName>
                  <Surname>Farrel</Surname>
               </PersonName>
               <Document ExpireDate="2025-12-11" EffectiveDate="2017-12-11" Gender="Male" DocType="P" DocIssueLocation="GB" DocID="11111" DocHolderNationality="GB"/>
            </AirTraveler>
            <AirTraveler PassengerTypeCode="ADT">
               <ProfileRef>
                  <UniqueID ID="2" Type="1"/>
               </ProfileRef>
               <PersonName>
                  <NamePrefix>Ms</NamePrefix>
                  <GivenName>Helen</GivenName>
                  <Surname>Farrel</Surname>
               </PersonName>
               <Document ExpireDate="2025-12-11" EffectiveDate="2017-12-11" Gender="Female" DocType="P" DocIssueLocation="GB" DocID="11111" DocHolderNationality="GB"/>
            </AirTraveler>
            <AirTraveler PassengerTypeCode="CHD">
               <ProfileRef>
                  <UniqueID ID="3" Type="1"/>
               </ProfileRef>
               <PersonName>
                  <NamePrefix>Mr</NamePrefix>
                  <GivenName>Boy</GivenName>
                  <Surname>Farrel</Surname>
               </PersonName>
               <Document ExpireDate="2025-12-11" EffectiveDate="2017-12-11" Gender="Male" DocType="P" DocIssueLocation="GB" DocID="11111" DocHolderNationality="GB"/>
            </AirTraveler>
         </TravelerInfo>
         <Ticketing PseudoCityCode="XXX00ZZZ" TicketType="eTicket" TicketNumber="2200995515" TicketingStatus="3" TicketIssueDate="2020-05-19T00:00:00+04:00" TravelerRefNumber="1" VoidTimeLimit="2020-05-19T23:59:00+04:00"/>
         <Ticketing PseudoCityCode="XXX00ZZZ" TicketType="eTicket" TicketNumber="2200995516" TicketingStatus="3" TicketIssueDate="2020-05-19T00:00:00+04:00" TravelerRefNumber="2" VoidTimeLimit="2020-05-19T23:59:00+04:00"/>
         <Ticketing PseudoCityCode="XXX00ZZZ" TicketType="eTicket" TicketNumber="2200995517" TicketingStatus="3" TicketIssueDate="2020-05-19T00:00:00+04:00" TravelerRefNumber="3" VoidTimeLimit="2020-05-19T23:59:00+04:00"/>
         <BookingReferenceID ID="ol1" Instance="client"/>
         <BookingReferenceID ID="ol1" Instance="agent"/>
         <BookingReferenceID ID="343h77" Instance="supplier"/>
      <BookingReferenceID ID="JBXJEQ" Instance="PNR">
        <CompanyName Code="AF" CodeContext="IATA"/>
      </BookingReferenceID>
      </AirReservation>
   </AirReservations>
</OTA_AirDemandTicketRS>

...