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

Some of the requested AirPricingInfos could not be saved for the requested provider. #692

Open Alex0084 opened 5 years ago

Alex0084 commented 5 years ago

Hello

I get this issue when i tried to Booking FZ Flight

i already tried to remove plating carrier from create reservation

i am attaching logs of pricing info and create reservation

Please help

thanks

MTkwOTExMTA0MDIzYW0=AirPricingInfoRequest (1).txt MTkwOTExMTA0MDIzYW0=AirPricingInfoResponse (1).txt [Uploading MTkwOTExMTA0MDIzYW0=FlightBookingResponse.txt…]() [Uploading MTkwOTExMTA0MDIzYW0=FlightBookingRequest.txt…]()

Alex0084 commented 5 years ago

Hello,

Any help, please?

vivekjyotipramanik commented 5 years ago

Hi Alex0084,

The FlightBookingResponse logs you have shared are not opening. Please share them again. If this is urgent, I would recommend, please create a ticket in my.travelport.com. Github SLA is 3 business days. For faster response, please open a ticket in My.Travelport.com and we will pick it up from there. Thanks.

Alex0084 commented 5 years ago

Hello Vivek, Many thanks for your reply

i am attaching again both booking request and response log

MTkwOTExMTIxMzUzcG0=FlightBookingRequest.txt MTkwOTExMTIxMzUzcG0=FlightBookingResponse.txt

vivekjyotipramanik commented 5 years ago

Hi Alex0084,

The HostTokenRef is missing from AirSegment. Please find below the updated request. Please give it a try and if it still does not work, please create a ticket in My.Travelport.com and we will pick it up from there. Please give it a try by removing the platingCarrier from the below request as well. Thanks.

