Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added offer element

Reservation Confirmation Response returns information about booking that has been made, its status and reservation IDs.

OTA_AirBookRS*:

*mandatory

...

Element

...

Attribute

...

Type

...

Description

...

Min…Max occurs

...

PrimaryLangID

...

For more information see Common Data Description section in Glossary.

...

TransactionStatusCode

...

string ("Book")

...

Indicates the type of request. Must be “Book” for that step.

...

1...1

...

TransactionIdentifier*

...

string

...

Contains unique transaction identifier returned in the Reservation Initiate Response.

...

1...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 to be booked.

...

0...1

...

ResStatus

...

string ("Reserved", "Request denied", "Issued")

...

Indicates status of the reservation. Possible values are:

"Reserved" - means that the PNR created successfully.

"Request denied" - means that supplier denied this request and flight can not be booked.

"Issued" - this status is available for Web Fare bookings only. Which means that the booking was reserved and a ticket was issued.

Info

Important note the common ResStatus is "the worst status" among all reservations in basket:

Only if all reservation in booking have the status "Reserved" the common status will be "Reserved"

If at least one reservation has status "Request denied" the common status will be "Request denied".

...

0...1

...

AirReservations/AirReservation

...

Contains information about one of the reservation to be booked.

...

AirReservations/TotalFare

...

Uses only in case of multibooking. Contains information about all reservations.

...

0...1

...

Amount*

...

For more information see Common Data Description section in Glossary.

...

Reservation Confirmation Response returns information about booking that has been made, its status and reservation IDs.

OTA_AirBookRS*:

*mandatory

Element

Attribute

Type

Description

Min…Max occurs

PrimaryLangID

For more information see Common Data Description section in Glossary.

AirReservations/BookingReferenceID

For more information see Reservation Initiate Request section.

0...1

OTA_AirBookRS/AirReservations/AirReservation:

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 bookingTransactionStatusCode

string ("Book")

Indicates the type of request. Must be “Book” for that step.

1...1

BookingCodeTransactionIdentifier*

string

Unique offer identifierContains unique transaction identifier returned in the Reservation Initiate Response.

1...1

ActionCode*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 to be booked.

0...1

ResStatus

string ("Reserved", "Request denied", “Issued”"Issued")

Indicates status of the reservation. Possible values are:

"Reserved" - means that the PNR created successfully.

"Request denied" - means that supplier denied this request and flight can not be booked.

"Issued" - this status is available for Web Fare (LCC) bookings only. Which means that the booking was reserved and a ticket was issued.

1...1

CodeContext

string

An id of supplier providing offer
Info

Important note the common ResStatus is "the worst status" among all reservations in basket:

Only if all reservation in booking have the status "Reserved" the common status will be "Reserved"

If at least one reservation has status "Request denied" the common status will be "Request denied".

0...1

AirItinerary/OriginDestinationOptions/OriginDestinationOption*

For more information see Low Fare Search Response section.

1...*

AirItinerary/OriginDestinationOptions/OriginDestinationOption/FlightSegmentAirReservations/AirReservation

Contains information about one of the reservation to be booked.

0...1

AirReservations/TotalFare

Uses only in case of multibooking. Contains information about all reservations.

0...1

Amount*

For more information see Reservation Initiate Response section Common Data Description section in Glossary.

1...*1

PriceInfo*

Contains special formulas for applying different discounts for the offer.

1…1

FilingAirlineCodeList

string

The list of codes of the validating airlines.

0CurrencyCode*

For more information see Common Data Description section in Glossary.

1...1

AirReservations/BookingReferenceID

For more information see Reservation Initiate Request section.

0...1

OTA_AirBookRS/AirReservations/AirReservation:

...

languagexml

...

Indicates type of BookingReference ID. The “client” context means that the ID value is the unique reservation identifier in the client system. The “agent” context means that the ID value is the reservation identifier which client wants to use in communication with supplier. The”supplier” context contains the unique record number in supplier’s system.

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

PricingSourceBookingCode*

string ("Published

Unique offer identifier.

1...1

ActionCode*

string ("Reserved", "PrivateRequest denied", "WebFare")

Identifies private fare or not. In case of private fare has "Private" value, also can be "Published". For LCC it has the value "WebFare", which means that Flight Reservation Confirmation will be the final step of the booking process and additional warning message about that is displayed to warn a client.

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“Issued”)

Indicates status of the reservation. Possible values are:

"Reserved" - means that the PNR created successfully.

"Request denied" - means that supplier denied this request and flight can not be booked.

"Issued" - this status is available for Web Fare (LCC) bookings only. Which means that the booking was reserved and a ticket was issued.

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.

01...*

TravelerInfoPriceInfo*

Contains information about the travelers for booking.

0...1

TravelerInfo/AirTraveler

For more information see Reservation Initiate Request section.

0...*

TravelerInfo/SpecialReqDetails

For more information see Reservation Initiate Request section.

special formulas for applying different discounts for the offer.

1…1

FilingAirlineCodeList

string

The list of codes of the validating airlines.

0...1

Ticketing

Contains ticketing information.

0...1

TicketTimeLimit

