Open OTeotl opened 6 years ago
Hi OTeotl,
The Airitinerary opening tag was missing. Please find below the update xml. Thanks.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<air:AirPriceReq AuthorizedBy="user" TargetBranch="P7087777" TraceId="trace" xmlns:air="http://www.travelport.com/schema/air_v42_0" xmlns:com="http://www.travelport.com/schema/common_v42_0">
<com:BillingPointOfSaleInfo OriginApplication="UAPI" xmlns="http://www.travelport.com/schema/common_v42_0"/>
<air:AirItinerary>
<air:AirSegment Key="Otjd8H7Q2BKAEDiQBAAAAA==" Group="0" Carrier="UA" FlightNumber="1064" Origin="MEX" Destination="EWR" DepartureTime="2018-03-15T08:00:00.000-06:00" ArrivalTime="2018-03-15T14:40:00.000-04:00" AvailabilitySource="P" ProviderCode="1P"/>
<air:AirSegment Key="Otjd8H7Q2BKAGDiQBAAAAA==" Group="0" Carrier="UA" FlightNumber="36" Origin="EWR" Destination="EDI" DepartureTime="2018-03-15T20:00:00.000-04:00" ArrivalTime="2018-03-16T06:35:00.000+00:00" AvailabilitySource="P" ProviderCode="1P"/>
<air:AirSegment Key="Otjd8H7Q2BKAIDiQBAAAAA==" Group="1" Carrier="UA" FlightNumber="39" Origin="EDI" Destination="EWR" DepartureTime="2018-03-20T08:05:00.000+00:00" ArrivalTime="2018-03-20T12:00:00.000-04:00" AvailabilitySource="P" ProviderCode="1P"/>
<air:AirSegment Key="Otjd8H7Q2BKAKDiQBAAAAA==" Group="1" Carrier="UA" FlightNumber="743" Origin="EWR" Destination="ORD" DepartureTime="2018-03-20T15:29:00.000-04:00" ArrivalTime="2018-03-20T17:11:00.000-05:00" AvailabilitySource="P" ProviderCode="1P"/>
<air:AirSegment Key="Otjd8H7Q2BKAMDiQBAAAAA==" Group="1" Carrier="UA" FlightNumber="1547" Origin="ORD" Destination="MEX" DepartureTime="2018-03-20T19:03:00.000-05:00" ArrivalTime="2018-03-20T22:20:00.000-06:00" AvailabilitySource="P" ProviderCode="1P"/>
</air:AirItinerary>
<air:AirPricingModifiers FaresIndicator="PublicAndPrivateFares" InventoryRequestType="DirectAccess">
<air:BrandModifiers ModifierType="FareFamilyDisplay"/>
</air:AirPricingModifiers>
<com:SearchPassenger Code="ADT" PricePTCOnly="false" ResidencyType="National" Key="PAX-1">
<com:PersonalGeography>
<com:CountryCode>MEX</com:CountryCode>
</com:PersonalGeography>
</com:SearchPassenger>
<air:AirPricingCommand/>
</air:AirPriceReq>
</soap:Body>
</soap:Envelope>
Thanks vivekjyotipramanik.
Hi, I have the same problem with the AirCreateReservationReq, could you please say me where is my mistake?
AirCreateReservationReq xml:
Hi OTeotl,
Please refer the below request xml and construct the xml accordingly. Thanks.
https://support.travelport.com/webhelp/uapi/Content/SampleWeb/SampleFiles/001-03_1G_AirBook_Rq.xml
Hi, vivekjyotipramanik I did what you recommended, but AirCreateReservation show me that mistake. xml-petition
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<univ:AirCreateReservationReq xmlns:air="http://www.travelport.com/schema/air_v34_0" xmlns:common_v34_0="http://www.travelport.com/schema/common_v34_0" xmlns:univ="http://www.travelport.com/schema/universal_v34_0" AuthorizedBy="user" RetainReservation="Both" TargetBranch="P7087777" TraceId="trace">
<com:BillingPointOfSaleInfo xmlns:com="http://www.travelport.com/schema/common_v34_0" OriginApplication="UAPI"/>
<com:BookingTraveler xmlns:com="http://www.travelport.com/schema/common_v34_0" 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="Otjd8H7Q2BKAWJBUBAAAAA==" 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_v34_0" Key="jwt2mcK1Qp27I2xfpcCtAw==" Type="Cash"/>
<!--Solucion escojida-->
<air:AirPricingSolution Key="Otjd8H7Q2BKAbJBUBAAAAA==" TotalPrice="MXN34401" BasePrice="USD1183.00" ApproximateTotalPrice="MXN34401" ApproximateBasePrice="MXN22027" EquivalentBasePrice="MXN22027" Taxes="MXN12374" ApproximateTaxes="MXN12374">
<!--Segmentos del itinerario-->
<air:AirSegment Key="Otjd8H7Q2BKAWJBUBAAAAA==" Group="0" Carrier="UA" FlightNumber="1064" ProviderCode="1P" Origin="MEX" Destination="EWR" DepartureTime="2018-03-15T08:00:00.000-06:00" ArrivalTime="2018-03-15T14:40:00.000-04:00" ChangeOfPlane="false" OptionalServicesIndicator="false">
<air:CodeshareInfo OperatingCarrier="UA">United Airlines Inc</air:CodeshareInfo>
</air:AirSegment>
<air:AirSegment Key="Otjd8H7Q2BKAXJBUBAAAAA==" Group="0" Carrier="UA" FlightNumber="36" ProviderCode="1P" Origin="EWR" Destination="EDI" DepartureTime="2018-03-15T20:00:00.000-04:00" ArrivalTime="2018-03-16T06:35:00.000+00:00" ChangeOfPlane="false" OptionalServicesIndicator="false">
<air:CodeshareInfo OperatingCarrier="UA">United Airlines Inc</air:CodeshareInfo>
</air:AirSegment>
<air:AirSegment Key="Otjd8H7Q2BKAYJBUBAAAAA==" Group="1" Carrier="UA" FlightNumber="39" ProviderCode="1P" Origin="EDI" Destination="EWR" DepartureTime="2018-03-20T08:05:00.000+00:00" ArrivalTime="2018-03-20T12:00:00.000-04:00" ChangeOfPlane="false" OptionalServicesIndicator="false">
<air:CodeshareInfo OperatingCarrier="UA">United Airlines Inc</air:CodeshareInfo>
</air:AirSegment>
<air:AirSegment Key="Otjd8H7Q2BKAZJBUBAAAAA==" Group="1" Carrier="UA" FlightNumber="743" ProviderCode="1P" Origin="EWR" Destination="ORD" DepartureTime="2018-03-20T15:29:00.000-04:00" ArrivalTime="2018-03-20T17:11:00.000-05:00" ChangeOfPlane="false" OptionalServicesIndicator="false">
<air:CodeshareInfo OperatingCarrier="UA">United Airlines Inc</air:CodeshareInfo>
</air:AirSegment>
<air:AirSegment Key="Otjd8H7Q2BKAaJBUBAAAAA==" Group="1" Carrier="UA" FlightNumber="1547" ProviderCode="1P" Origin="ORD" Destination="MEX" DepartureTime="2018-03-20T19:03:00.000-05:00" ArrivalTime="2018-03-20T22:20:00.000-06:00" ChangeOfPlane="false" OptionalServicesIndicator="false">
<air:CodeshareInfo OperatingCarrier="UA">United Airlines Inc</air:CodeshareInfo>
</air:AirSegment>
<!--fin de itinerario-->
<!--Info de precio encontrada justo debajo de AirPricingSolution-->
<air:AirPricingInfo Key="Otjd8H7Q2BKAeJBUBAAAAA==" TotalPrice="MXN34401" BasePrice="USD1183.00" ApproximateTotalPrice="MXN34401" ApproximateBasePrice="MXN22027" EquivalentBasePrice="MXN22027" ApproximateTaxes="MXN12374" Taxes="MXN12374" LatestTicketingTime="2018-03-08T23:59:00.000-06:00" PricingMethod="Auto" Refundable="true" PlatingCarrier="UA" ProviderCode="1P">
<air:FareInfo Key="Otjd8H7Q2BKApJBUBAAAAA==" FareBasis="HLX3RCMX" PassengerTypeCode="ADT" Origin="MEX" Destination="EDI" EffectiveDate="2018-03-08T13:16:08.727-06:00" Amount="MXN11572" TaxAmount="MXN5422.00">
<air:FareRuleKey FareInfoRef="Otjd8H7Q2BKApJBUBAAAAA==" ProviderCode="1P">zdmav2Ucqovvc7YsqM9VWT6XfPL9VuWm1d0sARgKxalTEXAUldF8AB03kMJ5I8IGn5MZKOkYLiaKCwK+XChfKWw12/ZJcxO6</air:FareRuleKey>
</air:FareInfo>
<air:FareInfo Key="Otjd8H7Q2BKA3JBUBAAAAA==" FareBasis="QLX4RCMX" PassengerTypeCode="ADT" Origin="EDI" Destination="MEX" EffectiveDate="2018-03-08T13:16:08.727-06:00" Amount="MXN10455" TaxAmount="MXN6952.00">
<air:FareRuleKey FareInfoRef="Otjd8H7Q2BKA3JBUBAAAAA==" ProviderCode="1P">3/wcqYz5/hHvc7YsqM9VWT6XfPL9VuWmXaNqAbhRdOJTEXAUldF8AB03kMJ5I8IGn5MZKOkYLiaKCwK+XChfKWw12/ZJcxO6</air:FareRuleKey>
</air:FareInfo>
<air:BookingInfo BookingCode="H" CabinClass="Economy" FareInfoRef="Otjd8H7Q2BKApJBUBAAAAA==" SegmentRef="Otjd8H7Q2BKAWJBUBAAAAA==" HostTokenRef="Otjd8H7Q2BKAcJBUBAAAAA=="/>
<air:BookingInfo BookingCode="H" CabinClass="Economy" FareInfoRef="Otjd8H7Q2BKApJBUBAAAAA==" SegmentRef="Otjd8H7Q2BKAXJBUBAAAAA==" HostTokenRef="Otjd8H7Q2BKAcJBUBAAAAA=="/>
<air:BookingInfo BookingCode="Q" CabinClass="Economy" FareInfoRef="Otjd8H7Q2BKA3JBUBAAAAA==" SegmentRef="Otjd8H7Q2BKAYJBUBAAAAA==" HostTokenRef="Otjd8H7Q2BKAdJBUBAAAAA=="/>
<air:BookingInfo BookingCode="Q" CabinClass="Economy" FareInfoRef="Otjd8H7Q2BKA3JBUBAAAAA==" SegmentRef="Otjd8H7Q2BKAZJBUBAAAAA==" HostTokenRef="Otjd8H7Q2BKAdJBUBAAAAA=="/>
<air:BookingInfo BookingCode="Q" CabinClass="Economy" FareInfoRef="Otjd8H7Q2BKA3JBUBAAAAA==" SegmentRef="Otjd8H7Q2BKAaJBUBAAAAA==" HostTokenRef="Otjd8H7Q2BKAdJBUBAAAAA=="/>
<air:TaxInfo Category="XO" Amount="MXN1163" Key="Otjd8H7Q2BKAfJBUBAAAAA=="/>
<air:TaxInfo Category="XD" Amount="MXN875" Key="Otjd8H7Q2BKAgJBUBAAAAA=="/>
<air:TaxInfo Category="AY" Amount="MXN210" Key="Otjd8H7Q2BKAhJBUBAAAAA=="/>
<air:TaxInfo Category="XA" Amount="MXN148" Key="Otjd8H7Q2BKAiJBUBAAAAA=="/>
<air:TaxInfo Category="XY" Amount="MXN262" Key="Otjd8H7Q2BKAjJBUBAAAAA=="/>
<air:TaxInfo Category="YC" Amount="MXN212" Key="Otjd8H7Q2BKAkJBUBAAAAA=="/>
<air:TaxInfo Category="GB" Amount="MXN1969" Key="Otjd8H7Q2BKAlJBUBAAAAA=="/>
<air:TaxInfo Category="UB" Amount="MXN411" Key="Otjd8H7Q2BKAmJBUBAAAAA=="/>
<air:TaxInfo Category="YQ" Amount="MXN7040" Key="Otjd8H7Q2BKAnJBUBAAAAA=="/>
<air:TaxInfo Category="XF" Amount="MXN84" Key="Otjd8H7Q2BKAoJBUBAAAAA=="/>
<air:FareCalc>ADT MEX UA X/EWR UA EDI621.50UA X/EWR UA X/CHI UA MEX561.50NUC1183.00END ROE1.00 UA XF ORD4.5</air:FareCalc>
<air:PassengerType Code="ADT"/>
<air:BaggageAllowances>
<air:BaggageAllowanceInfo TravelerType="ADT" Origin="MEX" Destination="EDI" Carrier="UA">
<air:URLInfo>
<air:URL>MYTRIPANDMORE.COM/BAGGAGEDETAILSUA.BAGG</air:URL>
</air:URLInfo>
<air:TextInfo>
<air:Text>1P</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="USD0.00" ApproximateBasePrice="MXN0" TotalPrice="MXN0.00" ApproximateTotalPrice="MXN0.00">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>UPTO50LB/23KG AND UPTO62LI/158LCM</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:BagDetails>
<air:BagDetails ApplicableBags="2ndChecked" BasePrice="MXN1862" ApproximateBasePrice="MXN1862" TotalPrice="MXN1862" ApproximateTotalPrice="MXN1862">
<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="EDI" Destination="EWR" Carrier="UA">
<air:URLInfo>
<air:URL>MYTRIPANDMORE.COM/BAGGAGEDETAILSUA.BAGG</air:URL>
</air:URLInfo>
<air:TextInfo>
<air:Text>1P</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="USD0.00" ApproximateBasePrice="MXN0" TotalPrice="MXN0.00" ApproximateTotalPrice="MXN0.00">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>UPTO50LB/23KG AND UPTO62LI/158LCM</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:BagDetails>
<air:BagDetails ApplicableBags="2ndChecked" BasePrice="GBP71.00" ApproximateBasePrice="MXN1864" TotalPrice="GBP71.00" ApproximateTotalPrice="MXN1864">
<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="EWR" Destination="MEX" Carrier="UA">
<air:URLInfo>
<air:URL>MYTRIPANDMORE.COM/BAGGAGEDETAILSUA.BAGG</air:URL>
</air:URLInfo>
<air:TextInfo>
<air:Text>1P</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="USD0.00" ApproximateBasePrice="MXN0" TotalPrice="MXN0.00" ApproximateTotalPrice="MXN0.00">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>UPTO50LB/23KG AND UPTO62LI/158LCM</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:BagDetails>
<air:BagDetails ApplicableBags="2ndChecked" BasePrice="USD100.00" ApproximateBasePrice="MXN1862" TotalPrice="USD100.00" ApproximateTotalPrice="MXN1862">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>UPTO50LB/23KG AND UPTO62LI/158LCM</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:BagDetails>
</air:BaggageAllowanceInfo>
<air:CarryOnAllowanceInfo Origin="MEX" Destination="EWR" Carrier="UA">
<air:URLInfo/>
<air:TextInfo>
<air:Text>1P</air:Text>
</air:TextInfo>
<air:CarryOnDetails ApplicableCarryOnBags="1" BasePrice="USD0.00" ApproximateBasePrice="MXN0" TotalPrice="MXN0.00" ApproximateTotalPrice="MXN0.00">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>CARRYON HAND BAGGAGE ALLOWANCE</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:CarryOnDetails>
</air:CarryOnAllowanceInfo>
<air:CarryOnAllowanceInfo Origin="EWR" Destination="EDI" Carrier="UA">
<air:URLInfo/>
<air:TextInfo>
<air:Text>1P</air:Text>
</air:TextInfo>
<air:CarryOnDetails ApplicableCarryOnBags="1" BasePrice="USD0.00" ApproximateBasePrice="MXN0" TotalPrice="MXN0.00" ApproximateTotalPrice="MXN0.00">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>CARRYON HAND BAGGAGE ALLOWANCE</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:CarryOnDetails>
</air:CarryOnAllowanceInfo>
<air:CarryOnAllowanceInfo Origin="EDI" Destination="EWR" Carrier="UA">
<air:URLInfo/>
<air:TextInfo>
<air:Text>1P</air:Text>
</air:TextInfo>
<air:CarryOnDetails ApplicableCarryOnBags="1" BasePrice="USD0.00" ApproximateBasePrice="MXN0" TotalPrice="MXN0.00" ApproximateTotalPrice="MXN0.00">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>CARRYON HAND BAGGAGE ALLOWANCE</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:CarryOnDetails>
</air:CarryOnAllowanceInfo>
<air:CarryOnAllowanceInfo Origin="EWR" Destination="ORD" Carrier="UA">
<air:URLInfo/>
<air:TextInfo>
<air:Text>1P</air:Text>
</air:TextInfo>
<air:CarryOnDetails ApplicableCarryOnBags="1" BasePrice="USD0.00" ApproximateBasePrice="MXN0" TotalPrice="MXN0.00" ApproximateTotalPrice="MXN0.00">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>CARRYON HAND BAGGAGE ALLOWANCE</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:CarryOnDetails>
</air:CarryOnAllowanceInfo>
<air:CarryOnAllowanceInfo Origin="ORD" Destination="MEX" Carrier="UA">
<air:URLInfo/>
<air:TextInfo>
<air:Text>1P</air:Text>
</air:TextInfo>
<air:CarryOnDetails ApplicableCarryOnBags="1" BasePrice="USD0.00" ApproximateBasePrice="MXN0" TotalPrice="MXN0.00" ApproximateTotalPrice="MXN0.00">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>CARRYON HAND BAGGAGE ALLOWANCE</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:CarryOnDetails>
</air:CarryOnAllowanceInfo>
</air:BaggageAllowances>
</air:AirPricingInfo>
</air:AirPricingSolution>
<com:ActionStatus xmlns:com="http://www.travelport.com/schema/common_v34_0" ProviderCode="1P" TicketDate="2018-08-14T12:02:57" Type="TAW"/>
</univ:AirCreateReservationReq>
</soapenv:Body>
</soapenv:Envelope>
xml-response
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>Server.System</faultcode>
<faultstring>65535 TAW DTE AFTER SEG DTE|65535 NO CHANGES MADE - MODIFY OR IGNORE RECORD</faultstring>
<detail>
<common_v34_0:ErrorInfo xmlns:common_v34_0="http://www.travelport.com/schema/common_v34_0">
<common_v34_0:Code>-1</common_v34_0:Code>
<common_v34_0:Service>PROVISIONINGSERVICE</common_v34_0:Service>
<common_v34_0:Type>System</common_v34_0:Type>
<common_v34_0:Description>65535 TAW DTE AFTER SEG DTE|65535 NO CHANGES MADE - MODIFY OR IGNORE RECORD</common_v34_0:Description>
<common_v34_0:TransactionId>0BA817EF0A0764771479CC6DE0DECBAA</common_v34_0:TransactionId>
<common_v34_0:TraceId>trace</common_v34_0:TraceId>
</common_v34_0:ErrorInfo>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>
Hi OTeotl,
The TAW date should be today's date or tomorrow's date as this is the ticketing date. Looks like you have used a date 6 months from now and which is higher than the AirSegment departure date. Please change the date
<com:ActionStatus xmlns:com="http://www.travelport.com/schema/common_v34_0" ProviderCode="1P" TicketDate="2018-08-14T12:02:57" Type="TAW"/>
to today's date or tomorrow's date. Thanks.
Thanks vivekjyotipramanik.
Hi vivekjyotipramanik. When I send the printTiket, it shows me this:
Petition xml:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<air:AirTicketingReq xmlns:air="http://www.travelport.com/schema/air_v34_0" AuthorizedBy="user" BulkTicket="false" ReturnInfoOnFail="true" TargetBranch="P7087777" TraceId="trace">
<com:BillingPointOfSaleInfo xmlns:com="http://www.travelport.com/schema/common_v34_0" OriginApplication="UAPI"/>
<air:AirReservationLocatorCode>00PV7A</air:AirReservationLocatorCode>
<air:AirPricingInfoRef Key="Otjd8H7Q2BKAeJBUBAAAAA=="/>
</air:AirTicketingReq>
</soapenv:Body>
</soapenv:Envelope>
Response xml:
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<air:AirTicketingRsp TraceId="trace" TransactionId="0BFF422F0A07643B66172AE33A253977" ResponseTime="617" xmlns:air="http://www.travelport.com/schema/air_v34_0" xmlns:common_v34_0="http://www.travelport.com/schema/common_v34_0">
<air:TicketFailureInfo Code="3000" Message="5000 NEED E-TICKET PRINTERS ASSIGNED" BookingTravelerRef="gr8AVWGCR064r57Jt0+8bA==">
<air:AirPricingInfoRef Key="Otjd8H7Q2BKAeJBUBAAAAA=="/>
<common_v34_0:Name Prefix="Mr" First="Jack" Last="Smith"/>
</air:TicketFailureInfo>
</air:AirTicketingRsp>
</SOAP:Body>
</SOAP:Envelope>
Could you tell me what the problem is?
Hi OTeotl,
If you are using trial credentials, Ticketing are not allowed in Trial credentials. If you are using Preproduction credentials, please contact your Travelport Account Manager to assign ticketing printer to your credentials. Thanks.
Hi, vivekjyotipramanik. I have the problem whit hotelReservation, coul you please say what is the mistake?
XML petition:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:univ="http://www.travelport.com/schema/universal_v42_0" xmlns:com="http://www.travelport.com/schema/common_v42_0" xmlns:hot="http://www.travelport.com/schema/hotel_v42_0">
<soapenv:Header>
<univ:SupportedVersions/>
</soapenv:Header>
<soapenv:Body>
<univ:HotelCreateReservationReq xmlns:ns8="http://www.travelport.com/schema/universal_v42_0" TargetBranch="P7087777" ProviderCode="1P">
<com:BillingPointOfSaleInfo xmlns="http://www.travelport.com/schema/common_v42_0" OriginApplication="uAPI"/>
<com:BookingTraveler xmlns="http://www.travelport.com/schema/common_v42_0" TravelerType="ADT" Age="40" DOB="1978-07-19" Gender="M" Nationality="IN">
<com:BookingTravelerName Prefix="MR" First="Shubham" Last="Mahajan"/>
<com:PhoneNumber Location="DEN" CountryCode="1" AreaCode="303" Number="8989667804"/>
<com:Email EmailID="shubham@sphinx-solution.com"/>
<com:Address >
<com:AddressName>829 jetapure</com:AddressName>
<com:Street>SANAWAD ROAD</com:Street>
<com:City>KHARGONE</com:City>
<com:State>MP</com:State>
<com:PostalCode>451001</com:PostalCode>
<com:Country>IN</com:Country>
</com:Address>
</com:BookingTraveler>
<hot:HotelRateDetail xmlns="http://www.travelport.com/schema/hotel_v42_0" RatePlanType="DLO0ZZZ" />
<hot:HotelProperty HotelChain="IC" HotelCode="9447"/>
<hot:HotelStay>
<hot:CheckinDate>2018-03-15</hot:CheckinDate>
<hot:CheckoutDate>2018-03-23</hot:CheckoutDate>
</hot:HotelStay>
<com:Guarantee xmlns="http://www.travelport.com/schema/common_v42_0" Type="Guarantee">
<com:CreditCard Type="VI" Number="4895390000000013" ExpDate="2019-12" Name="Shubham Mahajan" CVV="333" BankName="USB" BankCountryCode="US"/>
</com:Guarantee>
<hot:GuestInformation xmlns="http://www.travelport.com/schema/hotel_v42_0" NumberOfRooms="1">
<hot:NumberOfAdults>1</hot:NumberOfAdults>
</hot:GuestInformation>
</univ:HotelCreateReservationReq>
</soapenv:Body>
</soapenv:Envelope>
XML response:
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>Server.Business</faultcode>
<faultstring>0101046 INVALID ROOM TYPE $IC$</faultstring>
<detail>
<common_v42_0:ErrorInfo xmlns:common_v42_0="http://www.travelport.com/schema/common_v42_0">
<common_v42_0:Code>5000</common_v42_0:Code>
<common_v42_0:Service>HTLSVC</common_v42_0:Service>
<common_v42_0:Type>Business</common_v42_0:Type>
<common_v42_0:Description>General hotel service error.</common_v42_0:Description>
<common_v42_0:TransactionId>1B71D6290A076478F88E3C42B18AB12F</common_v42_0:TransactionId>
</common_v42_0:ErrorInfo>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>
Hi OTeotl,
Looks like the roomType you are using for HotelChain IC is not valid. Please try with a different HotelChain or roomType. Please feel free to check the hotel availability in demosite. Thanks.
Hi, vivekjyotipramanik. On HotelCancelService the service showme this error:
XML petition:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:univ="http://www.travelport.com/schema/universal_v42_0" xmlns:com="http://www.travelport.com/schema/common_v42_0">
<soapenv:Header/>
<soapenv:Body>
<univ:HotelCancelReq ProviderCode="1P" ProviderLocatorCode="3LOHLV" Version="0">
<com:BillingPointOfSaleInfo OriginApplication="UAPI"/>
</univ:HotelCancelReq>
</soapenv:Body>
</soapenv:Envelope>
XML response:
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>Server.Business</faultcode>
<faultstring>Host Connection Credentials not available</faultstring>
<detail>
<common_v42_0:ErrorInfo xmlns:common_v42_0="http://www.travelport.com/schema/common_v42_0">
<common_v42_0:Code>8259</common_v42_0:Code>
<common_v42_0:Service>WEBSVC</common_v42_0:Service>
<common_v42_0:Type>Business</common_v42_0:Type>
<common_v42_0:Description>Host Connection Credentials not available</common_v42_0:Description>
<common_v42_0:TransactionId>1CD756D90A07643B66172AE30ADB91B2</common_v42_0:TransactionId>
</common_v42_0:ErrorInfo>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>
I already checked and the credentials I use are the same and they are correct ...
Hi OTeotl,
I don't believe this is due to credentials. Could you please create a myTravelport ticket regarding this issue. Thanks.
Hi vivekjyotipramanik I have a problem with this flight request, on your demo site with 1P returns results, but in my request with the same data returns this
XML petition:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<air:LowFareSearchReq xmlns:air="http://www.travelport.com/schema/air_v42_0" TraceId="trace" AuthorizedBy="user" TargetBranch="P7087777" SolutionResult="true" ReturnUpsellFare="true">
<com:BillingPointOfSaleInfo xmlns:com="http://www.travelport.com/schema/common_v42_0" OriginApplication="uAPI"/>
<air:SearchAirLeg>
<air:SearchOrigin>
<com:Airport xmlns:com="http://www.travelport.com/schema/common_v42_0" Code="MEX"/>
</air:SearchOrigin>
<air:SearchDestination>
<com:Airport xmlns:com="http://www.travelport.com/schema/common_v42_0" Code="CUN"/>
</air:SearchDestination>
<air:SearchDepTime PreferredTime="2018-03-15"/>
</air:SearchAirLeg>
<air:SearchAirLeg>
<air:SearchOrigin>
<com:Airport xmlns:com="http://www.travelport.com/schema/common_v42_0" Code="CUN"/>
</air:SearchOrigin>
<air:SearchDestination>
<com:Airport xmlns:com="http://www.travelport.com/schema/common_v42_0" Code="MEX"/>
</air:SearchDestination>
<air:SearchDepTime PreferredTime="2018-03-20"/>
</air:SearchAirLeg>
<air:AirSearchModifiers>
<air:PreferredProviders>
<com:Provider xmlns:com="http://www.travelport.com/schema/common_v42_0" Code="1P"/>
</air:PreferredProviders>
<air:PermittedCarriers>
<com:Carrier xmlns:com="http://www.travelport.com/schema/common_v42_0" Code="UA"/>
</air:PermittedCarriers>
</air:AirSearchModifiers>
<com:SearchPassenger xmlns:com="http://www.travelport.com/schema/common_v42_0" Code="ADT"/>
</air:LowFareSearchReq>
</soapenv:Body>
</soapenv:Envelope>
XML response:
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>Server.Business</faultcode>
<faultstring>-1 UNABLE TO PRICE AS SPECIFIED,</faultstring>
<detail>
<common_v42_0:ErrorInfo xmlns:common_v42_0="http://www.travelport.com/schema/common_v42_0">
<common_v42_0:Code>4404</common_v42_0:Code>
<common_v42_0:Service>AIRSVC</common_v42_0:Service>
<common_v42_0:Type>Business</common_v42_0:Type>
<common_v42_0:Description>UNABLE TO PRICE AS SPECIFIED.</common_v42_0:Description>
<common_v42_0:TransactionId>20E5AC660A07647869E7482E5754420F</common_v42_0:TransactionId>
<common_v42_0:TraceId>trace</common_v42_0:TraceId>
</common_v42_0:ErrorInfo>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>
If I change "CUN" for any other the request works.
Hi OTeotl,
In preproduction, the test data is quite limited and it is quite possible that the fare is not available in preproduction. Please try with atleast 3 months out for today's date and try with different carriers and markets. Thanks.
OK, ,thanks
Hi vivekjyotipramanik. I have a problem when trying this reservation, it marks me an error, but the previous one worked, I based on the same example for both cases, could you tell me what could be the problem?
XML petition:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<univ:AirCreateReservationReq xmlns:air="http://www.travelport.com/schema/air_v34_0" xmlns:common_v34_0="http://www.travelport.com/schema/common_v34_0" xmlns:univ="http://www.travelport.com/schema/universal_v34_0" AuthorizedBy="user" RetainReservation="Both" TargetBranch="P7087777" TraceId="trace">
<com:BillingPointOfSaleInfo xmlns:com="http://www.travelport.com/schema/common_v34_0" OriginApplication="UAPI"/>
<com:BookingTraveler xmlns:com="http://www.travelport.com/schema/common_v34_0" DOB="1969-09-17" Gender="M" 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" 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_v34_0" Key="jwt2mcK1Qp27I2xfpcCtAw==" Type="Cash"/>
<!--Solucion escojida-->
<air:AirPricingSolution Key="kvCZgI4R2BKARG7FAAAAAA==" TotalPrice="MXN34070" BasePrice="USD132000.00" ApproximateTotalPrice="MXN34070" ApproximateBasePrice="MXN24578" EquivalentBasePrice="MXN24578" Taxes="MXN9492" ApproximateTaxes="MXN9492">
<!--fin de itinerario-->
<air:AirSegment Key="kvCZgI4R2BKALG7FAAAAAA==" Group="0" Carrier="UA" FlightNumber="820" ProviderCode="1P" Origin="MEX" Destination="SFO" DepartureTime="2018-03-15T05:50:00.000-06:00" ArrivalTime="2018-03-15T09:45:00.000-07:00" Equipment="738" ChangeOfPlane="false" OptionalServicesIndicator="false" ParticipantLevel="Airline Source">
<air:CodeshareInfo OperatingCarrier="UA">United Airlines Inc</air:CodeshareInfo>
</air:AirSegment>
<air:AirSegment Key="kvCZgI4R2BKAMG7FAAAAAA==" Group="0" Carrier="UA" FlightNumber="888" ProviderCode="1P" Origin="SFO" Destination="PEK" DepartureTime="2018-03-15T11:50:00.000-07:00" ArrivalTime="2018-03-16T15:30:00.000+08:00" Equipment="777" ChangeOfPlane="false" OptionalServicesIndicator="false" ParticipantLevel="Airline Source">
<air:CodeshareInfo OperatingCarrier="UA">United Airlines Inc</air:CodeshareInfo>
</air:AirSegment>
<air:AirSegment Key="kvCZgI4R2BKANG7FAAAAAA==" Group="0" Carrier="UA" FlightNumber="7569" ProviderCode="1P" Origin="PEK" Destination="CAN" DepartureTime="2018-03-16T18:00:00.000+08:00" ArrivalTime="2018-03-16T21:20:00.000+08:00" Equipment="773" ChangeOfPlane="false" OptionalServicesIndicator="false" ParticipantLevel="Airline Source">
<air:CodeshareInfo OperatingCarrier="CA">Air China Limited</air:CodeshareInfo>
</air:AirSegment>
<air:AirSegment Key="kvCZgI4R2BKAOG7FAAAAAA==" Group="1" Carrier="UA" FlightNumber="7566" ProviderCode="1P" Origin="CAN" Destination="PEK" DepartureTime="2018-03-20T10:30:00.000+08:00" ArrivalTime="2018-03-20T13:35:00.000+08:00" Equipment="789" ChangeOfPlane="false" OptionalServicesIndicator="false" ParticipantLevel="Airline Source">
<air:CodeshareInfo OperatingCarrier="CA">Air China Limited</air:CodeshareInfo>
</air:AirSegment>
<air:AirSegment Key="kvCZgI4R2BKAPG7FAAAAAA==" Group="1" Carrier="UA" FlightNumber="889" ProviderCode="1P" Origin="PEK" Destination="SFO" DepartureTime="2018-03-20T17:25:00.000+08:00" ArrivalTime="2018-03-20T14:05:00.000-07:00" Equipment="777" ChangeOfPlane="false" OptionalServicesIndicator="false" ParticipantLevel="Airline Source">
<air:CodeshareInfo OperatingCarrier="UA">United Airlines Inc</air:CodeshareInfo>
</air:AirSegment>
<air:AirSegment Key="kvCZgI4R2BKAQG7FAAAAAA==" Group="1" Carrier="UA" FlightNumber="412" ProviderCode="1P" Origin="SFO" Destination="MEX" DepartureTime="2018-03-20T23:30:00.000-07:00" ArrivalTime="2018-03-21T04:35:00.000-06:00" Equipment="738" ChangeOfPlane="false" OptionalServicesIndicator="false" ParticipantLevel="Airline Source">
<air:CodeshareInfo OperatingCarrier="UA">United Airlines Inc</air:CodeshareInfo>
</air:AirSegment>
<!--Info de precio encontrada justo debajo de AirPricingSolution-->
<air:AirPricingInfo Key="kvCZgI4R2BKAUG7FAAAAAA==" TotalPrice="MXN34070" BasePrice="USD132000.00" ApproximateTotalPrice="MXN34070" ApproximateBasePrice="MXN24578" EquivalentBasePrice="MXN24578" ApproximateTaxes="MXN9492" Taxes="MXN9492" LatestTicketingTime="2018-03-15T23:59:00.000-06:00" PricingMethod="Auto" PlatingCarrier="UA" ProviderCode="1P">
<air:FareInfo Key="kvCZgI4R2BKAVG7FAAAAAA==" FareBasis="VLE05NMA" PassengerTypeCode="ADT" Origin="MEX" Destination="CAN" EffectiveDate="2018-03-13T14:40:09.719-06:00" Amount="MXN12289" TaxAmount="MXN5093.00">
<air:FareRuleKey FareInfoRef="kvCZgI4R2BKAVG7FAAAAAA==" ProviderCode="1P">PWf2GO3F3lzTg+mXm2PIdaiXZmi6eetfJzGosaXfV1LILiiyqACfHR03kMJ5I8IGn5MZKOkYLiaKCwK+XChfKWw12/ZJcxO6</air:FareRuleKey>
</air:FareInfo>
<air:FareInfo Key="kvCZgI4R2BKAjG7FAAAAAA==" FareBasis="VLE05NMA" PassengerTypeCode="ADT" Origin="CAN" Destination="MEX" EffectiveDate="2018-03-13T14:40:09.720-06:00" Amount="MXN12289" TaxAmount="MXN4399.00">
<air:FareRuleKey FareInfoRef="kvCZgI4R2BKAjG7FAAAAAA==" ProviderCode="1P">PWf2GO3F3lzTg+mXm2PIdaiXZmi6eetfXaNqAbhRdOLILiiyqACfHR03kMJ5I8IGn5MZKOkYLiaKCwK+XChfKWw12/ZJcxO6</air:FareRuleKey>
</air:FareInfo>
<air:BookingInfo BookingCode="V" CabinClass="Economy" FareInfoRef="kvCZgI4R2BKAVG7FAAAAAA==" SegmentRef="kvCZgI4R2BKALG7FAAAAAA==" HostTokenRef="kvCZgI4R2BKASG7FAAAAAA=="/>
<air:BookingInfo BookingCode="V" CabinClass="Economy" FareInfoRef="kvCZgI4R2BKAVG7FAAAAAA==" SegmentRef="kvCZgI4R2BKAMG7FAAAAAA==" HostTokenRef="kvCZgI4R2BKASG7FAAAAAA=="/>
<air:BookingInfo BookingCode="V" CabinClass="Economy" FareInfoRef="kvCZgI4R2BKAVG7FAAAAAA==" SegmentRef="kvCZgI4R2BKANG7FAAAAAA==" HostTokenRef="kvCZgI4R2BKASG7FAAAAAA=="/>
<air:BookingInfo BookingCode="V" CabinClass="Economy" FareInfoRef="kvCZgI4R2BKAjG7FAAAAAA==" SegmentRef="kvCZgI4R2BKAOG7FAAAAAA==" HostTokenRef="kvCZgI4R2BKATG7FAAAAAA=="/>
<air:BookingInfo BookingCode="V" CabinClass="Economy" FareInfoRef="kvCZgI4R2BKAjG7FAAAAAA==" SegmentRef="kvCZgI4R2BKAPG7FAAAAAA==" HostTokenRef="kvCZgI4R2BKATG7FAAAAAA=="/>
<air:BookingInfo BookingCode="V" CabinClass="Economy" FareInfoRef="kvCZgI4R2BKAjG7FAAAAAA==" SegmentRef="kvCZgI4R2BKAQG7FAAAAAA==" HostTokenRef="kvCZgI4R2BKATG7FAAAAAA=="/>
<air:PassengerType Code="ADT"/>
<air:BaggageAllowances>
<air:BaggageAllowanceInfo TravelerType="ADT" Origin="MEX" Destination="CAN" Carrier="UA">
<air:URLInfo>
<air:URL>MYTRIPANDMORE.COM/BAGGAGEDETAILSUA.BAGG</air:URL>
</air:URLInfo>
<air:TextInfo>
<air:Text>2P</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="MXN0.00" ApproximateBasePrice="MXN0.00" TotalPrice="MXN0.00" ApproximateTotalPrice="MXN0.00">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>UPTO50LB/23KG AND UPTO62LI/158LCM</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:BagDetails>
<air:BagDetails ApplicableBags="2ndChecked">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>BAGGAGE CHARGES DATA NOT AVAILABLE</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:BagDetails>
</air:BaggageAllowanceInfo>
<air:BaggageAllowanceInfo TravelerType="ADT" Origin="CAN" Destination="MEX" Carrier="UA">
<air:URLInfo>
<air:URL>MYTRIPANDMORE.COM/BAGGAGEDETAILSUA.BAGG</air:URL>
</air:URLInfo>
<air:TextInfo>
<air:Text>2P</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="MXN0.00" ApproximateBasePrice="MXN0.00" TotalPrice="MXN0.00" ApproximateTotalPrice="MXN0.00">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>UPTO50LB/23KG AND UPTO62LI/158LCM</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:BagDetails>
<air:BagDetails ApplicableBags="2ndChecked">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>BAGGAGE CHARGES DATA NOT AVAILABLE</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:BagDetails>
</air:BaggageAllowanceInfo>
<air:CarryOnAllowanceInfo Origin="MEX" Destination="SFO" Carrier="UA">
<air:URLInfo/>
<air:TextInfo>
<air:Text>1P</air:Text>
</air:TextInfo>
<air:CarryOnDetails ApplicableCarryOnBags="1" BasePrice="MXN0.00" ApproximateBasePrice="MXN0.00" TotalPrice="MXN0.00" ApproximateTotalPrice="MXN0.00">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>CARRYON HAND BAGGAGE ALLOWANCE</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:CarryOnDetails>
</air:CarryOnAllowanceInfo>
<air:CarryOnAllowanceInfo Origin="SFO" Destination="PEK" Carrier="UA">
<air:URLInfo/>
<air:TextInfo>
<air:Text>1P</air:Text>
</air:TextInfo>
<air:CarryOnDetails ApplicableCarryOnBags="1" BasePrice="MXN0.00" ApproximateBasePrice="MXN0.00" TotalPrice="MXN0.00" ApproximateTotalPrice="MXN0.00">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>CARRYON HAND BAGGAGE ALLOWANCE</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:CarryOnDetails>
</air:CarryOnAllowanceInfo>
<air:CarryOnAllowanceInfo Origin="PEK" Destination="CAN" Carrier="CA">
<air:URLInfo/>
<air:TextInfo>
<air:Text>CARRY ON ALLOWANCE DATA NOT AVAILABLE</air:Text>
</air:TextInfo>
</air:CarryOnAllowanceInfo>
<air:CarryOnAllowanceInfo Origin="CAN" Destination="PEK" Carrier="CA">
<air:URLInfo/>
<air:TextInfo>
<air:Text>CARRY ON ALLOWANCE DATA NOT AVAILABLE</air:Text>
</air:TextInfo>
</air:CarryOnAllowanceInfo>
<air:CarryOnAllowanceInfo Origin="PEK" Destination="SFO" Carrier="UA">
<air:URLInfo/>
<air:TextInfo>
<air:Text>1P</air:Text>
</air:TextInfo>
<air:CarryOnDetails ApplicableCarryOnBags="1" BasePrice="MXN0.00" ApproximateBasePrice="MXN0.00" TotalPrice="MXN0.00" ApproximateTotalPrice="MXN0.00">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>CARRYON HAND BAGGAGE ALLOWANCE</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:CarryOnDetails>
</air:CarryOnAllowanceInfo>
<air:CarryOnAllowanceInfo Origin="SFO" Destination="MEX" Carrier="UA">
<air:URLInfo/>
<air:TextInfo>
<air:Text>1P</air:Text>
</air:TextInfo>
<air:CarryOnDetails ApplicableCarryOnBags="1" BasePrice="MXN0.00" ApproximateBasePrice="MXN0.00" TotalPrice="MXN0.00" ApproximateTotalPrice="MXN0.00">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>CARRYON HAND BAGGAGE ALLOWANCE</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:CarryOnDetails>
</air:CarryOnAllowanceInfo>
</air:BaggageAllowances>
</air:AirPricingInfo>
</air:AirPricingSolution>
<com:ActionStatus xmlns:com="http://www.travelport.com/schema/common_v34_0" ProviderCode="1P" TicketDate="2018-03-14T12:02:57" Type="TAW"/>
</univ:AirCreateReservationReq>
</soapenv:Body>
</soapenv:Envelope>
XML response:
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>Server.Business</faultcode>
<faultstring>General air service Error.</faultstring>
<detail>
<air:AvailabilityErrorInfo xmlns:air="http://www.travelport.com/schema/air_v34_0" xmlns:common_v34_0="http://www.travelport.com/schema/common_v34_0">
<common_v34_0:Code>3000</common_v34_0:Code>
<common_v34_0:Service>AIRSVC</common_v34_0:Service>
<common_v34_0:Type>Business</common_v34_0:Type>
<common_v34_0:Description>General air service Error.</common_v34_0:Description>
<common_v34_0:TransactionId>21C9124D0A076477844098D99B53162F</common_v34_0:TransactionId>
<common_v34_0:TraceId>trace</common_v34_0:TraceId>
<air:AirSegmentError>
<air:AirSegment Key="kvCZgI4R2BKANG7FAAAAAA==" Group="0" Carrier="UA" FlightNumber="7569" ProviderCode="1P" Origin="PEK" Destination="CAN" DepartureTime="2018-03-16T18:00:00.000+08:00" ArrivalTime="2018-03-16T21:20:00.000+08:00" ClassOfService="V" Equipment="773" Status="NN" GuaranteedPaymentCarrier="No" TravelOrder="3" OptionalServicesIndicator="false" ParticipantLevel="Airline Source">
<air:CodeshareInfo OperatingCarrier="CA">Air China Limited</air:CodeshareInfo>
</air:AirSegment>
<air:ErrorMessage>*** 0 AVBL/WL CLOSED $$UA$$</air:ErrorMessage>
</air:AirSegmentError>
</air:AvailabilityErrorInfo>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>
Hi vivekjyotipramanik. I have the mistake whit the airReservaction. showed me this message
XML petition:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<univ:AirCreateReservationReq xmlns:air="http://www.travelport.com/schema/air_v42_0" xmlns:common_v42_0="http://www.travelport.com/schema/common_v42_0" xmlns:univ="http://www.travelport.com/schema/universal_v42_0" AuthorizedBy="user" RetainReservation="Both" TargetBranch="P7087777" TraceId="trace">
<com:BillingPointOfSaleInfo xmlns:com="http://www.travelport.com/schema/common_v42_0" OriginApplication="UAPI"/>
<com:BookingTraveler xmlns:com="http://www.travelport.com/schema/common_v42_0" 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" 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 Type="Credit" xmlns:com="http://www.travelport.com/schema/common_v42_0">
<com:CreditCard Type="VI" Number="4111111111111111" ExpDate="2019-02"/>
</com:FormOfPayment>
<!--Solucion escojida-->
<air:AirPricingSolution Key="1NwhlI7Q2BKAC4BSEAAAAA==" TotalPrice="MXN158522" BasePrice="USD787200.00" ApproximateTotalPrice="MXN158522" ApproximateBasePrice="MXN146574" EquivalentBasePrice="MXN146574" Taxes="MXN11948" ApproximateTaxes="MXN11948">
<air:AirSegment Key="1NwhlI7Q2BKAO3BSEAAAAA==" Group="0" Carrier="DL" FlightNumber="8157" ProviderCode="1P" Origin="MEX" Destination="LAX" DepartureTime="2018-03-23T07:05:00.000-06:00" ArrivalTime="2018-03-23T10:25:00.000-07:00" Equipment="7S8" ChangeOfPlane="false" OptionalServicesIndicator="false" ParticipantLevel="Airline Source">
<air:CodeshareInfo OperatingCarrier="AM">AEROMEXICO</air:CodeshareInfo>
</air:AirSegment>
<air:AirSegment Key="1NwhlI7Q2BKAP3BSEAAAAA==" Group="0" Carrier="DL" FlightNumber="6785" ProviderCode="1P" Origin="LAX" Destination="CAN" DepartureTime="2018-03-23T12:25:00.000-07:00" ArrivalTime="2018-03-24T18:45:00.000+08:00" Equipment="77W" ChangeOfPlane="false" OptionalServicesIndicator="false" ParticipantLevel="Airline Source">
<air:CodeshareInfo OperatingCarrier="CZ">CHINA SOUTHERN AIRLINES</air:CodeshareInfo>
</air:AirSegment>
<air:AirSegment Key="1NwhlI7Q2BKAQ3BSEAAAAA==" Group="1" Carrier="DL" FlightNumber="6784" ProviderCode="1P" Origin="CAN" Destination="LAX" DepartureTime="2018-03-30T12:25:00.000+08:00" ArrivalTime="2018-03-30T11:00:00.000-07:00" Equipment="77W" ChangeOfPlane="false" OptionalServicesIndicator="false" ParticipantLevel="Airline Source">
<air:CodeshareInfo OperatingCarrier="CZ">CHINA SOUTHERN AIRLINES</air:CodeshareInfo>
</air:AirSegment>
<air:AirSegment Key="1NwhlI7Q2BKAR3BSEAAAAA==" Group="1" Carrier="DL" FlightNumber="8042" ProviderCode="1P" Origin="LAX" Destination="MEX" DepartureTime="2018-03-30T18:25:00.000-07:00" ArrivalTime="2018-03-30T23:20:00.000-06:00" Equipment="7S8" ChangeOfPlane="false" OptionalServicesIndicator="false" ParticipantLevel="Airline Source">
<air:CodeshareInfo OperatingCarrier="AM">AEROMEXICO</air:CodeshareInfo>
</air:AirSegment>
<air:AirPricingInfo Key="1NwhlI7Q2BKAG4BSEAAAAA==" TotalPrice="MXN158522" BasePrice="USD787200.00" ApproximateTotalPrice="MXN158522" ApproximateBasePrice="MXN146574" EquivalentBasePrice="MXN146574" ApproximateTaxes="MXN11948" Taxes="MXN11948" LatestTicketingTime="2018-03-21T23:59:00.000-06:00" PricingMethod="Auto" Refundable="true" PlatingCarrier="DL" ProviderCode="1P">
<air:FareInfo Key="1NwhlI7Q2BKAH4BSEAAAAA==" FareBasis="J9" PassengerTypeCode="ADT" Origin="MEX" Destination="LAX" EffectiveDate="2018-03-20T10:28:29.872-06:00" Amount="MXN45618" TaxAmount="MXN3059.00">
<air:FareRuleKey FareInfoRef="1NwhlI7Q2BKAH4BSEAAAAA==" ProviderCode="1P">bHBj65+hX0eR9afh5LD09vls4/V4sXqMn6nh5SUCVEvGyo9xfE/RMiNM/oun+Z1eBXXfBKjASlVw28hczpAjYw==</air:FareRuleKey>
</air:FareInfo>
<air:FareInfo Key="1NwhlI7Q2BKAU4BSEAAAAA==" FareBasis="Y1US9" PassengerTypeCode="ADT" Origin="LAX" Destination="CAN" EffectiveDate="2018-03-20T10:28:29.872-06:00" Amount="MXN71425" TaxAmount="MXN5059.00">
<air:FareRuleKey FareInfoRef="1NwhlI7Q2BKAU4BSEAAAAA==" ProviderCode="1P">p/8bvE7rXG4vE+e0lEUjsH/vtSrIdCMBevRQ8Chk+HoZTL7NiB5rm7kcjhmxyx6M8BYifgjckCvS10dQt1EYQsD9OyP2KT+f</air:FareRuleKey>
</air:FareInfo>
<air:BookingInfo BookingCode="J" CabinClass="Business" FareInfoRef="1NwhlI7Q2BKAH4BSEAAAAA==" SegmentRef="1NwhlI7Q2BKAO3BSEAAAAA==" HostTokenRef="1NwhlI7Q2BKAD4BSEAAAAA=="/>
<air:BookingInfo BookingCode="Y" CabinClass="Economy" FareInfoRef="1NwhlI7Q2BKAU4BSEAAAAA==" SegmentRef="1NwhlI7Q2BKAP3BSEAAAAA==" HostTokenRef="1NwhlI7Q2BKAE4BSEAAAAA=="/>
<air:BookingInfo BookingCode="M" CabinClass="Economy" FareInfoRef="1NwhlI7Q2BKAh4BSEAAAAA==" SegmentRef="1NwhlI7Q2BKAQ3BSEAAAAA==" HostTokenRef="1NwhlI7Q2BKAF4BSEAAAAA=="/>
<air:BookingInfo BookingCode="M" CabinClass="Economy" FareInfoRef="1NwhlI7Q2BKAh4BSEAAAAA==" SegmentRef="1NwhlI7Q2BKAR3BSEAAAAA==" HostTokenRef="1NwhlI7Q2BKAF4BSEAAAAA=="/>
<air:PassengerType Code="ADT"/>
</air:AirPricingInfo>
<common_v42_0:HostToken Key="1NwhlI7Q2BKAD4BSEAAAAA==">0073GFB1000F00020101ADT00 01J9 0100010047GFB2000F000200010101NADTV300570040050001799</common_v42_0:HostToken>
<common_v42_0:HostToken Key="1NwhlI7Q2BKAE4BSEAAAAA==">0073GFB1000F00020101ADT00 02Y1US9 0100020047GFB2000F000200010102NADTV300350990010001299</common_v42_0:HostToken>
<common_v42_0:HostToken Key="1NwhlI7Q2BKAF4BSEAAAAA==">0077GFB1000F00020101ADT00 03MNETZKMD 02000300040047GFB2000F000200010103NADTV30184MTR0020000199</common_v42_0:HostToken>
</air:AirPricingSolution>
<com:ActionStatus xmlns:com="http://www.travelport.com/schema/common_v42_0" ProviderCode="1P" TicketDate="2018-03-21T12:02:57" Type="TAW"/>
</univ:AirCreateReservationReq>
</soapenv:Body>
</soapenv:Envelope>
XML response:
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>Server.System</faultcode>
<faultstring>Key reference not found for Fare with key reference 1NwhlI7Q2BKAh4BSEAAAAA== inside Booking</faultstring>
<detail>
<common_v42_0:ErrorInfo xmlns:common_v42_0="http://www.travelport.com/schema/common_v42_0">
<common_v42_0:Code>3003</common_v42_0:Code>
<common_v42_0:Service>PROVISIONINGSERVICE</common_v42_0:Service>
<common_v42_0:Type>System</common_v42_0:Type>
<common_v42_0:Description>Key reference not found for Fare with key reference 1NwhlI7Q2BKAh4BSEAAAAA== inside Booking</common_v42_0:Description>
<common_v42_0:TransactionId>4452B17F0A076478CBA40702C46425DF</common_v42_0:TransactionId>
<common_v42_0:TraceId>trace</common_v42_0:TraceId>
</common_v42_0:ErrorInfo>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>
I used the AirPrice data as I did before, but even so, I still show the same error
Hi OTeotl,
I believe the reason of the error is you are not provisioned to book with carrier DL, Could you please try with a different carrier. Thanks.
Hi, I am having the same issue. Could you please help me to check my request?
Request
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<univ:AirCreateReservationReq
xmlns:air="http://www.travelport.com/schema/air_v42_0"
xmlns:common_v42_0="http://www.travelport.com/schema/common_v42_0"
xmlns:univ="http://www.travelport.com/schema/universal_v42_0"
AuthorizedBy="user"
RetainReservation="Both"
TraceId="trace"
TargetBranch="{{branchCode}}">
<com:BillingPointOfSaleInfo xmlns:com="http://www.travelport.com/schema/common_v42_0" OriginApplication="UAPI"/>
<!-- Booking Traveler -->
<com:BookingTraveler
xmlns:com="http://www.travelport.com/schema/common_v42_0"
DOB="1969-09-17"
Gender="M"
Key="booking123456"
TravelerType="ADT">
<com:BookingTravelerName First="Jack" Last="Smith" Prefix="Mr" Key="gr8AVWGCR064r57Jt0+8bA=="/>
<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>
<!-- Booking Traveler -->
<com:FormOfPayment xmlns:com="http://www.travelport.com/schema/common_v42_0" Key="jwt2mcK1Qp27I2xfpcCtAw==" Type="Credit"/>
<air:AirPricingSolution
Key="QkMUNT7Q2BKA3AgHAAAAAA=="
TotalPrice="USD143.40"
BasePrice="USD106.98"
ApproximateTotalPrice="USD143.40"
ApproximateBasePrice="USD106.98"
Taxes="USD36.42"
ApproximateTaxes="USD36.42"
QuoteDate="2018-07-24">
<air:AirSegment Key="QkMUNT7Q2BKAzAgHAAAAAA==" Group="0" Carrier="AA" FlightNumber="6034" ProviderCode="1V" Origin="LAX" Destination="SFO" DepartureTime="2019-02-05T06:30:00.000-08:00" ArrivalTime="2019-02-05T07:39:00.000-08:00" FlightTime="69" TravelTime="69" Distance="339" ClassOfService="B" Equipment="E75" ChangeOfPlane="false" OptionalServicesIndicator="false" ParticipantLevel="Secure Sell" LinkAvailability="true" AvailabilityDisplayType="Fare Specific Fare Quote Unbooked">
<air:FlightDetails Key="QkMUNT7Q2BKA0AgHAAAAAA==" Origin="LAX" Destination="SFO" DepartureTime="2019-02-05T06:30:00.000-08:00" ArrivalTime="2019-02-05T07:39:00.000-08:00" FlightTime="69" TravelTime="69" Distance="339"/>
</air:AirSegment>
<air:AirSegment Key="QkMUNT7Q2BKA1AgHAAAAAA==" Group="1" Carrier="AA" FlightNumber="6019" ProviderCode="1V" Origin="SFO" Destination="LAX" DepartureTime="2019-02-06T05:40:00.000-08:00" ArrivalTime="2019-02-06T06:58:00.000-08:00" FlightTime="78" TravelTime="78" Distance="339" ClassOfService="B" Equipment="E75" ChangeOfPlane="false" OptionalServicesIndicator="false" ParticipantLevel="Secure Sell" LinkAvailability="true" AvailabilityDisplayType="Fare Specific Fare Quote Unbooked">
<air:FlightDetails Key="QkMUNT7Q2BKA2AgHAAAAAA==" Origin="SFO" Destination="LAX" DepartureTime="2019-02-06T05:40:00.000-08:00" ArrivalTime="2019-02-06T06:58:00.000-08:00" FlightTime="78" TravelTime="78" Distance="339"/>
</air:AirSegment>
<air:AirPricingInfo
Key="QkMUNT7Q2BKA6AgHAAAAAA=="
TotalPrice="USD143.40"
BasePrice="USD106.98"
ApproximateTotalPrice="USD143.40"
ApproximateBasePrice="USD106.98"
ApproximateTaxes="USD36.42"
Taxes="USD36.42"
LatestTicketingTime="2018-07-25T23:59:00.000-06:00"
PricingMethod="Auto"
IncludesVAT="false"
PlatingCarrier="AA"
ProviderCode="1V">
<air:FareInfo
Key="QkMUNT7Q2BKA/AgHAAAAAA=="
FareBasis="QVAIZNB3"
PassengerTypeCode="ADT"
Origin="LAX"
Destination="SFO"
EffectiveDate="2018-07-24T17:24:00.000-06:00"
DepartureDate="2019-02-05"
Amount="USD53.49"
NotValidBefore="2019-02-05"
NotValidAfter="2019-02-05"
TaxAmount="USD18.20">
<air:FareRuleKey
FareInfoRef="QkMUNT7Q2BKA/AgHAAAAAA=="
ProviderCode="1V">6UUVoSldxwgf/7tpLLwsA8bKj3F8T9EyxsqPcXxP0TIjSPOlaHfQe5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovAzc8zApWK8ZuO422wYI1U7cH0ES5nMFFx/KZz3lAdy98wiU/UnhVdm513MqkmC5DTMUQygbLpY+mIRnjdh/Su1coEjBaE09Z24X+hNfHEXoxYuAWfcH2w92IEQfz1U0L76CSexFV3+RyddzKpJguQ0yH407bvAUJNrFPDtAvktx0mrMWOW7buBUcSpnAwBiLzouFsAExMoVlw/l/UhV2d49lmzapJzTWH73fl8Dk6LLnLrvFGHvZnPza3imPl9lTJYV+2SBgFb/LiYqD1taBKM8BPQ2hT/7cd2F83ZgRAY80ccvr40e6Z37hTdRV2s3CuDzD4Wdjal2fly5qxZ3qLwOXLmrFneovA5cuasWd6i8DUAh2WcSFc+w=</air:FareRuleKey>
</air:FareInfo>
<air:FareInfo
Key="QkMUNT7Q2BKATBgHAAAAAA=="
FareBasis="QVAIZNB3"
PassengerTypeCode="ADT"
Origin="SFO"
Destination="LAX"
EffectiveDate="2018-07-24T17:24:00.000-06:00"
DepartureDate="2019-02-06"
Amount="USD53.49"
NotValidBefore="2019-02-06"
NotValidAfter="2019-02-06"
TaxAmount="USD18.22">
<air:FareRuleKey
FareInfoRef="QkMUNT7Q2BKATBgHAAAAAA=="
ProviderCode="1V">
6UUVoSldxwgf/7tpLLwsA8bKj3F8T9EyxsqPcXxP0TIjSPOlaHfQe5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovAzc8zApWK8ZuO422wYI1U7fZEGxxGSnLLmxanW9/ewLNjg0M6xXdtgJ13MqkmC5DTMUQygbLpY+mIRnjdh/Su1fqjffoIdOrr4X+hNfHEXoxYuAWfcH2w92IEQfz1U0L76CSexFV3+RyddzKpJguQ0yH407bvAUJNrFPDtAvktx0fkeYWz2Vh/wcSpnAwBiLzouFsAExMoVlw/l/UhV2d49lmzapJzTWH73fl8Dk6LLnLrvFGHvZnPza3imPl9lTJYV+2SBgFb/LiYqD1taBKM8BPQ2hT/7cd2F83ZgRAY80ccvr40e6Z37hTdRV2s3CuDzD4Wdjal2fly5qxZ3qLwOXLmrFneovA5cuasWd6i8DUAh2WcSFc+w=
</air:FareRuleKey>
</air:FareInfo>
<air:BookingInfo
BookingCode="B"
CabinClass="Economy"
FareInfoRef="QkMUNT7Q2BKA/AgHAAAAAA=="
SegmentRef="QkMUNT7Q2BKAzAgHAAAAAA=="
HostTokenRef="QkMUNT7Q2BKA4AgHAAAAAA=="/>
<air:BookingInfo
BookingCode="B"
CabinClass="Economy"
FareInfoRef="QkMUNT7Q2BKATBgHAAAAAA=="
SegmentRef="QkMUNT7Q2BKA1AgHAAAAAA=="
HostTokenRef="QkMUNT7Q2BKA5AgHAAAAAA=="/>
<air:TaxInfo Category="AY" Amount="USD11.20" Key="QkMUNT7Q2BKA7AgHAAAAAA=="/>
<air:TaxInfo Category="US" Amount="USD8.02" Key="QkMUNT7Q2BKA8AgHAAAAAA=="/>
<air:TaxInfo Category="XF" Amount="USD9.00" Key="QkMUNT7Q2BKA9AgHAAAAAA=="/>
<air:TaxInfo Category="ZP" Amount="USD8.20" Key="QkMUNT7Q2BKA+AgHAAAAAA=="/>
<air:FareCalc>LAX AA SFO Q6.98 46.51QVAIZNB3 AA LAX Q6.98 46.51QVAIZNB3 USD106.98END</air:FareCalc>
<air:PassengerType Code="ADT"/>
<air:ChangePenalty>
<air:Percentage>100.00</air:Percentage>
</air:ChangePenalty>
<air:CancelPenalty>
<air:Percentage>100.00</air:Percentage>
</air:CancelPenalty>
<air:BaggageAllowances>
<air:BaggageAllowanceInfo Origin="LAX" Destination="SFO" Carrier="AA">
<air:TextInfo>
<air:Text>0PC</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:BaggageAllowanceInfo>
<air:BaggageAllowanceInfo Origin="SFO" Destination="LAX" Carrier="AA">
<air:TextInfo>
<air:Text>0PC</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:BaggageAllowanceInfo>
</air:BaggageAllowances>
</air:AirPricingInfo>
</air:AirPricingSolution>
<com:ActionStatus xmlns:com="http://www.travelport.com/schema/common_v42_0" ProviderCode="1V" TicketDate="2018-07-24T20:02:57" Type="TAW"/
</univ:AirCreateReservationReq>
</soapenv:Body>
</soapenv:Envelope>
Response
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<SOAP-ENV:faultcode>400</SOAP-ENV:faultcode>
<SOAP-ENV:faultstring>TPGateway - Request data not found - Request ignored - service name = AirService username = Universal API/uAPI-121700190</SOAP-ENV:faultstring>
<SOAP-ENV:faultactor> </SOAP-ENV:faultactor>
<SOAP-ENV:detail>TPGateway - Request data not found - Request ignored - service name = AirService username = Universal API/uAPI-121700190</SOAP-ENV:detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Any Help will be really appreciated...
Hi, Could you please share the username? Rgds, Niranda
Hi @NirandaG,
UAPI_USERNAME= Universal API/uAPI-121700190 UAPI_PASSWORD=CK4jbckfbRfA7GsxwrJm8AGqj UAPI_BRANCH_CODE=P106458 UAPI_PROVIDER=1V
Thanks for your help
Hi, Could you please try if this works on uAPI demo site? Rgds, Niranda
Hi @NirandaG,
What do you mean with "if this works on uAPI demo site" ? Are you talking about the AirCreateReservationReq?
How can I test a booking in the demo site (I suppose when clicking on purchase in the cart)?
Cart View
When I click on the purchase button, I get this message in the console "No is possible to create a reservation with the current targetbranch in production."
Does this mean that AirCreateReservationReq can only be requested with production credentials?
Hi osroflo,
Are you using Production credentials. AirCreateReservation in demosite will only work with PreProduction/Trial credentials. Using Production credentials, you can not book in demosite. I believe you are using production TargetBranch and that is the reason demosite is blocking you. Thanks.
Hi @vivekjyotipramanik I am NOT using production credentials! I am using Trial Credentials.
I was able to execute the AirCreateReservationReq using PRE-PRODCUTION but I was not able by using custom credentials:
Looks like the response has the Universal Record.
I had a missing closing tag.
This is the working request:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<univ:AirCreateReservationReq
xmlns:air="http://www.travelport.com/schema/air_v42_0"
xmlns:common_v42_0="http://www.travelport.com/schema/common_v42_0"
xmlns:univ="http://www.travelport.com/schema/universal_v42_0"
AuthorizedBy="user"
RetainReservation="Both"
TraceId="trace"
TargetBranch="{{branchCode}}">
<com:BillingPointOfSaleInfo xmlns:com="http://www.travelport.com/schema/common_v42_0" OriginApplication="UAPI"/>
<!-- Booking Traveler -->
<com:BookingTraveler
xmlns:com="http://www.travelport.com/schema/common_v42_0"
DOB="1969-09-17"
Gender="M"
Key="booking123456"
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="QkMUNT7Q2BKAzAgHAAAAAA==" 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>
<!-- Booking Traveler -->
<com:FormOfPayment xmlns:com="http://www.travelport.com/schema/common_v42_0" Key="jwt2mcK1Qp27I2xfpcCtAw==" Type="Check"/>
<air:AirPricingSolution
Key="QkMUNT7Q2BKA3AgHAAAAAA=="
TotalPrice="USD143.40"
BasePrice="USD106.98"
ApproximateTotalPrice="USD143.40"
ApproximateBasePrice="USD106.98"
Taxes="USD36.42"
ApproximateTaxes="USD36.42"
QuoteDate="2018-07-24">
<air:AirSegment Key="QkMUNT7Q2BKAzAgHAAAAAA==" Group="0" Carrier="AA" FlightNumber="6034" ProviderCode="1V" Origin="LAX" Destination="SFO" DepartureTime="2019-02-05T06:30:00.000-08:00" ArrivalTime="2019-02-05T07:39:00.000-08:00" FlightTime="69" TravelTime="69" Distance="339" ClassOfService="B" Equipment="E75" ChangeOfPlane="false" OptionalServicesIndicator="false" ParticipantLevel="Secure Sell" LinkAvailability="true" AvailabilityDisplayType="Fare Specific Fare Quote Unbooked">
<air:FlightDetails Key="QkMUNT7Q2BKA0AgHAAAAAA==" Origin="LAX" Destination="SFO" DepartureTime="2019-02-05T06:30:00.000-08:00" ArrivalTime="2019-02-05T07:39:00.000-08:00" FlightTime="69" TravelTime="69" Distance="339"/>
</air:AirSegment>
<air:AirSegment Key="QkMUNT7Q2BKA1AgHAAAAAA==" Group="1" Carrier="AA" FlightNumber="6019" ProviderCode="1V" Origin="SFO" Destination="LAX" DepartureTime="2019-02-06T05:40:00.000-08:00" ArrivalTime="2019-02-06T06:58:00.000-08:00" FlightTime="78" TravelTime="78" Distance="339" ClassOfService="B" Equipment="E75" ChangeOfPlane="false" OptionalServicesIndicator="false" ParticipantLevel="Secure Sell" LinkAvailability="true" AvailabilityDisplayType="Fare Specific Fare Quote Unbooked">
<air:FlightDetails Key="QkMUNT7Q2BKA2AgHAAAAAA==" Origin="SFO" Destination="LAX" DepartureTime="2019-02-06T05:40:00.000-08:00" ArrivalTime="2019-02-06T06:58:00.000-08:00" FlightTime="78" TravelTime="78" Distance="339"/>
</air:AirSegment>
<air:AirPricingInfo
Key="QkMUNT7Q2BKA6AgHAAAAAA=="
TotalPrice="USD143.40"
BasePrice="USD106.98"
ApproximateTotalPrice="USD143.40"
ApproximateBasePrice="USD106.98"
ApproximateTaxes="USD36.42"
Taxes="USD36.42"
LatestTicketingTime="2018-07-25T23:59:00.000-06:00"
PricingMethod="Auto"
IncludesVAT="false"
PlatingCarrier="AA"
ProviderCode="1V">
<air:FareInfo
Key="QkMUNT7Q2BKA/AgHAAAAAA=="
FareBasis="QVAIZNB3"
PassengerTypeCode="ADT"
Origin="LAX"
Destination="SFO"
EffectiveDate="2018-07-24T17:24:00.000-06:00"
DepartureDate="2019-02-05"
Amount="USD53.49"
NotValidBefore="2019-02-05"
NotValidAfter="2019-02-05"
TaxAmount="USD18.20">
<air:FareRuleKey
FareInfoRef="QkMUNT7Q2BKA/AgHAAAAAA=="
ProviderCode="1V">6UUVoSldxwgf/7tpLLwsA8bKj3F8T9EyxsqPcXxP0TIjSPOlaHfQe5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovAzc8zApWK8ZuO422wYI1U7cH0ES5nMFFx/KZz3lAdy98wiU/UnhVdm513MqkmC5DTMUQygbLpY+mIRnjdh/Su1coEjBaE09Z24X+hNfHEXoxYuAWfcH2w92IEQfz1U0L76CSexFV3+RyddzKpJguQ0yH407bvAUJNrFPDtAvktx0mrMWOW7buBUcSpnAwBiLzouFsAExMoVlw/l/UhV2d49lmzapJzTWH73fl8Dk6LLnLrvFGHvZnPza3imPl9lTJYV+2SBgFb/LiYqD1taBKM8BPQ2hT/7cd2F83ZgRAY80ccvr40e6Z37hTdRV2s3CuDzD4Wdjal2fly5qxZ3qLwOXLmrFneovA5cuasWd6i8DUAh2WcSFc+w=</air:FareRuleKey>
</air:FareInfo>
<air:FareInfo
Key="QkMUNT7Q2BKATBgHAAAAAA=="
FareBasis="QVAIZNB3"
PassengerTypeCode="ADT"
Origin="SFO"
Destination="LAX"
EffectiveDate="2018-07-24T17:24:00.000-06:00"
DepartureDate="2019-02-06"
Amount="USD53.49"
NotValidBefore="2019-02-06"
NotValidAfter="2019-02-06"
TaxAmount="USD18.22">
<air:FareRuleKey
FareInfoRef="QkMUNT7Q2BKATBgHAAAAAA=="
ProviderCode="1V">
6UUVoSldxwgf/7tpLLwsA8bKj3F8T9EyxsqPcXxP0TIjSPOlaHfQe5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovAzc8zApWK8ZuO422wYI1U7fZEGxxGSnLLmxanW9/ewLNjg0M6xXdtgJ13MqkmC5DTMUQygbLpY+mIRnjdh/Su1fqjffoIdOrr4X+hNfHEXoxYuAWfcH2w92IEQfz1U0L76CSexFV3+RyddzKpJguQ0yH407bvAUJNrFPDtAvktx0fkeYWz2Vh/wcSpnAwBiLzouFsAExMoVlw/l/UhV2d49lmzapJzTWH73fl8Dk6LLnLrvFGHvZnPza3imPl9lTJYV+2SBgFb/LiYqD1taBKM8BPQ2hT/7cd2F83ZgRAY80ccvr40e6Z37hTdRV2s3CuDzD4Wdjal2fly5qxZ3qLwOXLmrFneovA5cuasWd6i8DUAh2WcSFc+w=
</air:FareRuleKey>
</air:FareInfo>
<air:BookingInfo
BookingCode="B"
CabinClass="Economy"
FareInfoRef="QkMUNT7Q2BKA/AgHAAAAAA=="
SegmentRef="QkMUNT7Q2BKAzAgHAAAAAA=="
HostTokenRef="QkMUNT7Q2BKA4AgHAAAAAA=="/>
<air:BookingInfo
BookingCode="B"
CabinClass="Economy"
FareInfoRef="QkMUNT7Q2BKATBgHAAAAAA=="
SegmentRef="QkMUNT7Q2BKA1AgHAAAAAA=="
HostTokenRef="QkMUNT7Q2BKA5AgHAAAAAA=="/>
<air:TaxInfo Category="AY" Amount="USD11.20" Key="QkMUNT7Q2BKA7AgHAAAAAA=="/>
<air:TaxInfo Category="US" Amount="USD8.02" Key="QkMUNT7Q2BKA8AgHAAAAAA=="/>
<air:TaxInfo Category="XF" Amount="USD9.00" Key="QkMUNT7Q2BKA9AgHAAAAAA=="/>
<air:TaxInfo Category="ZP" Amount="USD8.20" Key="QkMUNT7Q2BKA+AgHAAAAAA=="/>
<air:FareCalc>LAX AA SFO Q6.98 46.51QVAIZNB3 AA LAX Q6.98 46.51QVAIZNB3 USD106.98END</air:FareCalc>
<air:PassengerType Code="ADT"/>
<air:ChangePenalty>
<air:Percentage>100.00</air:Percentage>
</air:ChangePenalty>
<air:CancelPenalty>
<air:Percentage>100.00</air:Percentage>
</air:CancelPenalty>
<air:BaggageAllowances>
<air:BaggageAllowanceInfo Origin="LAX" Destination="SFO" Carrier="AA">
<air:TextInfo>
<air:Text>0PC</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:BaggageAllowanceInfo>
<air:BaggageAllowanceInfo Origin="SFO" Destination="LAX" Carrier="AA">
<air:TextInfo>
<air:Text>0PC</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:BaggageAllowanceInfo>
</air:BaggageAllowances>
</air:AirPricingInfo>
</air:AirPricingSolution>
<com:ActionStatus xmlns:com="http://www.travelport.com/schema/common_v42_0" ProviderCode="1V" TicketDate="2018-07-25T20:02:57" Type="TAW" />
</univ:AirCreateReservationReq>
</soapenv:Body>
</soapenv:Envelope>
This is the response:
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<universal:AirCreateReservationRsp TraceId="trace" TransactionId="D27ECC7B0A076478CE55F58271600A40" ResponseTime="2262" xmlns:universal="http://www.travelport.com/schema/universal_v42_0" xmlns:common_v42_0="http://www.travelport.com/schema/common_v42_0" xmlns:air="http://www.travelport.com/schema/air_v42_0">
<common_v42_0:ResponseMessage Code="0" Type="Warning" ProviderCode="1V">NO STORED FARES EXIST</common_v42_0:ResponseMessage>
<common_v42_0:ResponseMessage Code="0" Type="Warning" ProviderCode="1V">Some of the requested AirPricingInfos could not be saved for the requested provider.</common_v42_0:ResponseMessage>
<common_v42_0:ResponseMessage Code="0" Type="Error" ProviderCode="1V">The following attribute is missing in the AirCreateReservationReq: AirPricingSolution/HostToken.</common_v42_0:ResponseMessage>
<universal:UniversalRecord LocatorCode="03BD9B" Version="0" Status="Active">
<common_v42_0:BookingTraveler Key="WicZNT4R2BKAiYeNBAAAAA==" TravelerType="ADT" DOB="1969-09-17" Gender="M" ElStat="A">
<common_v42_0:BookingTravelerName Prefix="Mr" First="Jack" Last="Smith"/>
<common_v42_0:DeliveryInfo>
<common_v42_0:ShippingAddress Key="WicZNT4R2BKAmYeNBAAAAA==" ElStat="A">
<common_v42_0:AddressName>Smiths</common_v42_0:AddressName>
<common_v42_0:Street>2914 N. Dakota Avenue</common_v42_0:Street>
<common_v42_0:City>Denver</common_v42_0:City>
<common_v42_0:State>CO</common_v42_0:State>
<common_v42_0:PostalCode>80206</common_v42_0:PostalCode>
<common_v42_0:Country>US</common_v42_0:Country>
<common_v42_0:ProviderReservationInfoRef Key="WicZNT4R2BKAyYeNBAAAAA=="/>
</common_v42_0:ShippingAddress>
</common_v42_0:DeliveryInfo>
<common_v42_0:PhoneNumber Key="WicZNT4R2BKAjYeNBAAAAA==" Type="None" Location="DEN" CountryCode="1" Number="3333333" AreaCode="303" ElStat="A">
<common_v42_0:ProviderReservationInfoRef Key="WicZNT4R2BKAyYeNBAAAAA=="/>
</common_v42_0:PhoneNumber>
<common_v42_0:Email Key="WicZNT4R2BKAlYeNBAAAAA==" Type="Home" EmailID="test@travelport.com" ElStat="A">
<common_v42_0:ProviderReservationInfoRef Key="WicZNT4R2BKAyYeNBAAAAA=="/>
</common_v42_0:Email>
<common_v42_0:SSR Key="WicZNT4R2BKAkYeNBAAAAA==" Status="HK" Type="DOCS" FreeText="P/US/00004567/US/0000000/M/24SEP15/SMITH/JACK-1SMITH/JACKMR" Carrier="QF" ProviderReservationInfoRef="WicZNT4R2BKAyYeNBAAAAA==" ElStat="A"/>
<common_v42_0:Address Key="WicZNT4R2BKAnYeNBAAAAA==" ElStat="A">
<common_v42_0:AddressName>Smiths</common_v42_0:AddressName>
<common_v42_0:Street>2914 N. Dakota Avenue</common_v42_0:Street>
<common_v42_0:City>Denver</common_v42_0:City>
<common_v42_0:State>CO</common_v42_0:State>
<common_v42_0:PostalCode>80206</common_v42_0:PostalCode>
<common_v42_0:Country>US</common_v42_0:Country>
<common_v42_0:ProviderReservationInfoRef Key="WicZNT4R2BKAyYeNBAAAAA=="/>
</common_v42_0:Address>
</common_v42_0:BookingTraveler>
<common_v42_0:ActionStatus Key="WicZNT4R2BKAoYeNBAAAAA==" Type="TAW" TicketDate="2018-07-25T20:02:00.000-06:00" ProviderReservationInfoRef="WicZNT4R2BKAyYeNBAAAAA==" ProviderCode="1V" ElStat="A"/>
<universal:ProviderReservationInfo Key="WicZNT4R2BKAyYeNBAAAAA==" ProviderCode="1V" LocatorCode="PJQGNK" CreateDate="2018-07-25T17:31:24.850+00:00" ModifiedDate="2018-07-25T17:31:24.850+00:00" HostCreateDate="2018-07-25" OwningPCC="2Z9F"/>
<air:AirReservation LocatorCode="03BD9D" CreateDate="2018-07-25T17:31:24.473+00:00" ModifiedDate="2018-07-25T17:31:24.850+00:00">
<common_v42_0:BookingTravelerRef Key="WicZNT4R2BKAiYeNBAAAAA=="/>
<common_v42_0:ProviderReservationInfoRef Key="WicZNT4R2BKAyYeNBAAAAA=="/>
<air:AirSegment Key="QkMUNT7Q2BKAzAgHAAAAAA==" Group="0" Carrier="AA" CabinClass="Economy" FlightNumber="6034" ProviderCode="1V" Origin="LAX" Destination="SFO" DepartureTime="2019-02-05T06:30:00.000-08:00" ArrivalTime="2019-02-05T07:49:00.000-08:00" TravelTime="79" ClassOfService="B" ETicketability="Yes" Equipment="E75" Status="HK" ChangeOfPlane="false" GuaranteedPaymentCarrier="No" ProviderReservationInfoRef="WicZNT4R2BKAyYeNBAAAAA==" TravelOrder="1" ProviderSegmentOrder="1" OptionalServicesIndicator="false" ParticipantLevel="Secure Sell" LinkAvailability="true" ElStat="A">
<common_v42_0:SegmentRemark Key="WicZNT4R2BKA0YeNBAAAAA==">COMPASS AIRLINES AS AMERICAN EAGLE</common_v42_0:SegmentRemark>
<air:FlightDetails Key="WicZNT4R2BKAuYeNBAAAAA==" Origin="LAX" Destination="SFO" DepartureTime="2019-02-05T06:30:00.000-08:00" ArrivalTime="2019-02-05T07:39:00.000-08:00" FlightTime="69" TravelTime="79" Equipment="E75" DestinationTerminal="2" AutomatedCheckin="false" ElStat="C"/>
<common_v42_0:SellMessage>OPERATED BY COMPASS AIRLINES AS AMERICAN EAGLE *</common_v42_0:SellMessage>
<common_v42_0:SellMessage>503 18 *</common_v42_0:SellMessage>
<common_v42_0:SellMessage>NOTE NEW TIMES</common_v42_0:SellMessage>
<common_v42_0:SellMessage>OFFER CAR/HOTEL |CAL |HOA</common_v42_0:SellMessage>
<common_v42_0:SellMessage>OPERATED BY COMPASS AIRLINES AS AMERICAN EAGLE</common_v42_0:SellMessage>
<common_v42_0:SellMessage>ARRIVES SFO TERMINAL 2</common_v42_0:SellMessage>
</air:AirSegment>
<air:AirSegment Key="QkMUNT7Q2BKA1AgHAAAAAA==" Group="1" Carrier="AA" CabinClass="Economy" FlightNumber="6019" ProviderCode="1V" Origin="SFO" Destination="LAX" DepartureTime="2019-02-06T05:40:00.000-08:00" ArrivalTime="2019-02-06T07:10:00.000-08:00" TravelTime="90" ClassOfService="B" ETicketability="Yes" Equipment="E75" Status="HK" ChangeOfPlane="false" GuaranteedPaymentCarrier="No" ProviderReservationInfoRef="WicZNT4R2BKAyYeNBAAAAA==" TravelOrder="2" ProviderSegmentOrder="2" OptionalServicesIndicator="false" ParticipantLevel="Secure Sell" LinkAvailability="true" ElStat="A">
<common_v42_0:SegmentRemark Key="WicZNT4R2BKA1YeNBAAAAA==">COMPASS AIRLINES AS AMERICAN EAGLE</common_v42_0:SegmentRemark>
<air:FlightDetails Key="WicZNT4R2BKAvYeNBAAAAA==" Origin="SFO" Destination="LAX" DepartureTime="2019-02-06T05:40:00.000-08:00" ArrivalTime="2019-02-06T06:58:00.000-08:00" FlightTime="78" TravelTime="90" Equipment="E75" OriginTerminal="2" AutomatedCheckin="false" ElStat="C"/>
<common_v42_0:SellMessage>OPERATED BY COMPASS AIRLINES AS AMERICAN EAGLE *</common_v42_0:SellMessage>
<common_v42_0:SellMessage>503 18 *</common_v42_0:SellMessage>
<common_v42_0:SellMessage>NOTE NEW TIMES</common_v42_0:SellMessage>
<common_v42_0:SellMessage>OFFER CAR/HOTEL |CAL |HOA</common_v42_0:SellMessage>
<common_v42_0:SellMessage>OPERATED BY COMPASS AIRLINES AS AMERICAN EAGLE</common_v42_0:SellMessage>
<common_v42_0:SellMessage>DEPARTS SFO TERMINAL 2</common_v42_0:SellMessage>
</air:AirSegment>
</air:AirReservation>
<common_v42_0:AgencyInfo>
<common_v42_0:AgentAction ActionType="Created" AgentCode="UAPI-121700190" BranchCode="P106458" AgencyCode="S30928" EventTime="2018-07-25T17:31:22.986+00:00"/>
</common_v42_0:AgencyInfo>
<common_v42_0:FormOfPayment Key="jwt2mcK1Qp27I2xfpcCtAw==" Type="Check" Reusable="false" ProfileKey="66RCmaWkTyKrDghkIx9R9Q==" ElStat="A">
<common_v42_0:ProviderReservationInfoRef Key="WicZNT4R2BKAyYeNBAAAAA=="/>
</common_v42_0:FormOfPayment>
</universal:UniversalRecord>
<air:AirSolutionChangedInfo ReasonCode="Schedule">
<air:AirPricingSolution Key="WicZNT4R2BKAeYeNBAAAAA==">
<air:AirSegment Key="QkMUNT7Q2BKAzAgHAAAAAA==" Group="0" Carrier="AA" FlightNumber="6034" ProviderCode="1V" Origin="LAX" Destination="SFO" DepartureTime="2019-02-05T06:30:00.000-08:00" ArrivalTime="2019-02-05T07:39:00.000-08:00" FlightTime="69" TravelTime="69" Distance="339" ClassOfService="B" Equipment="E75" Status="NN" ParticipantLevel="Secure Sell" LinkAvailability="true" AvailabilityDisplayType="Fare Specific Fare Quote Unbooked" OptionalServicesIndicator="false">
<air:FlightDetails Key="QkMUNT7Q2BKA0AgHAAAAAA==" Origin="LAX" Destination="SFO" DepartureTime="2019-02-05T06:30:00.000-08:00" ArrivalTime="2019-02-05T07:39:00.000-08:00" FlightTime="69" TravelTime="69" Distance="339"/>
</air:AirSegment>
<air:AirSegment Key="QkMUNT7Q2BKA1AgHAAAAAA==" Group="1" Carrier="AA" FlightNumber="6019" ProviderCode="1V" Origin="SFO" Destination="LAX" DepartureTime="2019-02-06T05:40:00.000-08:00" ArrivalTime="2019-02-06T06:58:00.000-08:00" FlightTime="78" TravelTime="78" Distance="339" ClassOfService="B" Equipment="E75" Status="NN" ParticipantLevel="Secure Sell" LinkAvailability="true" TravelOrder="1" AvailabilityDisplayType="Fare Specific Fare Quote Unbooked" OptionalServicesIndicator="false">
<air:FlightDetails Key="QkMUNT7Q2BKA2AgHAAAAAA==" Origin="SFO" Destination="LAX" DepartureTime="2019-02-06T05:40:00.000-08:00" ArrivalTime="2019-02-06T06:58:00.000-08:00" FlightTime="78" TravelTime="78" Distance="339"/>
</air:AirSegment>
</air:AirPricingSolution>
</air:AirSolutionChangedInfo>
</universal:AirCreateReservationRsp>
</SOAP:Body>
</SOAP:Envelope>
Why the response has this error? The following attribute is missing in the AirCreateReservationReq: AirPricingSolution/HostToken
How should I compose the tags in the AirCreateReservationReq?
This:
<HostToken xmlns="http://www.travelport.com/schema/common_v42_0" Key="WicZNT4R2BKAQUINBAAAAA==">GFB10101ADT00 01QVAIZNB3 010001#GFB200010101NADTV3000B11I0010001299#</HostToken>
Or this:
<common_v42_0:HostToken Key="QkMUNT7Q2BKA4AgHAAAAAA==">GFB10101ADT00 01QVAIZNB3 010001#GFB200010101NADTV3000B11I0010001299#</common_v42_0:HostToken>
Hi osroflo,
These values are generated in AirPricing step, you can get the values from AirPricingRsp. Thanks.
Thanks @vivekjyotipramanik
Hi pradeep-ugrasen,
Could you please try with the below request. Thanks.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header xmlns:univ="http://www.travelport.com/schema/universal_v48_0">
<univ:SupportedVersions airVersion="air_v48_0"/>
</soap:Header>
<soap:Body>
<univ:AirCreateReservationReq
AuthorizedBy="user" TraceId="test" RetainReservation="Both" TargetBranch="P7039070"
xmlns:univ="http://www.travelport.com/schema/universal_v48_0"
xmlns:com="http://www.travelport.com/schema/common_v48_0"
xmlns:air="http://www.travelport.com/schema/air_v48_0">
<com:BillingPointOfSaleInfo OriginApplication="uAPI" />
<com:BookingTraveler Key="/IjLWr7Q2BKACcwYBAAAAA" Age="25" DOB="1993-07-25" Gender="M" TravelerType="ADT">
<com:BookingTravelerName First="PRADEEP" Last="KUMAR" />
<com:DeliveryInfo>
<com:ShippingAddress>
<com:AddressName>pradee kumar</com:AddressName>
<com:Street>sakinaka,mumbau</com:Street>
<com:City>Mumbai</com:City>
<com:PostalCode>400072</com:PostalCode>
<com:Country>India</com:Country>
</com:ShippingAddress>
</com:DeliveryInfo>
<com:PhoneNumber CountryCode="91" Location="MUM" Number="9096944927" Type="Other"/>
<com:SSR Type="DOCS" FreeText="P/IN/ES221731/IN/25Jul93/M/06Jun20/KUMAR/PRADEEP"/>
<!--<com:SSR Carrier="F9" FreeText="P/IN/F1234567/IN/05Jan85/M/13Dec14/Jones/Stephen"-->
<!--SegmentRef="IVaa0tGWQ+2grqSIL81xPQ==" Status="HK" Type="DOCS"/>-->
<com:Address>
<com:AddressName>pradee kumar</com:AddressName>
<com:Street>sakinaka,mumbau</com:Street>
<com:City>Mumbai</com:City>
<com:PostalCode>400072</com:PostalCode>
<com:Country>India</com:Country>
</com:Address>
</com:BookingTraveler>
<air:AirPricingSolution Key="uL9tOs7Q2BKAXEiZGAAAAA==" TotalPrice="AUD112.90" BasePrice="INR4700" ApproximateTotalPrice="AUD112.90" ApproximateBasePrice="AUD96.00" EquivalentBasePrice="AUD96.00" Taxes="AUD16.90" Fees="AUD0.00" ApproximateTaxes="AUD16.90" QuoteDate="2019-06-06" >
<air:AirSegment Key="uL9tOs7Q2BKAVEiZGAAAAA==" Group="0" Carrier="AI" FlightNumber="864" ProviderCode="1G" Origin="BOM" Destination="DEL" DepartureTime="2019-06-08T07:00:00.000+05:30" ArrivalTime="2019-06-08T09:05:00.000+05:30" FlightTime="125" TravelTime="125" Distance="708" ClassOfService="S" Equipment="32B" ChangeOfPlane="false" OptionalServicesIndicator="true" LinkAvailability="true" AvailabilityDisplayType="Fare Specific Fare Quote Unbooked">
<air:CodeshareInfo OperatingCarrier="AI">Air India</air:CodeshareInfo>
<air:FlightDetails Key="uL9tOs7Q2BKAWEiZGAAAAA==" Origin="BOM" Destination="DEL" DepartureTime="2019-06-08T07:00:00.000+05:30" ArrivalTime="2019-06-08T09:05:00.000+05:30" FlightTime="125" TravelTime="125" Distance="708"/>
</air:AirSegment>
<air:AirPricingInfo Key="uL9tOs7Q2BKAZEiZGAAAAA==" TotalPrice="AUD112.90" BasePrice="INR4700" ApproximateTotalPrice="AUD112.90" ApproximateBasePrice="AUD96.00" EquivalentBasePrice="AUD96.00" ApproximateTaxes="AUD16.90" Taxes="AUD16.90" LatestTicketingTime="2019-06-08T23:59:00.000+10:00" PricingMethod="Guaranteed" Refundable="true" IncludesVAT="false" ETicketability="Yes" PlatingCarrier="AI" ProviderCode="1G">
<air:FareInfo Key="uL9tOs7Q2BKAeEiZGAAAAA==" FareBasis="SIP" PassengerTypeCode="ADT" Origin="BOM" Destination="DEL" EffectiveDate="2019-06-06T17:05:00.000+10:00" DepartureDate="2019-06-08" Amount="AUD96.00" NotValidBefore="2019-06-08" NotValidAfter="2019-06-08" TaxAmount="AUD16.90">
<air:FareSurcharge Key="uL9tOs7Q2BKAfEiZGAAAAA==" Type="Other" Amount="INR300"/>
<com:Endorsement Value="NON ENDORSABLE/ CHANGE/"/>
<com:Endorsement Value="CANCELLATION/NO-SHOW FEE"/>
<com:Endorsement Value="APPLY PER SECTOR"/>
<air:FareRuleKey FareInfoRef="uL9tOs7Q2BKAeEiZGAAAAA==" ProviderCode="1G">6UUVoSldxwgxhBCo15rYksbKj3F8T9EyxsqPcXxP0TLGyo9xfE/RMsuWFfXVd1OAly5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA8CCJRuM9yLNZCjxf/Hhw20fhhgWQTnI0pPmCOymYykpJJJkSAQvpY50cxnQxWdzR0YHiLSat9Ay+3vRK5J188Tq/20RpEmAXlby9IE1rxlSp7GoYpQef1gYmtXMshoI2nBPxb3ljvI52zpHAH1QBRCAdcY0m0a4yk4nKb2G5mOFZ26MDfzyS0EV8gxGj3WXRYq+cJFUBzrily5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA3N5jV9Rrzq8txHW6jzw2UbAQJCzzE4cySnoKxqj/lX8U+vGim5mg4hnMPpWXm6cebQiPpcdLNKf</air:FareRuleKey>
</air:FareInfo>
<air:BookingInfo BookingCode="S" CabinClass="Economy" FareInfoRef="uL9tOs7Q2BKAeEiZGAAAAA==" SegmentRef="uL9tOs7Q2BKAVEiZGAAAAA==" HostTokenRef="uL9tOs7Q2BKAYEiZGAAAAA=="/>
<air:TaxInfo Category="K3" Amount="AUD5.00" Key="uL9tOs7Q2BKAaEiZGAAAAA=="/>
<air:TaxInfo Category="WO" Amount="AUD5.40" Key="uL9tOs7Q2BKAbEiZGAAAAA=="/>
<air:TaxInfo Category="YM" Amount="AUD2.90" Key="uL9tOs7Q2BKAcEiZGAAAAA=="/>
<air:TaxInfo Category="YR" Amount="AUD3.60" Key="uL9tOs7Q2BKAdEiZGAAAAA=="/>
<air:FareCalc>BOM AI DEL Q300 4400SIP INR4700END</air:FareCalc>
<air:PassengerType Code="ADT" Age="25"/>
<air:ChangePenalty PenaltyApplies="Before Departure">
<air:Amount>AUD51.00</air:Amount>
</air:ChangePenalty>
<air:ChangePenalty NoShow="true" PenaltyApplies="Anytime">
<air:Percentage>0.00</air:Percentage>
</air:ChangePenalty>
<air:CancelPenalty PenaltyApplies="Before Departure">
<air:Amount>AUD51.00</air:Amount>
</air:CancelPenalty>
<air:CancelPenalty NoShow="true" PenaltyApplies="Anytime">
<air:Percentage>0.00</air:Percentage>
</air:CancelPenalty>
<air:BaggageAllowances>
<air:BaggageAllowanceInfo TravelerType="ADT" Origin="BOM" Destination="DEL" Carrier="AI">
<air:URLInfo>
<air:URL>VIEWTRIP.TRAVELPORT.COM/BAGGAGEPOLICY/AI</air:URL>
</air:URLInfo>
<air:TextInfo>
<air:Text>25K</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">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>CHGS MAY APPLY IF BAGS EXCEED TTL WT ALLOWANCE</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:BagDetails>
<air:BagDetails ApplicableBags="2ndChecked">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>CHGS MAY APPLY IF BAGS EXCEED TTL WT ALLOWANCE</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:BagDetails>
</air:BaggageAllowanceInfo>
<air:CarryOnAllowanceInfo Origin="BOM" Destination="DEL" Carrier="AI">
<air:TextInfo>
<air:Text>8K</air:Text>
</air:TextInfo>
<air:CarryOnDetails ApplicableCarryOnBags="1">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>CHGS MAY APPLY IF BAGS EXCEED TTL WT ALLOWANCE</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:CarryOnDetails>
<air:CarryOnDetails ApplicableCarryOnBags="2">
<air:BaggageRestriction>
<air:TextInfo>
<air:Text>CHGS MAY APPLY IF BAGS EXCEED TTL WT ALLOWANCE</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:CarryOnDetails>
</air:CarryOnAllowanceInfo>
</air:BaggageAllowances>
</air:AirPricingInfo>
<air:FareNote Key="uL9tOs7Q2BKAwEiZGAAAAA==">RATE USED IN EQU TOTAL IS BSR 1INR - 0.020416AUD</air:FareNote>
<air:FareNote Key="uL9tOs7Q2BKAxEiZGAAAAA==">LAST DATE TO PURCHASE TICKET: 08JUN19</air:FareNote>
<air:FareNote Key="uL9tOs7Q2BKAyEiZGAAAAA==">TICKETING AGENCY 5Y03</air:FareNote>
<air:FareNote Key="uL9tOs7Q2BKAzEiZGAAAAA==">DEFAULT PLATING CARRIER AI</air:FareNote>
<air:FareNote Key="uL9tOs7Q2BKA0EiZGAAAAA==">FARE HAS A PLATING CARRIER RESTRICTION</air:FareNote>
<air:FareNote Key="uL9tOs7Q2BKA1EiZGAAAAA==">E-TKT REQUIRED</air:FareNote>
<air:FareNote Key="uL9tOs7Q2BKA2EiZGAAAAA==">TICKETING FEES MAY APPLY</air:FareNote>
</air:AirPricingSolution>
<com:ActionStatus Type="TAW" TicketDate="2019-06-06T15:35:13+05:30" ProviderCode="1G" />
</univ:AirCreateReservationReq>
</soap:Body>
</soap:Envelope>
from where we got the key
Hi, i have a problem with petition of AirPrice, the service returned me this error: TPGateway - Request data not found - Request ignored - service name = AirService usernam
Petition xml: