Open meneva opened 5 years ago
Hi meneva,
There was an Element AirSegmentRef inside the AirPricingSolution. That was causing the error. Please find below updated request. Thanks.
<?xml version="1.0"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<univ:AirCreateReservationReq xmlns:air="http://www.travelport.com/schema/air_v48_0" xmlns:com="http://www.travelport.com/schema/common_v48_0" xmlns:univ="http://www.travelport.com/schema/universal_v48_0" AuthorizedBy="user" RetainReservation="Both" TargetBranch="P7122297" TraceId="trace">
<com:BillingPointOfSaleInfo OriginApplication="UAPI"/>
<com:BookingTraveler DOB="1969-09-17" Gender="M" Key="gr8AVWGCR064r57Jt0+8bA==" TravelerType="ADT">
<com:BookingTravelerName First="Jack" Last="Smith" Prefix="Mr"/>
<com:DeliveryInfo>
<com:ShippingAddress>
<com:AddressName>Smiths</com:AddressName>
<com:Street>2914 N. Dakota Avenue</com:Street>
<com:City>Denver</com:City>
<com:State>CO</com:State>
<com:PostalCode>80206</com:PostalCode>
<com:Country>US</com:Country>
</com:ShippingAddress>
</com:DeliveryInfo>
<com:PhoneNumber AreaCode="303" CountryCode="1" Location="DEN" Number="3333333"/>
<com:Email EmailID="test@travelport.com" Type="Home"/>
<com:SSR Carrier="QF" FreeText="P/US/F1234567/US/17Sep69/M/24Sep15/Smith/Jack" SegmentRef="WOMIafkiRkSvAyJ/EI5AUw==" Status="HK" Type="DOCS"/>
<com:Address>
<com:AddressName>Smiths</com:AddressName>
<com:Street>2914 N. Dakota Avenue</com:Street>
<com:City>Denver</com:City>
<com:State>CO</com:State>
<com:PostalCode>80206</com:PostalCode>
<com:Country>US</com:Country>
</com:Address>
</com:BookingTraveler>
<com:FormOfPayment xmlns:com="http://www.travelport.com/schema/common_v48_0" Key="" Type="Cash"/>
<air:AirPricingSolution Key="tSRqqy7Q2BKASX/CAAAAAA==" TotalPrice="BDT53034" BasePrice="USD535.82" ApproximateTotalPrice="BDT53034" ApproximateBasePrice="BDT44876" EquivalentBasePrice="BDT44876" Taxes="BDT8158" Fees="BDT0" ApproximateTaxes="BDT8158" QuoteDate="2019-08-20">
<air:AirSegment Key="tSRqqy7Q2BKAOX/CAAAAAA==" Group="0" Carrier="UA" FlightNumber="677" ProviderCode="1G" Origin="DEN" Destination="ATL" DepartureTime="2019-11-01T17:40:00.000-06:00" ArrivalTime="2019-11-01T22:33:00.000-04:00" FlightTime="173" TravelTime="173" Distance="1207" ClassOfService="K" Equipment="320" ChangeOfPlane="false" OptionalServicesIndicator="false" AvailabilitySource="S" ParticipantLevel="Secure Sell" LinkAvailability="true" PolledAvailabilityOption="O and D cache or polled status used with different local status" AvailabilityDisplayType="Fare Specific Fare Quote Unbooked">
<air:CodeshareInfo OperatingCarrier="UA">United Airlines Inc</air:CodeshareInfo>
<air:AirAvailInfo ProviderCode="1G"/>
<air:FlightDetails Key="tSRqqy7Q2BKAPX/CAAAAAA==" Origin="DEN" Destination="ATL" DepartureTime="2019-11-01T17:40:00.000-06:00" ArrivalTime="2019-11-01T22:33:00.000-04:00" FlightTime="173" TravelTime="173" Equipment="320" DestinationTerminal="N" AutomatedCheckin="false">
<air:Meals>FoodForPurchase</air:Meals>
<air:InFlightServices>Non-smoking</air:InFlightServices>
<air:InFlightServices>TSA SECURED FLIGHT</air:InFlightServices>
</air:FlightDetails>
</air:AirSegment>
<air:AirPricingInfo Key="tSRqqy7Q2BKAVX/CAAAAAA==" TotalPrice="BDT26517" BasePrice="USD267.91" ApproximateTotalPrice="BDT26517" ApproximateBasePrice="BDT22438" EquivalentBasePrice="BDT22438" ApproximateTaxes="BDT4079" Taxes="BDT4079" LatestTicketingTime="2019-08-21T23:59:00.000+06:00" PricingMethod="Guaranteed" IncludesVAT="false" ETicketability="Yes" ProviderCode="1G">
<air:FareInfo Key="tSRqqy7Q2BKAaX/CAAAAAA==" FareBasis="KAA3AWDN" PassengerTypeCode="ADT" Origin="DEN" Destination="ATL" EffectiveDate="2019-08-21T00:13:00.000+06:00" DepartureDate="2019-11-01" Amount="BDT10050" NotValidBefore="2019-11-01" NotValidAfter="2019-11-01" TaxAmount="BDT1952.00">
<air:FareRuleKey FareInfoRef="tSRqqy7Q2BKAaX/CAAAAAA==" ProviderCode="1G">6UUVoSldxwiBOe60AwAQlcbKj3F8T9EyxsqPcXxP0TLGyo9xfE/RMsuWFfXVd1OAly5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovAykPYSUg+bfGfTobKkhimR/zd/VTAJtvZYQ+x5TXqtVYNgYTMBz3e8oQ1ViDh+WDGas6DjOiZo5Gh3OlCIHXwkUNbwRdmKEaa4X+hNfHEXoxYuAWfcH2w91gFHVWNccKgYYGl/RT+cbY7X9UGrJVHfVhdVO31nopIIMN1QPqv5KjwUK0YPKncgZvQnhct7zvchx+9tDh1NN9f5jNCo/RJO+J46amq772oTKBY/NauSt6ccvr40e6Z34+aCRAVG8ghcnCCD1HHN1kjFMkgdSEP1yRi++GDVAX1YWOaYo7ZvboXF0OnZRzfyNq6l8RAICFZBN9PARV7He0y5YV9dV3U4CXLmrFneovA5cuasWd6i8D1UNnHv4jb8E=</air:FareRuleKey>
<air:Brand Key="tSRqqy7Q2BKAaX/CAAAAAA==" BrandID="169914" Name="Economy" UpSellBrandFound="false" Carrier="UA" BrandTier="0002">
<air:Title Type="External" LanguageCode="EN">Economy</air:Title>
<air:Title Type="Short" LanguageCode="EN">ECONOMY</air:Title>
<air:Text Type="MarketingConsumer" LanguageCode="EN">
Our standard Economy fare; choose your seats and enjoy other options for customizing your travel
• Seat selection at booking, if seats are available
• Eligible to change ticket1
• Eligible for Economy Plus®1, paid upgrades and complimentary upgrades
• One personal item and one full-size carry-on bag
• Earn award miles and lifetime miles, and toward Premier® qualification
• 1Fees may apply.
---
• Please note that if the flight is operated by another airline then the onboard product or service maybe different to that described above.
</air:Text>
<air:Text Type="MarketingAgent" LanguageCode="EN">
Our standard Economy fare; choose your seats and enjoy other options for customizing your travel
• Seat selection at booking, if seats are available
• Eligible to change ticket1
• Eligible for Economy Plus®1, paid upgrades and complimentary upgrades
• One personal item and one full-size carry-on bag
• Earn award miles and lifetime miles, and toward Premier® qualification
• 1Fees may apply.
---
• Please note that if the flight is operated by another airline then the onboard product or service maybe different to that described above.
</air:Text>
<air:Text Type="Strapline" LanguageCode="EN">Our lowest available fare with options to customize travel and without the restrictions of Budget E</air:Text>
<air:ImageLocation Type="Consumer" ImageWidth="2000" ImageHeight="1529">https://cdn.travelport.com/united/UA_general_large_42309.jpg</air:ImageLocation>
<air:ImageLocation Type="Agent" ImageWidth="150" ImageHeight="150">https://cdn.travelport.com/united/UA_general_medium_1662.jpg</air:ImageLocation>
</air:Brand>
</air:FareInfo>
<air:FareInfo Key="tSRqqy7Q2BKAnX/CAAAAAA==" FareBasis="LAA2AKDN" PassengerTypeCode="ADT" Origin="ATL" Destination="DEN" EffectiveDate="2019-08-21T00:13:00.000+06:00" DepartureDate="2019-11-07" Amount="BDT12388" NotValidBefore="2019-11-07" NotValidAfter="2019-11-07" TaxAmount="BDT2127.00">
<air:FareRuleKey FareInfoRef="tSRqqy7Q2BKAnX/CAAAAAA==" ProviderCode="1G">6UUVoSldxwiBOe60AwAQlcbKj3F8T9EyxsqPcXxP0TLGyo9xfE/RMsuWFfXVd1OAly5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovAykPYSUg+bfGfTobKkhimR/zd/VTAJtvZUROvGCDLbgQIkERMsOGQRMQ1ViDh+WDGRcDisBkbbC+TCUJ0BUT7ZwGtnQZwxd4foX+hNfHEXoxYuAWfcH2w91gFHVWNccKgYYGl/RT+cbY7X9UGrJVHfVhdVO31nopIIMN1QPqv5Kj7wEZyLykxrRh6RqrevtJrOb4VgBq4a+BMf7OjcnGmEuJ46amq772odqVbhyJ5ABjccvr40e6Z34+aCRAVG8ghcnCCD1HHN1kJr/1+olSnwiGBpf0U/nG2GcNpCrdAvKtF1UCZkHg16/XxpKaFoW/j4YN/l0f8/Y8ir5wkVQHOuKXLmrFneovA5cuasWd6i8Dly5qxZ3qLwPkbAXySpCKIA==</air:FareRuleKey>
<air:Brand Key="tSRqqy7Q2BKAnX/CAAAAAA==" BrandID="169914" Name="Economy" UpSellBrandFound="false" Carrier="UA" BrandTier="0002">
<air:Title Type="External" LanguageCode="EN">Economy</air:Title>
<air:Title Type="Short" LanguageCode="EN">ECONOMY</air:Title>
<air:Text Type="MarketingConsumer" LanguageCode="EN">
Our standard Economy fare; choose your seats and enjoy other options for customizing your travel
• Seat selection at booking, if seats are available
• Eligible to change ticket1
• Eligible for Economy Plus®1, paid upgrades and complimentary upgrades
• One personal item and one full-size carry-on bag
• Earn award miles and lifetime miles, and toward Premier® qualification
• 1Fees may apply.
---
• Please note that if the flight is operated by another airline then the onboard product or service maybe different to that described above.
</air:Text>
<air:Text Type="MarketingAgent" LanguageCode="EN">
Our standard Economy fare; choose your seats and enjoy other options for customizing your travel
• Seat selection at booking, if seats are available
• Eligible to change ticket1
• Eligible for Economy Plus®1, paid upgrades and complimentary upgrades
• One personal item and one full-size carry-on bag
• Earn award miles and lifetime miles, and toward Premier® qualification
• 1Fees may apply.
---
• Please note that if the flight is operated by another airline then the onboard product or service maybe different to that described above.
</air:Text>
<air:Text Type="Strapline" LanguageCode="EN">Our lowest available fare with options to customize travel and without the restrictions of Budget E</air:Text>
<air:ImageLocation Type="Consumer" ImageWidth="2000" ImageHeight="1529">https://cdn.travelport.com/united/UA_general_large_42309.jpg</air:ImageLocation>
<air:ImageLocation Type="Agent" ImageWidth="150" ImageHeight="150">https://cdn.travelport.com/united/UA_general_medium_1662.jpg</air:ImageLocation>
</air:Brand>
</air:FareInfo>
<air:BookingInfo BookingCode="K" CabinClass="Economy" FareInfoRef="tSRqqy7Q2BKAaX/CAAAAAA==" SegmentRef="tSRqqy7Q2BKAOX/CAAAAAA==" HostTokenRef="tSRqqy7Q2BKATX/CAAAAAA=="/>
<air:BookingInfo BookingCode="L" CabinClass="Economy" FareInfoRef="tSRqqy7Q2BKAnX/CAAAAAA==" SegmentRef="tSRqqy7Q2BKAQX/CAAAAAA==" HostTokenRef="tSRqqy7Q2BKAUX/CAAAAAA=="/>
<air:TaxInfo Category="AY" Amount="BDT938" Key="tSRqqy7Q2BKAWX/CAAAAAA=="/>
<air:TaxInfo Category="US" Amount="BDT1683" Key="tSRqqy7Q2BKAXX/CAAAAAA=="/>
<air:TaxInfo Category="XF" Amount="BDT754" Key="tSRqqy7Q2BKAYX/CAAAAAA==">
</air:TaxInfo>
<air:TaxInfo Category="ZP" Amount="BDT704" Key="tSRqqy7Q2BKAZX/CAAAAAA==">
</air:TaxInfo>
<air:FareCalc>DEN UA ATL 120.00KAA3AWDN UA DEN 147.91LAA2AKDN USD267.91END</air:FareCalc>
<air:PassengerType Code="ADT"/>
<air:PassengerType Code="ADT"/>
<air:ChangePenalty PenaltyApplies="Anytime">
<air:Amount>BDT16750</air:Amount>
</air:ChangePenalty>
<air:CancelPenalty PenaltyApplies="Anytime">
<air:Percentage>100.00</air:Percentage>
</air:CancelPenalty>
<air:BaggageAllowances>
<air:BaggageAllowanceInfo TravelerType="ADT" Origin="DEN" Destination="ATL" Carrier="UA">
<air:URLInfo>
<air:URL>VIEWTRIP.TRAVELPORT.COM/BAGGAGEPOLICY/UA</air:URL>
</air:URLInfo>
<air:TextInfo>
<air:Text>0P</air:Text>
<air:Text>BAGGAGE DISCOUNTS MAY APPLY BASED ON FREQUENT FLYER STATUS/ ONLINE CHECKIN/FORM OF PAYMENT/MILITARY/ETC.</air:Text>
</air:TextInfo>
<air:BagDetails ApplicableBags="1stChecked" BasePrice="USD30.00" ApproximateBasePrice="BDT2513" TotalPrice="USD30.00" ApproximateTotalPrice="BDT2513">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>UPTO50LB/23KG AND UPTO62LI/158LCM</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:BagDetails>
<air:BagDetails ApplicableBags="2ndChecked" BasePrice="USD40.00" ApproximateBasePrice="BDT3350" TotalPrice="USD40.00" ApproximateTotalPrice="BDT3350">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>UPTO50LB/23KG AND UPTO62LI/158LCM</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:BagDetails>
</air:BaggageAllowanceInfo>
<air:BaggageAllowanceInfo TravelerType="ADT" Origin="ATL" Destination="DEN" Carrier="UA">
<air:URLInfo>
<air:URL>VIEWTRIP.TRAVELPORT.COM/BAGGAGEPOLICY/UA</air:URL>
</air:URLInfo>
<air:TextInfo>
<air:Text>0P</air:Text>
<air:Text>BAGGAGE DISCOUNTS MAY APPLY BASED ON FREQUENT FLYER STATUS/ ONLINE CHECKIN/FORM OF PAYMENT/MILITARY/ETC.</air:Text>
</air:TextInfo>
<air:BagDetails ApplicableBags="1stChecked" BasePrice="USD30.00" ApproximateBasePrice="BDT2513" TotalPrice="USD30.00" ApproximateTotalPrice="BDT2513">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>UPTO50LB/23KG AND UPTO62LI/158LCM</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:BagDetails>
<air:BagDetails ApplicableBags="2ndChecked" BasePrice="USD40.00" ApproximateBasePrice="BDT3350" TotalPrice="USD40.00" ApproximateTotalPrice="BDT3350">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>UPTO50LB/23KG AND UPTO62LI/158LCM</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:BagDetails>
</air:BaggageAllowanceInfo>
<air:CarryOnAllowanceInfo Origin="DEN" Destination="ATL" Carrier="UA">
<air:TextInfo>
<air:Text>1P</air:Text>
</air:TextInfo>
<air:CarryOnDetails ApplicableCarryOnBags="1" BasePrice="USD0.00" ApproximateBasePrice="BDT0" TotalPrice="USD0.00" ApproximateTotalPrice="BDT0">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>CARRY ON HAND BAGGAGE</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:CarryOnDetails>
</air:CarryOnAllowanceInfo>
<air:CarryOnAllowanceInfo Origin="ATL" Destination="DEN" Carrier="UA">
<air:TextInfo>
<air:Text>1P</air:Text>
</air:TextInfo>
<air:CarryOnDetails ApplicableCarryOnBags="1" BasePrice="USD0.00" ApproximateBasePrice="BDT0" TotalPrice="USD0.00" ApproximateTotalPrice="BDT0">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>CARRY ON HAND BAGGAGE</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:CarryOnDetails>
</air:CarryOnAllowanceInfo>
</air:BaggageAllowances>
</air:AirPricingInfo>
<air:FareNote Key="tSRqqy7Q2BKA2X/CAAAAAA==">RATE USED IN EQU TOTAL IS BSR 1USD - 83.75BDT</air:FareNote>
<air:FareNote Key="tSRqqy7Q2BKA3X/CAAAAAA==">LAST DATE TO PURCHASE TICKET: 21AUG19 DAC</air:FareNote>
<air:FareNote Key="tSRqqy7Q2BKA4X/CAAAAAA==">E-TKT REQUIRED</air:FareNote>
<air:FareNote Key="tSRqqy7Q2BKA5X/CAAAAAA==">TICKETING FEES MAY APPLY</air:FareNote>
</air:AirPricingSolution>
<com:ActionStatus ProviderCode="1G" TicketDate="2019-08-20T23:59:00.000+06:00" Type="TAW"/>
</univ:AirCreateReservationReq>
</soapenv:Body>
</soapenv:Envelope>
Hello, I am trying to use AirReservationRequest but getting Server.Invalid request exception. my request xml and resonse are as follows:
Request XML:
<?xml version="1.0"?>
1000