yyyy-mm-ddThh-mm-ss

Indicates the ticketing arrangement, and allows for the requirement that an itinerary must be ticketed by a certain date and time, including timezone offset.

Info

Very Important Note! Suppliers never provide the timezone offset through XML, so this must be configured in GP Travel HUB credentials before you go live with GP Travel HUB. Please update GP Travel HUB support team about your Office configuration. Otherwise, the offset "+00:00" (GMT) will be used by default, which may be wrong so can affect PNR cancellation process.

Info

Important Note: If supplier returns the TicketTimeLimit the same as the departure date, then GP Travel HUB sets the TicketTimeLimit as the day before departure.

Info

Important Note: if ticket not issued before the TimeLimit specified, the PNR must be cancelled explicitly!

0...1

TicketType

string ("eTicket")

Indicates type of ticket. Must be "eTicket" only.

0...1

PseudoCityCode

string

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

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 the value "WebFare", which means that Flight Reservation Confirmation will be the final step of the booking process and additional warning message about that is displayed to warn a client.

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

QueuesTravelerInfo/QueueAirTraveler

For more information see Reservation Initiate Request section.

0...*

BookingReferenceID

Contains information about reservation identifiers.

1TravelerInfo/SpecialReqDetails

For more information see Reservation Initiate Request section.

0...51

ID*

string

A value of booking reference.

1Ticketing

Contains ticketing information.

0...1

Instance*

string ("client", "agent", “supplier“, “PNR“)

1...1

BookingReferenceID/CompanyName

Indicates type of specified PNR. 

0...1

Code

string (2 - 3)

Air company code.

0...1

CodeContext

string

Specifies the context of the Code.

0...1

...

titleFlight Reservation Confirmation Response Sample XML - 2 ADT 1 CHD

TicketTimeLimit

yyyy-mm-ddThh-mm-ss

Indicates the ticketing arrangement, and allows for the requirement that an itinerary must be ticketed by a certain date and time, including timezone offset.

Info

Very Important Note! Suppliers never provide the timezone offset through XML, so this must be configured in GP Travel HUB credentials before you go live with GP Travel HUB. Please update GP Travel HUB support team about your Office configuration. Otherwise, the offset "+00:00" (GMT) will be used by default, which may be wrong so can affect PNR cancellation process.

Info

Important Note: If supplier returns the TicketTimeLimit the same as the departure date, then GP Travel HUB sets the TicketTimeLimit as the day before departure.

Info

Important Note: if ticket not issued before the TimeLimit specified, the PNR must be cancelled explicitly!

0...1

TicketType*

string ("eTicket")

Indicates type of ticket. Must be "eTicket" only.

1...1

PseudoCityCode

string

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

0...1

Queues/Queue

For more information see Reservation Initiate Request section.

BookingReferenceID

Contains information about reservation identifiers.

1...5

ID*

string

A value of booking reference.

1...1

Instance*

string ("client", "agent", “supplier“, “PNR“)

Indicates type of BookingReference ID. The “client” context means that the ID value is the unique reservation identifier in the client system. The “agent” context means that the ID value is the reservation identifier which client wants to use in communication with supplier. The”supplier” context contains the unique record number in supplier’s system.

1...1

BookingReferenceID/CompanyName

Indicates type of specified PNR. 

0...1

Code

string (2 - 3)

Air company code.

0...1

CodeContext

string

Specifies the context of the Code.

0...1

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...*

ID*

string

Internal ID of this service.

1...1

CarrierCode

string

Contains the code of service's owner.

0...1

Status

string ("Pending confirmation", "Holds confirmed, EMD required", "Declined", "Holds confirmed, no EMD required")

Transitional status of service's booking.

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*

Description of service.

1...1

Name

string

Describes the name of particular service.

0...1

Offer/Priced/ServiceFamily/ProductGroup

Contains Code and CodeSource of the service.

0...*

Code

string

0...1

CodeSource

string ("AirlineInternal", "ATPCO")

0...1

Offer/Priced/ServiceFamily/ProductGroup/SubGroup

Contains Code and CodeSource of the service.

0...1

Code

string

0...1

CodeSource

string ("AirlineInternal", "ATPCO")

0...1

Offer/Priced/Pricing*

Provides information about cost of service.

1...1

OfferQty*

integer

Number of similar extras requested.

1...1

PreTaxAmount

decimal

Cost of service without taxes.

0...1

Amount*

decimal

Cost of service.

1...1

PricingCurrency*

3-character ISO currency code

