Travelport / travelport-uapi-tutorial

The travelport-uapi-tutorial is a Java project for Universal API that will help you connect and code a standard workflow including Air and Hotel.
45 stars 34 forks source link

From the Pre-Production when we are trying to book a ticket getting following error #387

Open lokeswariTracoms opened 7 years ago

lokeswariTracoms commented 7 years ago
400 TPGateway - Request data not found - Request ignored - service name = AirService username = Universal API/uAPI1189214086-2752a905 TPGateway - Request data not found - Request ignored - service name = AirService username = Universal API/uAPI1189214086-2752a905
NirandaG commented 7 years ago

Hi lokeswariTracoms, Could you please send us the EndPoint URL and the request you are trying? Rgds, Niranda

lokeswariTracoms commented 7 years ago

Hi NirandaG,

We are Using the below URL - https://emea.universal-api.pp.travelport.com/B2BGateway/connect/uAPI/AirService

And request is -

This XML file does not appear to have any style information associated with it. The document tree is shown below.

Smiths 2914 N. Dakota Avenue Denver CO 80206 US Smiths 2914 N. Dakota Avenue Denver CO 80206 US 2Bu5hAWKGDdz5/dxhKAqjjRiQQAz451n7rv3p2LEiQGiqVTcvPTJ9Dx5tSjD3oSQYm2FWpBFjO0SLnnHexW8n99aC5/szs5rSvbTqtEX31A6C3wHta0DMY1/EU8XC2oF900p+11Yzf8GfNW9RSMn91kS6YU8Ct8ZtAn8LvfQgEqriOVB7MAQBja7znsf+Pte0FocWuH2KHch8bDjQV0zhzDjYl4p4Sq6+yaOxU9PhJOv9gFsUGZLtcaZTZ1RfvznjXI9aCBdfSusIbNGhAMOIPRFs8k4lQgmZOJp2qZmScAewePL1Li6Y+EHYeTksNfFt9sx5aBBGNOl81BlIaH3TmJXjbIA7SglNAMdCKtcaHr9KbUrUWTreiKkjb2jJgPMIqSNvaMmA8wipI29oyYDzCKkjb2jJgPMIqSNvaMmA8ye7nzj8vIDJLtLLNwFbzB0+RR/YasoL0oShajQeSMg0d/s0I7ZEryCspbvxAGfLlgFbDGc9vX+Rg== SYD QF MEL 131.15QDEAL AUD131.15END AUD88.00 MYTRIPANDMORE.COM/BAGGAGEDETAILSQF.BAGG 1P BAGGAGE DISCOUNTS MAY APPLY BASED ON FREQUENT FLYER STATUS/ ONLINE CHECKIN/FORM OF PAYMENT/MILITARY/ETC. BAGGAGE CHARGES DATA NOT AVAILABLE UPTO50LB/23KG AND UPTO55LI/140LCM MYTRIPANDMORE.COM/BAGGAGEDETAILSQF.BAGG 888
NirandaG commented 7 years ago

Hi lokeswariTracoms, Looks like some data is not accurate in your AirPrice. Could you please try the below AirCreate request with your credentials and let us know how it goes?

