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.
...
CurrencyCode*
...
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 booking.
...
1...1
...
BookingCode*
...
string
...
Unique offer identifier.
...
1...1
...
ActionCode*
...
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.
...
1...1
...
CodeContext
...
string
...
An id of supplier providing offer.
...
0...1
...
AirItinerary/OriginDestinationOptions/OriginDestinationOption*
...
For more information see Low Fare Search Response section.
...
1...*
...
AirItinerary/OriginDestinationOptions/OriginDestinationOption/FlightSegment*
...
For more information see Reservation Initiate Response section.
...
1...*
...
PriceInfo*
...
Contains special formulas for applying different discounts for the offer.
...
1…1
...
FilingAirlineCodeList
...
string
...
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 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
...
TravelerInfo/AirTraveler
...
For more information see Reservation Initiate Request section.
...
0...*
...
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. | 0...1 |
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 | | | |
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 (LCC) 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. | 0...1 |
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. | 1...1 |
CurrencyCode* | | 1...1 |
AirReservations/BookingReferenceID | | | For more information see Reservation Initiate Request section. | 0...1 |
Ticketing | Contains ticketing information. | 0OTA_AirBookRS/AirReservations/AirReservation:
...
...
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 system. | 0...1 | Queues/QueueElement | Attribute | Type | Description | Min…Max occurs |
---|
| RPH* | integer | A special identifier of requested flight. | 1...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 | RequestBookingReferenceID | Contains information about reservation identifiers. | 5ID1string | A value of booking reference. | Contains special formulas for applying different discounts for the offer. | 1…1 |
FilingAirlineCodeList | string | The list of codes of the validating airlines. | 0...1 |
Instance*clientagent “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 | ...
title | Flight Reservation Confirmation Response Sample XML - 2 ADT 1 CHD |
---|
"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 |
TravelerInfo/AirTraveler | | | For more information see Reservation Initiate Request section. | 0...* |
TravelerInfo/SpecialReqDetails | | | For more information see Reservation Initiate Request section. | 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. | 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. | 0...10 |
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. "Pending confirmation" - means that the aircompany hasn't confirmed this service yet. "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. "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 |
IsPerBooking | boolean (default - false) | Defines whether the service applies to the entire offer or to a specific passenger. 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/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 |
TaxAmount | decimal | Cost of service with taxes. | 0…1 |
Amount* | decimal | Cost of service. | 1...1 |
PricingCurrency* | 3-character ISO currency code | Currency in which price is nominated. | 1...1 |
Priced/Pricing/TaxInfo | | | Contains information about taxes. | 0…99 |
Code* | | Contains service code | 1…1 |
Amount* | | Contains amount of tax | 1…1 |
CurrencyCode* | | Currency in which tax 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 |
---|
title | Flight Reservation Confirmation Response (by client) Sample XML - 2 ADT 1 CHD |
---|
|
Code Block |
---|
| <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>
<Tax CurrencyCode="RUB" Amount="1626.00" TaxCode="DP"/></FareInfos>
</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>
<Surname>Farrel</Surname>
<Tax CurrencyCode="RUB" Amount="576.00" TaxCode="SE"/> </PersonName>
</Taxes> <Document ExpireDate="2025-12-11" EffectiveDate="2017-12-11" Gender="Male" DocType="P" <TotalFare CurrencyCodeDocIssueLocation="GB" DocID="RUB11111" AmountDocHolderNationality="37989.00GB"/>
</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>
<<Surname>Farrel</FareBasisCodes>Surname>
</PersonName>
<PassengerFare> <Document ExpireDate="2025-12-11" EffectiveDate="2017-12-11" <BaseFare CurrencyCode="RUB" Amount="9160.00Gender="Female" DocType="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>
<GivenName>Boy</GivenName>
<Tax CurrencyCode="RUB" Amount="30.00" TaxCode="AD"/> <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<Ticketing CurrencyCodeTicketType="RUBeTicket" AmountTicketTimeLimit="211.2020-05-20T00:00:00-04:00" TaxCodePseudoCityCode="EBXXXX000YY"/>
<BookingReferenceID ID="G001456" Instance="supplier"/>
<BookingReferenceID <Tax CurrencyCodeID="RUBol1" AmountInstance="73.00" TaxCode="SEagent"/>
<BookingReferenceID </Taxes>ID="ol1" Instance="client"/>
</AirReservation>
</AirReservations>
</OTA_AirBookRS> |
|
Expand |
---|
title | Flight Reservation Confirmation Response of Web Fare (LCC) Sample XML |
---|
|
Code Block |
---|
| <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 FlightSegmentRPH="11" UnitOfMeasureCode<OriginDestinationOption JourneyDuration="KPT2H35M0.000S" UnitOfMeasureQuantityRPH="201"/>
</BaggageAllowances>
<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">
</PTC_FareBreakdown> <DepartureAirport LocationCode="LHR"/>
<PTC_FareBreakdown> <ArrivalAirport <PassengerTypeQuantity QuantityLocationCode="1" Code="CHDDUS"/>
<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 Status="Have <Tax CurrencyCode="RUB" Amount="2560.00" TaxCode="AC"/>
Sold" FlightNumber="9404" ArrivalDateTime="2020-05-23T16:20:00" DepartureDateTime="2020-05-23T15:10:00" FlightDuration="PT1H10M0.000S" RPH="12" StopQuantity="0">
<DepartureAirport <Tax 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"/>
<Tax CurrencyCode="RUB" Amount="220.00" TaxCode="CO"/> </BookingClassAvails>
</FlightSegment>
<Tax CurrencyCode="RUB" Amount="106.00" TaxCode="EB"/> </OriginDestinationOption>
</OriginDestinationOptions>
<Tax CurrencyCode="RUB" Amount="73.00" TaxCode="SE"/> </AirItinerary>
<PriceInfo FilingAirlineCodeList="EW" PricingSource="WebFare">
</Taxes> <ItinTotalFare>
<BaseFare <TotalFare CurrencyCodeAmount="RUB45.25" AmountCurrencyCode="10593.00EUR"/>
<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>
<FareInfo>
</GeneralRule> <FareReference>X</FareReference>
<GeneralRule> <FilingAirline Code="EW"/>
<Text>NON-REFUNDABLE<</Text>FareInfo>
</FareInfos>
</GeneralRule>PriceInfo>
<TravelerInfo>
</GeneralRules>
<AirTraveler BirthDate="1974-08-13" PassengerTypeCode="ADT">
<ProfileRef>
</RuleInfo> <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>
</ChargesRules><SpecialServiceRequest 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"/>
</ProfileRef>
</OTA_AirBookRS> |
|
Expand |
---|
title | Flight Reservation Confirmation Response (by basket) Sample XML |
---|
|
Code Block |
---|
| <OTA_AirBookRS xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="EchoToken" TransactionIdentifier="1257" TransactionStatusCode="Book" Version="2.0">
<Success/>
<AirReservations ResStatus="Reserved">
<AirReservation RPH="1">
<PersonName> <AirItinerary ActionCode="Reserved" BookingCode="7d079" CodeContext="supplierCode">
<OriginDestinationOptions>
<NamePrefix>Mr</NamePrefix> <GivenName>Nick</GivenName>
<OriginDestinationOption JourneyDuration="PT8H20M" RPH="1">
<FlightSegment <Surname>Farrel</Surname>
ArrivalDateTime="2022-03-01T22:30:00" DepartureDateTime="2022-03-01T21:15:00" FlightNumber="489" RPH="11" Status="Have Sold" StopQuantity="0">
</PersonName> <DepartureAirport LocationCode="VKO" Terminal="A"/>
<Document ExpireDate="2025-12-11" EffectiveDate="2017-12-11" Gender="Male" DocType="P" DocIssueLocation="GB" DocID="11111" DocHolderNationality="GB"/> <ArrivalAirport LocationCode="LED" Terminal="1"/>
</AirTraveler><OperatingAirline Code="5Y"/>
<AirTraveler<Equipment PassengerTypeCodeAirEquipType="ADT735"/>
<ProfileRef><MarketingAirline Code="UT"/>
<BookingClassAvails>
<UniqueID ID="2" Type="1"/> <BookingClassAvail ResBookDesigCode="H" ResBookDesigName="Economy"/>
</ProfileRef> </BookingClassAvails>
<PersonName> </FlightSegment>
<NamePrefix>Ms<</NamePrefix>OriginDestinationOption>
</OriginDestinationOptions>
</AirItinerary>
<GivenName>Helen</GivenName> <PriceInfo FilingAirlineCodeList="UT">
<ItinTotalFare>
<Surname>Farrel</Surname> <BaseFare Amount="2191.00" CurrencyCode="RUB"/>
</PersonName> <Taxes>
<Document<Tax ExpireDateAmount="2025-12-11775.00" EffectiveDateCurrencyCode="2017-12-11RUB" GenderTaxCode="FemaleAC" DocType="P" DocIssueLocation="GB" DocID="11111" DocHolderNationality="GB"/>
/>
<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">
<UniqueID<PassengerTypeQuantity IDCode="3ADT" TypeQuantity="1"/>
<FareBasisCodes>
</ProfileRef> <FareBasisCode FlightSegmentRPH="11">HSSOW</FareBasisCode>
<PersonName> </FareBasisCodes>
<NamePrefix>Mr</NamePrefix> <PassengerFare>
<BaseFare <GivenName>Boy</GivenName>Amount="2191.00" CurrencyCode="RUB"/>
<Taxes>
<Surname>Farrel</Surname> <Tax Amount="775.00" </PersonName>CurrencyCode="RUB" TaxCode="AC"/>
<Document ExpireDate="2025-12-11" EffectiveDate="2017-12-11" Gender="Male" DocType="P" DocIssueLocation="GB" DocID="11111" DocHolderNationality="GB"/> <Tax Amount="66.00" CurrencyCode="RUB" TaxCode="VB"/>
</AirTraveler>
Taxes>
</TravelerInfo> <TotalFare <Ticketing TicketType="eTicket" TicketTimeLimit="2020-05-20T00:00:00-04:Amount="3031.00" PseudoCityCodeCurrencyCode="XXXX000YYRUB"/>
<BookingReferenceID ID="G001456" Instance="supplier"/> </PassengerFare>
<BaggageAllowances>
<BaggageAllowance <BookingReferenceID IDFlightSegmentRPH="11" UnitOfMeasureCode="ol1K" InstanceUnitOfMeasureQuantity="agent20"/>
<BookingReferenceID ID="ol1" Instance="client"/> </BaggageAllowances>
</AirReservation> </AirReservations> </OTA_AirBookRS> |
|
Expand |
---|
title | Flight Reservation Confirmation Response of Web Fare Sample XML |
---|
|
Code Block |
---|
| <OTA_AirBookRS EchoToken="12345" TransactionIdentifier="152577" TransactionStatusCode="Book" Version="2.0" xmlns="http://www.opentravel.org/OTA/2003/05">
<Success/>PTC_FareBreakdown>
</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 - <DepartureAirport LocationCode="LHR"/>
OTHER 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<AirTraveler PassengerTypeCode="X" ResBookDesigName="Basic"/>
ADT">
<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 LocationCode="LHR" <ArrivalAirport LocationCodePhoneLocationType="6" PhoneNumber="CDG353879294007"/>
<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 ArrivalDateTime="2022-03-02T17:20:00" </FlightSegment>
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 <MarketingAirline Code="EURUT"/>
<BookingClassAvails>
<Taxes> <BookingClassAvail <Tax TaxCodeResBookDesigCode="17H" AmountResBookDesigName="34.56Economy" CurrencyCode="EUR"/>/>
</BookingClassAvails>
</Taxes> </FlightSegment>
<TotalFare Amount="79.81" CurrencyCode="EUR"/> </OriginDestinationOption>
</OriginDestinationOptions>
</ItinTotalFare>AirItinerary>
<PriceInfo FilingAirlineCodeList="UT">
<PTC_FareBreakdowns> <ItinTotalFare>
<PTC_FareBreakdown FilingAirlineCode="EW"><BaseFare Amount="2191.00" CurrencyCode="RUB"/>
<Taxes>
<PassengerTypeQuantity Code <Tax Amount="775.00" CurrencyCode="ADTRUB" QuantityTaxCode="1AC"/>
<Tax Amount="66.00" <FareBasisCodes>CurrencyCode="RUB" TaxCode="VB"/>
</Taxes>
<FareBasisCode FlightSegmentRPH<TotalFare Amount="3031.00" CurrencyCode="11RUB">AEW9469X</FareBasisCode>>
</ItinTotalFare>
<PTC_FareBreakdowns>
<FareBasisCode FlightSegmentRPH="12">AEW9404X</FareBasisCode> <PTC_FareBreakdown FilingAirlineCode="UT">
</FareBasisCodes> <PassengerTypeQuantity Code="ADT" Quantity="1"/>
<FareBasisCodes>
<PassengerFare> <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="RUB" TaxCode="EURAC"/>
<Tax </PassengerFare>Amount="66.00" 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>
</PTC_FareBreakdowns>
</FareInfo> <FareInfos>
</FareInfos> <FareInfo>
</PriceInfo> <FareReference>HSSOW</FareReference>
<TravelerInfo> <RuleInfo>
<AirTraveler BirthDate="1974-08-13" PassengerTypeCode="ADT"> <GeneralRules>
<ProfileRef> <GeneralRule>
<UniqueID Type="1" ID="1"/> <Text>- SEE ADV PURCHASEBG CXR: UTPRICED VC </ProfileRef>UT - OTHER VC AVAILABLE HR SEE RTSVCLINK DOWN. SOLD IN STANDARD ACCESSSEE RTSVCLINK DOWN. SOLD <PersonName>IN STANDARD ACCESS</Text>
<NamePrefix>Mr<</NamePrefix>GeneralRule>
</GeneralRules>
<GivenName>Annd</GivenName> </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" DocID="89C87653" </TravelerInfo>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> |
|