Currency in which price is nominated.

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 Reservation Confirmation Response (by client) Sample XML - 2 ADT 1 CHD
Code Block
languagexml
<OTA_AirBookRS Version="2.0" TransactionStatusCode="Book" TransactionIdentifier="4350" EchoToken="12345" xmlns="http://www.opentravel.org/OTA/2003/05">
   <Success/>
   <AirReservations ResStatus="Reserved">
      <AirReservation RPH="1">
         <AirItinerary BookingCode="6d05da" ActionCode="Reserved" CodeContext="supplierCode">
            <OriginDestinationOptions>
               <OriginDestinationOption RPH="1">
                  <FlightSegment RPH="11" Status="Have Sold" FlightNumber="4903" StopQuantity="0" FlightDuration="PT2H45M0.000S" DepartureDateTime="2020-07-12T11:45:00" ArrivalDateTime="2020-07-12T12:25:00">
                     <DepartureAirport Terminal="F" LocationCode="SVO"/>
                     <ArrivalAirport Terminal="1" LocationCode="PRG"/>
                     <OperatingAirline Code="SU"/>
                     <Equipment AirEquipType="320"/>
                     <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"/>
                     </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">XSKYRU</FareBasisCode>
                     <FareBasisCode FlightSegmentRPH="12">XSKYRU</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"/>
         <AirItinerary BookingCode="6d05da" ActionCode="Reserved" CodeContext="supplierCode">                  <Text>Applied</Text>
   <OriginDestinationOptions>                <OriginDestinationOption RPH="1">    </VoluntaryChanges>
              <FlightSegment RPH="11" Status="Have Sold" FlightNumber="4903" StopQuantity="0" FlightDuration="PT2H45M0.000S" DepartureDateTime="2020-07-12T11:45:00" ArrivalDateTime="2020-07-12T12:25:00"> </ChargesRules>
                     <GeneralRules>
    <DepartureAirport Terminal="F" LocationCode="SVO"/>                  <GeneralRule>
   <ArrivalAirport Terminal="1" LocationCode="PRG"/>                      <OperatingAirline Code="SU"/><Text>ADV OFFER</Text>
                       <Equipment AirEquipType="320"/></GeneralRule>
                        <GeneralRule>
 <MarketingAirline Code="OK"/>                        <BookingClassAvails>  <Text>NON-REFUNDABLE</Text>
                      <BookingClassAvail ResBookDesigCode="X" ResBookDesigName="Economy"/> </GeneralRule>
                     </BookingClassAvails>GeneralRules>
                  </FlightSegment>RuleInfo>
                  <FlightSegment<FilingAirline RPHCode="12HP"/>
Status="Have Sold" FlightNumber="726" DepartureDateTime="2020-07-12T20:15:00" ArrivalDateTime="2020-07-12T22:00:00">           </FareInfo>
          <DepartureAirport Terminal="2" LocationCode="PRG"/>   <FareInfo>
                  <ArrivalAirport Terminal="3" LocationCode="FCO"/><FareReference>USPCRU</FareReference>
                     <MarketingAirline Code="OK"/><RuleInfo>
                     <BookingClassAvails><ChargesRules>
                        <BookingClassAvail<VoluntaryChanges ResBookDesigCodeVolChangeInd="Xtrue"/>
                     </BookingClassAvails>      <Penalty Percent="100"/>
           </FlightSegment>                <<Text>Applied</OriginDestinationOption>Text>
              </OriginDestinationOptions>          </AirItinerary>VoluntaryChanges>
         <PriceInfo FilingAirlineCodeList="AF">           </ChargesRules>
 <ItinTotalFare>                <BaseFare CurrencyCode="RUB" Amount="24480.00"/> </RuleInfo>
               <Taxes>   <FilingAirline Code="HP"/>
              <Tax CurrencyCode="RUB" Amount="7680.00" TaxCode="AC"/> </FareInfo>
                </FareInfos>
 <Tax CurrencyCode="RUB" Amount="1626.00" TaxCode="DP"/>     </PriceInfo>
         <TravelerInfo>
   <Tax CurrencyCode="RUB" Amount="576.00" TaxCode="SE"/>      <AirTraveler PassengerTypeCode="ADT">
           <Tax CurrencyCode="RUB" Amount="1884.00" TaxCode="EB"/> <ProfileRef>
                 <Tax CurrencyCode="RUB" Amount<UniqueID ID="90.001" TaxCodeType="AD1"/>
               </ProfileRef>
   <Tax CurrencyCode="RUB" Amount="246.00" TaxCode="AE"/>         <PersonName>
         <Tax CurrencyCode="RUB" Amount="660.00" TaxCode="CO"/>      <NamePrefix>Mr</NamePrefix>
            <Tax CurrencyCode="RUB" Amount="1884.00" TaxCode="EB"/>   <GivenName>Nick</GivenName>
               <Tax CurrencyCode="RUB" Amount="576.00" TaxCode="SE"/> <Surname>Farrel</Surname>
               </Taxes>PersonName>
                <TotalFare CurrencyCode="RUB" Amount="37989.00<Document ExpireDate="2025-12-11" EffectiveDate="2017-12-11" Gender="Male" DocType="P" DocIssueLocation="GB" DocID="11111" DocHolderNationality="GB"/>
            </ItinTotalFare>AirTraveler>
            <PTC_FareBreakdowns><AirTraveler PassengerTypeCode="ADT">
               <PTC_FareBreakdown><ProfileRef>
                  <PassengerTypeQuantity<UniqueID QuantityID="2" CodeType="ADT1"/>
               </ProfileRef>
   <FareBasisCodes>            <PersonName>
         <FareBasisCode FlightSegmentRPH="11">XSK</FareBasisCode>        <NamePrefix>Ms</NamePrefix>
             <FareBasisCode FlightSegmentRPH="12">XSK</FareBasisCode>    <GivenName>Helen</GivenName>
              </FareBasisCodes>    <Surname>Farrel</Surname>
              <PassengerFare> </PersonName>
               <Document ExpireDate="2025-12-11" EffectiveDate="2017-12-11" Gender="Female"  <BaseFare CurrencyCode="RUB" Amount="9160.00DocType="P" DocIssueLocation="GB" DocID="11111" DocHolderNationality="GB"/>
            </AirTraveler>
        <Taxes>    <AirTraveler PassengerTypeCode="CHD">
               <ProfileRef>
   <Tax CurrencyCode="RUB" Amount="2560.00" TaxCode="AC"/>                         <Tax CurrencyCode="RUB" Amount="542.00" TaxCode="DP"/>
  <UniqueID ID="3" Type="1"/>
                     <Tax CurrencyCode="RUB" Amount="192.00" TaxCode="SE"/> </ProfileRef>
               <PersonName>
        <Tax CurrencyCode="RUB" Amount="628.00" TaxCode="EB"/>       <NamePrefix>Mr</NamePrefix>
                  <Tax CurrencyCode="RUB" Amount="30.00" TaxCode="AD"/><GivenName>Boy</GivenName>
                  <Surname>Farrel</Surname>
        <Tax CurrencyCode="RUB" Amount="82.00" TaxCode="AE"/>    </PersonName>
               <Document ExpireDate="2025-12-11" EffectiveDate="2017-12-11" Gender="Male"  <Tax CurrencyCodeDocType="P" DocIssueLocation="RUBGB" AmountDocID="220.0011111" TaxCodeDocHolderNationality="COGB"/>
            </AirTraveler>
         </TravelerInfo>
   <Tax CurrencyCode      <Ticketing TicketType="RUBeTicket" AmountTicketTimeLimit="211.2020-05-20T00:00:00-04:00" TaxCodePseudoCityCode="EBXXXX000YY"/>
                        <Tax CurrencyCode="RUB" Amount="73.00" TaxCode="SE"<BookingReferenceID ID="G001456" Instance="supplier"/>
         <BookingReferenceID      ID="ol1" Instance="agent"/>
     </Taxes>    <BookingReferenceID ID="ol1" Instance="client"/>
      </AirReservation>
   </AirReservations>
</OTA_AirBookRS>
Expand
titleFlight Reservation Confirmation Response of Web Fare (LCC) Sample XML
Code Block
languagexml
<OTA_AirBookRS EchoToken="12345" TransactionIdentifier="152577"  <TotalFare CurrencyCode="RUB" Amount="13698.00"/TransactionStatusCode="Book" Version="2.0" xmlns="http://www.opentravel.org/OTA/2003/05">
   <Success/>
   <AirReservations>
          </PassengerFare><AirReservation RPH="1">
         <AirItinerary ActionCode="Issued" BookingCode="fd58464" CodeContext="supplierCode">
      <BaggageAllowances>      <OriginDestinationOptions>
               <BaggageAllowance<OriginDestinationOption FlightSegmentRPHJourneyDuration="11PT2H35M0.000S" UnitOfMeasureCodeRPH="K1" UnitOfMeasureQuantity="20"/>>
                  <FlightSegment Status="Have  </BaggageAllowances>
    Sold" FlightNumber="9469" ArrivalDateTime="2020-05-23T10:30:00" DepartureDateTime="2020-05-23T08:05:00" FlightDuration="PT1H25M0.000S" RPH="11" StopQuantity="0">
          </PTC_FareBreakdown>           <DepartureAirport LocationCode="LHR"/>
   <PTC_FareBreakdown>                  <ArrivalAirport <PassengerTypeQuantity QuantityLocationCode="1" Code="CHD"DUS"/>
                  <FareBasisCodes>                      <FareBasisCode FlightSegmentRPH="11">XSKYRU</FareBasisCode><OperatingAirline Code="EW"/>
                     <FareBasisCode<MarketingAirline FlightSegmentRPHCode="12EW">XSKYRU</FareBasisCode>>
                  </FareBasisCodes>   <BookingClassAvails>
               <PassengerFare>         <BookingClassAvail ResBookDesigCode="X" ResBookDesigName="Basic"/>
          <BaseFare CurrencyCode="RUB" Amount="6160.00"/>           </BookingClassAvails>
              <Taxes>    </FlightSegment>
                  <FlightSegment  <Tax CurrencyCodeStatus="Have Sold" FlightNumber="RUB9404" AmountArrivalDateTime="2560.2020-05-23T16:20:00" TaxCodeDepartureDateTime="AC"/>
  2020-05-23T15:10:00" FlightDuration="PT1H10M0.000S" RPH="12" StopQuantity="0">
                     <Tax<DepartureAirport CurrencyCodeLocationCode="RUBDUS" Amount="542.00" TaxCode="DP"/>/>
                     <ArrivalAirport LocationCode="CDG"/>
       <Tax CurrencyCode="RUB" Amount="192.00" TaxCode="SE"/>           <OperatingAirline Code="EW"/>
            <Tax CurrencyCode="RUB" Amount="628.00" TaxCode="EB"/>      <MarketingAirline Code="EW"/>
                 <Tax CurrencyCode="RUB" Amount="30.00" TaxCode="AD"/> <BookingClassAvails>
                       <Tax CurrencyCode="RUB" Amount<BookingClassAvail ResBookDesigCode="82.00X" TaxCodeResBookDesigName="AEBasic"/>
                     </BookingClassAvails>
  <Tax  CurrencyCode="RUB" Amount="220.00" TaxCode="CO"/>            </FlightSegment>
            <Tax CurrencyCode="RUB" Amount="106.00" TaxCode="EB"/> </OriginDestinationOption>
            </OriginDestinationOptions>
         </AirItinerary>
     <Tax CurrencyCode="RUB" Amount="73.00" TaxCode="SE"/    <PriceInfo FilingAirlineCodeList="EW" PricingSource="WebFare">
            <ItinTotalFare>
        </Taxes>       <BaseFare Amount="45.25" CurrencyCode="EUR"/>
            <TotalFare CurrencyCode="RUB" Amount="10593.00"/>
  <Taxes>
                </PassengerFare>   <Tax TaxCode="17" Amount="34.56" CurrencyCode="EUR"/>
            <BaggageAllowances>   </Taxes>
               <TotalFare   <BaggageAllowance FlightSegmentRPHAmount="1179.81" UnitOfMeasureCodeCurrencyCode="K" UnitOfMeasureQuantity="20"EUR"/>
            </ItinTotalFare>
     </BaggageAllowances>       <PTC_FareBreakdowns>
        </PTC_FareBreakdown>       <PTC_FareBreakdown FilingAirlineCode="EW">
    </PTC_FareBreakdowns>             <FareInfos> <PassengerTypeQuantity Code="ADT" Quantity="1"/>
            <FareInfo>      <FareBasisCodes>
            <FareReference>XSKYRU</FareReference>         <FareBasisCode FlightSegmentRPH="11">AEW9469X</FareBasisCode>
        <RuleInfo>             <FareBasisCode FlightSegmentRPH="12">AEW9404X</FareBasisCode>
       <ChargesRules>           </FareBasisCodes>
             <VoluntaryChanges VolChangeInd="true">     <PassengerFare>
                      <Penalty Percent<BaseFare Amount="45.25" CurrencyCode="100EUR"/>
                     <Taxes>
     <Text>Applied</Text>                   <Tax TaxCode="17"     </VoluntaryChanges>Amount="34.56" CurrencyCode="EUR"/>
                     </ChargesRules>Taxes>
                     <GeneralRules>
 <TotalFare Amount="79.81" CurrencyCode="EUR"/>
                  </PassengerFare>
   <GeneralRule>            </PTC_FareBreakdown>
            </PTC_FareBreakdowns>
  <Text>ADV OFFER</Text>         <FareInfos>
               </GeneralRule><FareInfo>
                   <FareReference>X</FareReference>
    <GeneralRule>              <FilingAirline Code="EW"/>
            <Text>NON-REFUNDABLE</Text>   </FareInfo>
            </FareInfos>
         </GeneralRule>PriceInfo>
         <TravelerInfo>
           </GeneralRules> <AirTraveler BirthDate="1974-08-13" PassengerTypeCode="ADT">
               </RuleInfo><ProfileRef>
                  <UniqueID <FilingAirline CodeType="1" ID="HP1"/>
               </FareInfo>ProfileRef>
               <FareInfo><PersonName>
                  <FareReference>USPCRU<<NamePrefix>Mr</FareReference>NamePrefix>
                  <RuleInfo><GivenName>Annd</GivenName>
                  <Surname>Fame</Surname>
  <ChargesRules>             </PersonName>
           <VoluntaryChanges VolChangeInd="true">   <Telephone AreaCityCode="45" CountryAccessCode="375" PhoneLocationType="8" PhoneNumber="4684548"/>
               <Email>test@test.com</Email>
    <Penalty Percent="100"/>          <Document DocHolderNationality="FR" DocID="sd4684684" DocIssueCountry="FR" DocType="P" HolderType="H" Gender="Male" ExpireDate="2025-08-15"/>
            <Text>Applied<</Text>AirTraveler>
            <SpecialReqDetails>
             </VoluntaryChanges>  <SpecialServiceRequests>
                  <SpecialServiceRequest </ChargesRules>SSRCode="TIRV"/>
               </SpecialServiceRequests>
  </RuleInfo>          </SpecialReqDetails>
        <FilingAirline Code="HP"/></TravelerInfo>
         <BookingReferenceID Instance="PNR" ID="8NSW2Y0">
   </FareInfo>         <CompanyName    </FareInfos>Code="EW" CodeContext="IATA"/>
         </PriceInfo>BookingReferenceID>
         <TravelerInfo><BookingReferenceID Instance="supplier" ID="MF04162418"/>
         <BookingReferenceID <AirTraveler PassengerTypeCodeInstance="agent" ID="ADTmist_test"/>
         <BookingReferenceID Instance="client" ID="mist_test"/>
   <ProfileRef>   </AirReservation>
   </AirReservations>
           <UniqueID ID="1" Type="1"/>
      </OTA_AirBookRS>