<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <AirCreateReservationReq xmlns="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" AuthorizedBy="H2B" TargetBranch="P3167909" ProviderCode="1G" RetainReservation="Both">
      <BillingPointOfSaleInfo xmlns="http://www.travelport.com/schema/common_v42_0" OriginApplication="UAPI"/>
      <BookingTraveler xmlns="http://www.travelport.com/schema/common_v42_0" Key="MTkwOTExMTIxODE3cG0wMDA=" TravelerType="ADT" Age="23" DOB="1995-10-25" Gender="F" Nationality="KW">
        <BookingTravelerName Prefix="Ms" First="Dana" Last="Alkhubaizi"/>
        <PhoneNumber Location="KWT" CountryCode="965" Number="65005887"/>
        <Email EmailID="khaled@travellights.net"/>
        <SSR Type="DOCS" FreeText="P/KW/P06320125/KW/25OCT95/F/08SEP24/Alkhubaizi/Dana" Carrier="FZ"/>
      </BookingTraveler>
      <BookingTraveler xmlns="http://www.travelport.com/schema/common_v42_0" Key="MTkwOTExMTIxODE3cG0xMDE=" TravelerType="ADT" Age="19" DOB="2000-06-24" Gender="F" Nationality="SA">
        <BookingTravelerName Prefix="Ms" First="Norah" Last="Albishi"/>
        <PhoneNumber Location="KWT" CountryCode="965" Number="65005887"/>
        <Email EmailID="khaled@travellights.net"/>
        <SSR Type="DOCS" FreeText="P/SA/R435141/SA/24JUN00/F/02JUL20/Albishi/Norah" Carrier="FZ"/>
      </BookingTraveler>
      <FormOfPayment xmlns="http://www.travelport.com/schema/common_v42_0" Type="Cash" Key="1"/>
      <air:AirPricingSolution Key="cSj5N0BAAA/BsENEgMAAAA==" TotalPrice="USD305.60" BasePrice="KWD32.000" ApproximateTotalPrice="USD305.60" ApproximateBasePrice="USD106.00" EquivalentBasePrice="USD106.00" Taxes="USD199.60" Fees="USD0.00" ApproximateTaxes="USD199.60" QuoteDate="2019-09-11">
        <air:AirSegment Key="cSj5N0BAAA/BoENEgMAAAA==" Group="0" Carrier="FZ" FlightNumber="60" ProviderCode="1G" Origin="KWI" Destination="DXB" DepartureTime="2019-09-12T15:05:00.000+03:00" ArrivalTime="2019-09-12T17:55:00.000+04:00" FlightTime="110" TravelTime="110" Distance="531" ClassOfService="L" Equipment="73H" ChangeOfPlane="false" OptionalServicesIndicator="false" ParticipantLevel="Secure Sell" LinkAvailability="true" AvailabilityDisplayType="Fare Specific Fare Quote Unbooked" HostTokenRef="cSj5N0BAAA/BtENEgMAAAA==">
          <air:CodeshareInfo OperatingCarrier="FZ">flydubai</air:CodeshareInfo>
          <air:FlightDetails Key="cSj5N0BAAA/BpENEgMAAAA==" Origin="KWI" Destination="DXB" DepartureTime="2019-09-12T15:05:00.000+03:00" ArrivalTime="2019-09-12T17:55:00.000+04:00" FlightTime="110" TravelTime="110" Equipment="73H" OriginTerminal="R" DestinationTerminal="2" AutomatedCheckin="false">
            <air:Meals>Meal</air:Meals>
            <air:InFlightServices>Non-smoking</air:InFlightServices>
          </air:FlightDetails>
        </air:AirSegment>
        <air:AirSegment Key="cSj5N0BAAA/BqENEgMAAAA==" Group="1" Carrier="FZ" FlightNumber="8065" ProviderCode="1G" Origin="DXB" Destination="KWI" DepartureTime="2019-09-14T20:35:00.000+04:00" ArrivalTime="2019-09-14T21:25:00.000+03:00" FlightTime="110" TravelTime="110" Distance="531" ClassOfService="L" Equipment="73H" ChangeOfPlane="false" OptionalServicesIndicator="false" ParticipantLevel="Secure Sell" LinkAvailability="true" AvailabilityDisplayType="Fare Specific Fare Quote Unbooked" HostTokenRef="cSj5N0BAAA/BuENEgMAAAA==">
          <air:CodeshareInfo OperatingCarrier="FZ">flydubai</air:CodeshareInfo>
          <air:FlightDetails Key="cSj5N0BAAA/BrENEgMAAAA==" Origin="DXB" Destination="KWI" DepartureTime="2019-09-14T20:35:00.000+04:00" ArrivalTime="2019-09-14T21:25:00.000+03:00" FlightTime="110" TravelTime="110" Equipment="73H" OriginTerminal="2" DestinationTerminal="R" AutomatedCheckin="false">
            <air:Meals>Meal</air:Meals>
            <air:InFlightServices>Non-smoking</air:InFlightServices>
          </air:FlightDetails>
        </air:AirSegment>
        <air:AirPricingInfo Key="cSj5N0BAAA/BvENEgMAAAA==" TotalPrice="USD152.80" BasePrice="KWD16.000" ApproximateTotalPrice="USD152.80" ApproximateBasePrice="USD53.00" EquivalentBasePrice="USD53.00" ApproximateTaxes="USD99.80" Taxes="USD99.80" LatestTicketingTime="2019-09-12T23:59:00.000+03:00" PricingMethod="Manual" Refundable="true" IncludesVAT="false" ETicketability="Yes" PlatingCarrier="FZ" ProviderCode="1G">
          <air:FareInfo Key="cSj5N0BAAA/B5ENEgMAAAA==" FareBasis="LRTPRKW1" PassengerTypeCode="ADT" Origin="KWI" Destination="DXB" EffectiveDate="2019-09-11T15:15:00.000+03:00" DepartureDate="2019-09-12" Amount="USD26.00" NotValidAfter="2019-12-15" TaxAmount="USD39.60">
            <air:FareRuleKey FareInfoRef="cSj5N0BAAA/B5ENEgMAAAA==" ProviderCode="1G">6UUVoSldxwhRVKsgK+4UdsbKj3F8T9EyxsqPcXxP0TLGyo9xfE/RMsuWFfXVd1OAly5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA5JoCzSIiQCP4bHmxr88+l3zd/VTAJtvZYNnqvyoW1siFfkVLC76RWV1VeG87QjE1Y/FsFSASbseLJwRwpt4VqEP/DA4GmCQvjvQIlbeGa6Ahf6E18cRejF6+WRr8tqYPGKza5PfbJwNXHSimEWICuFW8vSBNa8ZUmwC02UUzMsn3fXUjk6ZIl1+Kj6Y+DxUWSpuBgf82lRgv4Xvb2u1Qx+/he9va7VDH7+F729rtUMfv4Xvb2u1Qx+/he9va7VDHzQapDbCAMr/TUGWlPDKj6v0aMBFljDuP9NE5OQYAbQxBiNzqdRhaSYEfCqfhodF6dwXtO9a1rEPZDIBpWANXgo=</air:FareRuleKey>
            <air:Brand Key="cSj5N0BAAA/B5ENEgMAAAA==" BrandFound="false" UpSellBrandFound="false"/>
          </air:FareInfo>
          <air:FareInfo Key="cSj5N0BAAA/B9ENEgMAAAA==" FareBasis="LRTPRKW1" PassengerTypeCode="ADT" Origin="DXB" Destination="KWI" EffectiveDate="2019-09-11T15:15:00.000+03:00" DepartureDate="2019-09-14" Amount="USD27.00" NotValidAfter="2019-12-15" TaxAmount="USD60.20">
            <air:FareRuleKey FareInfoRef="cSj5N0BAAA/B9ENEgMAAAA==" ProviderCode="1G">6UUVoSldxwhRVKsgK+4UdsbKj3F8T9EyxsqPcXxP0TLGyo9xfE/RMsuWFfXVd1OAly5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA5JoCzSIiQCP4bHmxr88+l3zd/VTAJtvZbod6RwjdyIZgq3dhb/xu/p1VeG87QjE1Y/FsFSASbseLJwRwpt4VqE5S9iwP33fPzvQIlbeGa6Ahf6E18cRejF6+WRr8tqYPGKza5PfbJwNXHSimEWICuFW8vSBNa8ZUmnWyFpl55B9OR4JaMBuP+uFIkBxZKVorSpuBgf82lRgv4Xvb2u1Qx+/he9va7VDH7+F729rtUMfv4Xvb2u1Qx+/he9va7VDHzQapDbCAMr/TUGWlPDKj6v0aMBFljDuP9NE5OQYAbQxBiNzqdRhaSYEfCqfhodF6dwXtO9a1rEPZDIBpWANXgo=</air:FareRuleKey>
            <air:Brand Key="cSj5N0BAAA/B9ENEgMAAAA==" BrandFound="false" UpSellBrandFound="false"/>
          </air:FareInfo>
          <air:BookingInfo BookingCode="L" CabinClass="Economy" FareInfoRef="cSj5N0BAAA/B5ENEgMAAAA==" SegmentRef="cSj5N0BAAA/BoENEgMAAAA==" HostTokenRef="cSj5N0BAAA/BtENEgMAAAA=="/>
          <air:BookingInfo BookingCode="L" CabinClass="Economy" FareInfoRef="cSj5N0BAAA/B9ENEgMAAAA==" SegmentRef="cSj5N0BAAA/BqENEgMAAAA==" HostTokenRef="cSj5N0BAAA/BuENEgMAAAA=="/>
          <air:TaxInfo Category="GZ" Amount="USD3.30" Key="cSj5N0BAAA/BwENEgMAAAA=="/>
          <air:TaxInfo Category="KW" Amount="USD6.60" Key="cSj5N0BAAA/BxENEgMAAAA=="/>
          <air:TaxInfo Category="YX" Amount="USD0.80" Key="cSj5N0BAAA/ByENEgMAAAA=="/>
          <air:TaxInfo Category="AE" Amount="USD20.40" Key="cSj5N0BAAA/BzENEgMAAAA=="/>
          <air:TaxInfo Category="F6" Amount="USD9.50" Key="cSj5N0BAAA/B0ENEgMAAAA=="/>
          <air:TaxInfo Category="TP" Amount="USD1.40" Key="cSj5N0BAAA/B1ENEgMAAAA=="/>
          <air:TaxInfo Category="ZR" Amount="USD2.80" Key="cSj5N0BAAA/B2ENEgMAAAA=="/>
          <air:TaxInfo Category="YQ" Amount="USD32.60" Key="cSj5N0BAAA/B3ENEgMAAAA=="/>
          <air:TaxInfo Category="YR" Amount="USD22.40" Key="cSj5N0BAAA/B4ENEgMAAAA=="/>
          <air:FareCalc>KWI FZ DXB 26.22LRTPRKW1 FZ KWI 26.22LRTPRKW1 NUC52.44END ROE0.305079</air:FareCalc>
          <air:PassengerType Code="ADT" BookingTravelerRef="MTkwOTExMTIxODE3cG0wMDA="/>
          <air:PassengerType Code="ADT" BookingTravelerRef="MTkwOTExMTIxODE3cG0xMDE="/>
          <air:ChangePenalty>
            <air:Percentage>0.00</air:Percentage>
          </air:ChangePenalty>
          <air:CancelPenalty>
            <air:Amount>USD112.00</air:Amount>
          </air:CancelPenalty>
          <air:BaggageAllowances>
            <air:BaggageAllowanceInfo Origin="KWI" Destination="DXB" Carrier="FZ">
              <air:TextInfo>
                <air:Text>20K</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="DXB" Destination="KWI" Carrier="FZ">
              <air:TextInfo>
                <air:Text>20K</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:FareNote Key="cSj5N0BAAA/BDFNEgMAAAA==">RATE USED IN EQU TOTAL IS BSR 1KWD - 3.299343USD</air:FareNote>
        <air:FareNote Key="cSj5N0BAAA/BEFNEgMAAAA==">LAST DATE TO PURCHASE TICKET: 12SEP19</air:FareNote>
        <air:FareNote Key="cSj5N0BAAA/BFFNEgMAAAA==">TICKETING AGENCY H2B</air:FareNote>
        <air:FareNote Key="cSj5N0BAAA/BGFNEgMAAAA==">DEFAULT PLATING CARRIER FZ</air:FareNote>
        <air:FareNote Key="cSj5N0BAAA/BHFNEgMAAAA==">FARE HAS A PLATING CARRIER RESTRICTION</air:FareNote>
        <air:FareNote Key="cSj5N0BAAA/BIFNEgMAAAA==">E-TKT REQUIRED</air:FareNote>
        <air:FareNote Key="cSj5N0BAAA/BJFNEgMAAAA==">TICKETING FEES MAY APPLY</air:FareNote>
        <common_v42_0:HostToken Key="cSj5N0BAAA/BtENEgMAAAA==">GFB10101ADT00  01LRTPRKW1                              010001#GFB200010101NADTV302601KW00500001992L#</common_v42_0:HostToken>
        <common_v42_0:HostToken Key="cSj5N0BAAA/BuENEgMAAAA==">GFB10101ADT00  02LRTPRKW1                              010002#GFB200010102NADTV302601KW00500001992L#</common_v42_0:HostToken>
      </air:AirPricingSolution>
      <ActionStatus xmlns="http://www.travelport.com/schema/common_v42_0" Type="ACTIVE" TicketDate="T*" ProviderCode="1G"/>
      <Payment xmlns="http://www.travelport.com/schema/common_v42_0" Key="1" Type="Itinerary" FormOfPaymentRef="1" Amount="USD305.60"/>
    </AirCreateReservationReq>
  </soap:Body>
</soap:Envelope>