<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="P7005797" 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="DL" FreeText="P/US/F1234567/US/17Sep69/M/24Sep15/Smith/Jack" SegmentRef="no14F73R2BKAVTmbBAAAAA==" 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"/>
                        <air:AirPricingSolution Key="yOAWG77Q2BKAde2YBAAAAA==" TotalPrice="AUD1892.10" BasePrice="USD1356.00" ApproximateTotalPrice="AUD1892.10" ApproximateBasePrice="AUD1700.00" EquivalentBasePrice="AUD1700.00" Taxes="AUD192.10" ApproximateTaxes="AUD192.10" QuoteDate="2017-10-03">
               <air:AirSegment Key="no14F73R2BKAVTmbBAAAAA==" Group="0" Carrier="DL" FlightNumber="401" Origin="JFK" Destination="LHR" DepartureTime="2018-03-25T19:30:00.000-04:00" ArrivalTime="2018-03-26T07:50:00.000+01:00" FlightTime="440" Distance="3457" ETicketability="Yes" Equipment="76W" ChangeOfPlane="false" ParticipantLevel="Secure Sell" LinkAvailability="true" PolledAvailabilityOption="Polled avail used" OptionalServicesIndicator="false" AvailabilitySource="S" AvailabilityDisplayType="Fare Shop/Optimal Shop" ProviderCode="1G"/>
               <air:AirPricingInfo Key="yOAWG77Q2BKAee2YBAAAAA==" TotalPrice="AUD1892.10" BasePrice="USD1356.00" ApproximateTotalPrice="AUD1892.10" ApproximateBasePrice="AUD1700.00" EquivalentBasePrice="AUD1700.00" ApproximateTaxes="AUD192.10" Taxes="AUD192.10" LatestTicketingTime="2018-03-25T23:59:00.000+11:00" PricingMethod="Guaranteed" Refundable="true" IncludesVAT="false" ETicketability="Yes" PlatingCarrier="DL" ProviderCode="1G">
                  <air:FareInfo Key="yOAWG77Q2BKAje2YBAAAAA==" FareBasis="BFFWUS" PassengerTypeCode="ADT" Origin="JFK" Destination="LHR" EffectiveDate="2017-10-03T15:41:00.000+11:00" DepartureDate="2018-03-25" Amount="AUD1700.00" TaxAmount="AUD192.10">
                     <air:FareRuleKey FareInfoRef="yOAWG77Q2BKAje2YBAAAAA==" ProviderCode="1G">6UUVoSldxwiQvGwIVY7j4sbKj3F8T9EyxsqPcXxP0TIjSPOlaHfQe5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA35VSLl1BK/rM3ExqSoG051ozt59pu8Tf49u2eAuaM1KJJJkSAQvpY5KPQMgNX1xLeCn62LiiDb9RhG/tzWBqG5rkRS2m7MQmBll6FxyIC6cYuAWfcH2w92IEQfz1U0L71+TZlLj7F4wsAGsvIEu5HDqkp0FEw0raOCbZ1nsUQQBTRIB4hGbzYX/ZJRzKqj8+ouFsAExMoVlv4Xvb2u1Qx+/he9va7VDH7+F729rtUMfv4Xvb2u1Qx+/he9va7VDHzyxauAs+veBE308BFXsd7Sxs0Z65B3wRAPFaO1aw82YoXVmNOVgvXY5ME+UouY3UFBvod327J40KYZLseoY8Xg=</air:FareRuleKey>
                     <air:Brand Key="yOAWG77Q2BKAje2YBAAAAA==" BrandID="21659" Name="Main Cabin" UpSellBrandFound="false" Carrier="DL">
                        <air:Title Type="External">Main Cabin</air:Title>
                        <air:Title Type="Short">Main Cabin</air:Title>
                        <air:Text Type="Upsell">Upgrade to Main Cabin for additional must-haves and added flexibility.  When you book in the Main Cabin, you can:
                                                                                                                                                                                         • Select an available seat at purchase
• Make Same Day Travel changes (fees may apply)
• Receive full Medallion® benefits</air:Text>
                        <air:Text Type="MarketingAgent">The Main Cabin reflects our high standards in Economy Travel. Select from a host of affordable travel customizable options, including Wi-Fi (where available), Starbucks® coffee, complimentary entertainment from Delta Studio™ where available complimentary snacks and non-alcoholic beverages on nearly all flights, Delta EATS menu for purchase on flights 900 miles and award-winning service.

Additional benefits include:
1. Ability to select available seats at purchase
2. Same-Day Travel Changes are permitted on a space-available basis.  Fees may apply
3. Changes and refunds depend on fare rules</air:Text>
                        <air:Text Type="Strapline">Low affordable fare with perks</air:Text>
                        <air:ImageLocation Type="Upsell" ImageWidth="150" ImageHeight="150">https://merchandisingmanagement.pp.travelport.com/documents/10431/12001/eco.png</air:ImageLocation>
                        <air:ImageLocation Type="Agent" ImageWidth="150" ImageHeight="150">https://merchandisingmanagement.pp.travelport.com/documents/10431/12001/eco.png</air:ImageLocation>

                     </air:Brand>
                  </air:FareInfo>
                  <air:BookingInfo BookingCode="B" CabinClass="Economy" FareInfoRef="yOAWG77Q2BKAje2YBAAAAA==" SegmentRef="no14F73R2BKAVTmbBAAAAA=="/>
                  <air:TaxInfo Category="AY" Amount="AUD7.10" Key="yOAWG77Q2BKAfe2YBAAAAA=="/>
                  <air:TaxInfo Category="US" Amount="AUD22.60" Key="yOAWG77Q2BKAge2YBAAAAA=="/>
                  <air:TaxInfo Category="XF" Amount="AUD5.70" Key="yOAWG77Q2BKAhe2YBAAAAA==">
                     <common_v34_0:TaxDetail Amount="USD4.50" OriginAirport="JFK"/>
                  </air:TaxInfo>
                  <air:TaxInfo Category="YR" Amount="AUD156.70" Key="yOAWG77Q2BKAie2YBAAAAA=="/>
                  <air:FareCalc>NYC DL LON 1356.00BFFWUS NUC1356.00END ROE1.0</air:FareCalc>
                  <air:PassengerType Code="ADT"/>
                  <air:BaggageAllowances>
                     <air:BaggageAllowanceInfo TravelerType="ADT" Origin="NYC" Destination="LON" Carrier="DL">
                        <air:URLInfo>
                           <air:URL>MYTRIPANDMORE.COM/BAGGAGEDETAILSDL.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="AUD0.00" TotalPrice="USD0.00" ApproximateTotalPrice="AUD0.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="AUD125.31" TotalPrice="USD100.00" ApproximateTotalPrice="AUD125.31">
                           <air:BaggageRestriction>
                              <air:TextInfo>
                                 <air:Text>UPTO50LB/23KG AND UPTO62LI/158LCM</air:Text>
                              </air:TextInfo>
                           </air:BaggageRestriction>
                        </air:BagDetails>
                     </air:BaggageAllowanceInfo>
                     <air:CarryOnAllowanceInfo Origin="NYC" Destination="LON" Carrier="DL">
                        <air:TextInfo>
                           <air:Text>1P</air:Text>
                        </air:TextInfo>
                        <air:CarryOnDetails ApplicableCarryOnBags="1" BasePrice="USD0.00" ApproximateBasePrice="AUD0.00" TotalPrice="USD0.00" ApproximateTotalPrice="AUD0.00">
                           <air:BaggageRestriction>
                              <air:TextInfo>
                                 <air:Text>PERSONAL ITEM</air:Text>
                              </air:TextInfo>
                           </air:BaggageRestriction>
                        </air:CarryOnDetails>
                     </air:CarryOnAllowanceInfo>
                     <air:EmbargoInfo Origin="NYC" Destination="LON" Carrier="DL">
                        <air:URLInfo>
                           <air:URL>MYTRIPANDMORE.COM/BAGGAGEDETAILSDL.BAGG</air:URL>
                        </air:URLInfo>
                        <air:TextInfo>
                           <air:Text>888</air:Text>
                        </air:TextInfo>
                     </air:EmbargoInfo>
                  </air:BaggageAllowances>
               </air:AirPricingInfo>
               <air:FareNote Key="yOAWG77Q2BKAxe2YBAAAAA==">RATE USED IN EQU TOTAL IS BSR 1USD - 1.253051AUD</air:FareNote>
               <air:FareNote Key="yOAWG77Q2BKAye2YBAAAAA==">LAST DATE TO PURCHASE TICKET: 25MAR18</air:FareNote>
               <air:FareNote Key="yOAWG77Q2BKAze2YBAAAAA==">TICKETING AGENCY L9J</air:FareNote>
               <air:FareNote Key="yOAWG77Q2BKA0e2YBAAAAA==">DEFAULT PLATING CARRIER DL</air:FareNote>
               <air:FareNote Key="yOAWG77Q2BKA1e2YBAAAAA==">E-TKT REQUIRED</air:FareNote>
               <air:FareNote Key="yOAWG77Q2BKA2e2YBAAAAA==">TICKETING FEES MAY APPLY</air:FareNote>
            </air:AirPricingSolution>
            <com:ActionStatus xmlns:com="http://www.travelport.com/schema/common_v34_0" ProviderCode="1G" TicketDate="2017-11-13T12:02:57" Type="TAW"/>
        </univ:AirCreateReservationReq>
    </soapenv:Body>
</soapenv:Envelope>

Rgds, Niranda

lokeswariTracoms commented 7 years ago

Hi NirandaG,

We have tested with the request which you have provide by changing the branch. still we have an error as below,

Server.Business Message From Galileo : Uncaught Service Exception cause:com.cendant.tds.soa.framework.ServiceException: Exception ReturnedERR: AGENT ID - GALILEOWith the Dynamic GTID list of:A8052E
lokeswariTracoms commented 7 years ago

Hi NirandaG, When we are trying to create reservation from the demo site with our creadentials,We are getting the following error

Transaction Error:: Procedure/5012

could you please help us to solve this issue.