Expand
titleFlight Reservation Confirmation Response (by basket) Sample XML
Code Block
languagexml
<OTA_AirBookRS xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="EchoToken" TransactionIdentifier="1257" TransactionStatusCode="Book" Version="2.0">
  <Success/>
  <AirReservations ResStatus="Reserved">
        </ProfileRef><AirReservation RPH="1">
      <AirItinerary ActionCode="Reserved" BookingCode="7d079" CodeContext="supplierCode">
      <PersonName>  <OriginDestinationOptions>
          <OriginDestinationOption JourneyDuration="PT8H20M" RPH="1">
   <NamePrefix>Mr</NamePrefix>                   <GivenName>Nick</GivenName><FlightSegment ArrivalDateTime="2022-03-01T22:30:00" DepartureDateTime="2022-03-01T21:15:00" FlightNumber="489" RPH="11" Status="Have Sold" StopQuantity="0">
              <DepartureAirport    <Surname>Farrel</Surname>LocationCode="VKO" Terminal="A"/>
              <ArrivalAirport  </PersonName>LocationCode="LED" Terminal="1"/>
               <Document ExpireDate="2025-12-11" EffectiveDate="2017-12-11" Gender="Male" DocType="P" DocIssueLocation="GB" DocID="11111" DocHolderNationality="GB <OperatingAirline Code="5Y"/>
              </AirTraveler><Equipment AirEquipType="735"/>
              <AirTraveler<MarketingAirline PassengerTypeCodeCode="ADTUT"/>
              <BookingClassAvails>
<ProfileRef>                <BookingClassAvail   <UniqueID IDResBookDesigCode="2H" TypeResBookDesigName="1Economy"/>
               </ProfileRef>BookingClassAvails>
            </FlightSegment>
  <PersonName>        </OriginDestinationOption>
          <NamePrefix>Ms<</NamePrefix>OriginDestinationOptions>
      </AirItinerary>
      <PriceInfo FilingAirlineCodeList="UT">
   <GivenName>Helen</GivenName>     <ItinTotalFare>
          <BaseFare   <Surname>Farrel</Surname>
       Amount="2191.00" CurrencyCode="RUB"/>
       </PersonName>   <Taxes>
            <Document<Tax ExpireDateAmount="2025-12-11775.00" EffectiveDateCurrencyCode="2017-12-11RUB" GenderTaxCode="Female" DocType="P" DocIssueLocation="GB" DocID="11111" DocHolderNationality="GB"/>
AC"/>
            <Tax Amount="66.00" CurrencyCode="RUB" TaxCode="VB"/>
           </AirTraveler>Taxes>
          <TotalFare  <AirTraveler PassengerTypeCodeAmount="3031.00" CurrencyCode="CHDRUB"/>
        </ItinTotalFare>
        <PTC_FareBreakdowns>
      <ProfileRef>    <PTC_FareBreakdown FilingAirlineCode="UT">
            <PassengerTypeQuantity <UniqueID IDCode="3ADT" TypeQuantity="1"/>
            <FareBasisCodes>
  </ProfileRef>            <FareBasisCode FlightSegmentRPH="11">HSSOW</FareBasisCode>
  <PersonName>                   <NamePrefix>Mr</NamePrefix></FareBasisCodes>
            <PassengerFare>
     <GivenName>Boy</GivenName>         <BaseFare          <Surname>Farrel</Surname>Amount="2191.00" CurrencyCode="RUB"/>
              <Taxes>
</PersonName>                <Document<Tax ExpireDate="2025-12-11" EffectiveDate="2017-12-11" Gender="Male" DocType="P" DocIssueLocation="GB" DocID="11111" DocHolderNationality="GBAmount="775.00" CurrencyCode="RUB" TaxCode="AC"/>
            </AirTraveler>    <Tax Amount="66.00" CurrencyCode="RUB" TaxCode="VB"/>
              </TravelerInfo>Taxes>
             <Ticketing TicketType="eTicket" TicketTimeLimit="2020-05-20T00:00:00-04:00" PseudoCityCode="XXXX000YY"/><TotalFare Amount="3031.00" CurrencyCode="RUB"/>
          <BookingReferenceID ID="G001456" Instance="supplier"/> </PassengerFare>
            <BaggageAllowances>
 <BookingReferenceID ID="ol1" Instance="agent"/>            <BaggageAllowance <BookingReferenceID IDFlightSegmentRPH="11" UnitOfMeasureCode="ol1K" InstanceUnitOfMeasureQuantity="client20"/>
            </AirReservation>BaggageAllowances>
    </AirReservations> </OTA_AirBookRS>
Expand
titleFlight Reservation Confirmation Response of Web Fare Sample XML
Code Block
languagexml
<OTA_AirBookRS EchoToken="12345" TransactionIdentifier="152577" TransactionStatusCode="Book" Version="2.0" xmlns="http://www.opentravel.org/OTA/2003/05"> </PTC_FareBreakdown>
        <Success/></PTC_FareBreakdowns>
     <AirReservations>   <FareInfos>
   <AirReservation RPH="1">      <FareInfo>
   <AirItinerary ActionCode="Issued" BookingCode="fd58464" CodeContext="supplierCode">      <FareReference>HSSOW</FareReference>
      <OriginDestinationOptions>      <RuleInfo>
         <OriginDestinationOption JourneyDuration="PT2H35M0.000S" RPH="1">   <GeneralRules>
               <FlightSegment Status="Have Sold" FlightNumber="9469" ArrivalDateTime="2020-05-23T10:30:00" DepartureDateTime="2020-05-23T08:05:00" FlightDuration="PT1H25M0.000S" RPH="11" StopQuantity="0"><GeneralRule>
                  <Text>- SEE ADV PURCHASEBG CXR: UTPRICED VC UT - OTHER <DepartureAirport LocationCode="LHR"/>
             VC AVAILABLE HR SEE RTSVCLINK DOWN. SOLD IN STANDARD ACCESSSEE RTSVCLINK DOWN. SOLD IN STANDARD ACCESS</Text>
       <ArrivalAirport LocationCode="DUS"/>        </GeneralRule>
             <OperatingAirline Code="EW"/></GeneralRules>
            </RuleInfo>
            <MarketingAirline<FilingAirline Code="EWUT"/>
          </FareInfo>
        </FareInfos>
 <BookingClassAvails>     </PriceInfo>
      <TravelerInfo>
            <BookingClassAvail ResBookDesigCode="X" ResBookDesigName<AirTraveler PassengerTypeCode="BasicADT"/>
          <ProfileRef>
          </BookingClassAvails>  <UniqueID     ID="1" Type="1"/>
           </FlightSegment>ProfileRef>
          <PersonName>
       <FlightSegment Status="Have Sold" FlightNumber="9404" ArrivalDateTime="2020-05-23T16:20:00" DepartureDateTime="2020-05-23T15:10:00" FlightDuration="PT1H10M0.000S" RPH="12" StopQuantity="0"> <NamePrefix>Mr</NamePrefix>
            <GivenName>JONH</GivenName>
           <DepartureAirport LocationCode="DUS"/><Surname>JACKSON</Surname>
          </PersonName>
          <Telephone  <ArrivalAirport LocationCode="CDGLocationCode="LHR" PhoneLocationType="6" PhoneNumber="353879294007"/>
          <Document DocHolderNationality="GBR" DocID="89C87653" DocType="P" ExpireDate="2025-10-01"       <OperatingAirline Code="EWGender="Male" HolderType="H"/>
        </AirTraveler>
      </TravelerInfo>
       <MarketingAirline Code="EW<Ticketing PseudoCityCode="XXXY000YY" TicketTimeLimit="2021-11-04T23:00:00+04:00" TicketType="eTicket"/>
      <BookingReferenceID ID="29SQ3M" Instance="supplier"/>
      <BookingReferenceID ID="27a5das84" Instance="agent"/>
    <BookingClassAvails>  <BookingReferenceID ID="asd53da1f2f3" Instance="client"/>
    </AirReservation>
    <AirReservation RPH="2">
      <AirItinerary   <BookingClassAvail ResBookDesigCodeActionCode="Reserved" BookingCode="X7d179" ResBookDesigNameCodeContext="BasicsupplierCode"/>
        <OriginDestinationOptions>
          <OriginDestinationOption  </BookingClassAvails>JourneyDuration="PT8H20M" RPH="1">
            <FlightSegment      </FlightSegment>
       ArrivalDateTime="2022-03-02T17:20:00" DepartureDateTime="2022-03-02T16:15:00" FlightNumber="370" RPH="11" Status="Have Sold" StopQuantity="0">
       </OriginDestinationOption>       <DepartureAirport      </OriginDestinationOptions>LocationCode="LED" Terminal="1"/>
         </AirItinerary>          <PriceInfo FilingAirlineCodeList<ArrivalAirport LocationCode="EWVKO" PricingSourceTerminal="WebFareA"/>
            <ItinTotalFare>  <Equipment AirEquipType="735"/>
            <BaseFare Amount="45.25" CurrencyCode="EUR  <MarketingAirline Code="UT"/>
               <Taxes><BookingClassAvails>
                <BookingClassAvail  <Tax TaxCodeResBookDesigCode="17" Amount="34.56H" CurrencyCodeResBookDesigName="EUREconomy"/>
               </Taxes>BookingClassAvails>
               <TotalFare Amount="79.81" CurrencyCode="EUR"/>
</FlightSegment>
           </ItinTotalFare>OriginDestinationOption>
        </OriginDestinationOptions>
   <PTC_FareBreakdowns>   </AirItinerary>
            <PTC_FareBreakdown FilingAirlineCode<PriceInfo FilingAirlineCodeList="EWUT">
        <ItinTotalFare>
         <PassengerTypeQuantity <BaseFare CodeAmount="ADT2191.00" QuantityCurrencyCode="1RUB"/>
          <Taxes>
       <FareBasisCodes>     <Tax Amount="775.00" CurrencyCode="RUB" TaxCode="AC"/>
            <Tax  <FareBasisCode FlightSegmentRPH="11">AEW9469X</FareBasisCode>Amount="66.00" CurrencyCode="RUB" TaxCode="VB"/>
          </Taxes>
          <FareBasisCode FlightSegmentRPH<TotalFare Amount="3031.00" CurrencyCode="12RUB">AEW9404X</FareBasisCode>>
        </ItinTotalFare>
         </FareBasisCodes><PTC_FareBreakdowns>
          <PTC_FareBreakdown FilingAirlineCode="UT">
            <PassengerFare><PassengerTypeQuantity Code="ADT" Quantity="1"/>
            <FareBasisCodes>
      <BaseFare Amount="45.25" CurrencyCode="EUR"/>      <FareBasisCode FlightSegmentRPH="11">HSSOW</FareBasisCode>
            </FareBasisCodes>
 <Taxes>           <PassengerFare>
             <Tax TaxCode="17"<BaseFare Amount="342191.5600" CurrencyCode="EURRUB"/>
              <Taxes>
      </Taxes>                      <TotalFare <Tax Amount="79775.8100" CurrencyCode="EUR"RUB" TaxCode="AC"/>
                <Tax Amount="66.00"  </PassengerFare>
CurrencyCode="RUB" TaxCode="VB"/>
              </PTC_FareBreakdown>Taxes>
            </PTC_FareBreakdowns>  <TotalFare Amount="3031.00" CurrencyCode="RUB"/>
        <FareInfos>    </PassengerFare>
           <FareInfo> <BaggageAllowances>
              <BaggageAllowance FlightSegmentRPH="11"  <FareReference>X</FareReference>
 UnitOfMeasureCode="K" UnitOfMeasureQuantity="20"/>
            </BaggageAllowances>
   <FilingAirline Code="EW"/>       </PTC_FareBreakdown>
        </FareInfo>PTC_FareBreakdowns>
        <FareInfos>
   </FareInfos>       <FareInfo>
  </PriceInfo>          <TravelerInfo><FareReference>HSSOW</FareReference>
            <AirTraveler BirthDate="1974-08-13" PassengerTypeCode="ADT"><RuleInfo>
              <GeneralRules>
  <ProfileRef>              <GeneralRule>
    <UniqueID Type="1" ID="1"/>            <Text>- SEE ADV PURCHASEBG </ProfileRef>CXR: UTPRICED VC UT - OTHER VC AVAILABLE HR SEE RTSVCLINK DOWN. SOLD IN STANDARD ACCESSSEE <PersonName>RTSVCLINK DOWN. SOLD IN STANDARD  ACCESS</Text>
            <NamePrefix>Mr</NamePrefix>    </GeneralRule>
              <GivenName>Annd<</GivenName>GeneralRules>
            </RuleInfo>
      <Surname>Fame</Surname>      <FilingAirline Code="UT"/>
          </PersonName>FareInfo>
        </FareInfos>
      <Telephone AreaCityCode="45" CountryAccessCode="375" PhoneLocationType="8" PhoneNumber="4684548"/></PriceInfo>
      <TravelerInfo>
        <AirTraveler PassengerTypeCode="ADT">
  <Email>test@test.com</Email>        <ProfileRef>
       <Document DocHolderNationality="FR" DocID="sd4684684" DocIssueCountry="FR" DocType="P" HolderType="H" Gender="Male" ExpireDate="2025-08-15 <UniqueID ID="1" Type="1"/>
            </AirTraveler>ProfileRef>
          <PersonName>
 <SpecialReqDetails>           <NamePrefix>Mr</NamePrefix>
    <SpecialServiceRequests>        <GivenName>JONH</GivenName>
           <SpecialServiceRequest SSRCode="TIRV"/><Surname>JACKSON</Surname>
          </PersonName>
    </SpecialServiceRequests>      <Telephone LocationCode="LHR" PhoneLocationType="6" PhoneNumber="353879294007"/>
   </SpecialReqDetails>       <Document DocHolderNationality="GBR"  </TravelerInfo>
  DocID="89C87653" DocType="P" ExpireDate="2025-10-01" Gender="Male" HolderType="H"/>
      <BookingReferenceID Instance="PNR" ID="8NSW2Y0"> </AirTraveler>
      </TravelerInfo>
      <Ticketing <CompanyName Code="EW" CodeContext="IATAPseudoCityCode="XXXY000YY" TicketTimeLimit="2021-11-04T23:00:00+04:00" TicketType="eTicket"/>
      <BookingReferenceID   </BookingReferenceID>
  ID="29SQ3M" Instance="supplier"/>
      <BookingReferenceID InstanceID="supplier27a5das84" IDInstance="MF04162418agent"/>
 
       <BookingReferenceID InstanceID="agent5aas31sd2fa4" IDInstance="mist_testclient"/>
    </AirReservation>
    <BookingReferenceID<TotalFare InstanceAmount="client6062.00" IDCurrencyCode="mist_testRUB"/>
    <BookingReferenceID  </AirReservation>
ID="dfdsw331d1d1" Instance="basket"/>
  </AirReservations>
</OTA_AirBookRS>