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

UNABLE TO FARE QUOTE #475

Open rineeshn opened 6 years ago

rineeshn commented 6 years ago

The credential we are using are given below, Username Universal API/uAPI1711036797-777f85ef Target branch P7082562

We are getting the below error while doing the LowFareSearchReq. “UNABLE TO FARE QUOTE”.

vivekjyotipramanik commented 6 years ago

Hi rineeshn,

UNABLE TO FAREQUOTE is a valid error and can show up if there is no fare available for the AirSegments requested. This is quite common in PreProduction due to limited Test data. Please try with dates at least 60 days from now and different markets/airlines. Please let us know how it goes. Thanks.

rineeshn commented 6 years ago

Hi vivekjyotipramanik, Even after changing the date we are getting the same error.

vivekjyotipramanik commented 6 years ago

Hi rineeshn,

Please change the Markets as well, Please try with MEL-SYD or DEN-SFO. Please let us know how it goes. Thanks.

rineeshn commented 6 years ago

Hi vivekjyotipramanik, Tried the "Melbourne to Sydney" on "18-May-2018" and getting the same error.

vivekjyotipramanik commented 6 years ago

Hi rineeshn,

Could you please provide the request xml you are using. Thanks.

rineeshn commented 6 years ago

Hi vivekjyotipramanik , This is the xml request.

<?xml version="1.0" encoding="utf-16"?>

REQ.txt

vivekjyotipramanik commented 6 years ago

Hi rineeshn,

Looks like you are trying with MEL-SFO and it is a pretty hard to find fare in PreProduction. Please check with the below updated request. Also, Please add the manualFareAdjustment during Airpricereq. Please let us know how it goes. Thanks.

<?xml version="1.0" encoding="utf-16"?>
<LowFareSearchReq xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" TargetBranch="P7082562">
  <BillingPointOfSaleInfo OriginApplication="UAPI" xmlns="http://www.travelport.com/schema/common_v43_0" />
  <SearchAirLeg xmlns="http://www.travelport.com/schema/air_v43_0">
    <SearchOrigin>
      <Airport Code="MEL" xmlns="http://www.travelport.com/schema/common_v43_0" />
    </SearchOrigin>
    <SearchDestination>
      <Airport Code="SYD" xmlns="http://www.travelport.com/schema/common_v43_0" />
    </SearchDestination>
    <SearchDepTime PreferredTime="2018-05-26" />
    <AirLegModifiers>
      <PreferredCabins>
        <CabinClass Type="Y" xmlns="http://www.travelport.com/schema/common_v43_0" />
      </PreferredCabins>
    </AirLegModifiers>
  </SearchAirLeg>
  <AirSearchModifiers MaxSolutions="25" xmlns="http://www.travelport.com/schema/air_v43_0">
    <PreferredProviders>
      <Provider Code="1G" xmlns="http://www.travelport.com/schema/common_v43_0" />
    </PreferredProviders>
  </AirSearchModifiers>
  <SearchPassenger Code="ADT" BookingTravelerRef="1" xmlns="http://www.travelport.com/schema/common_v43_0" />
  <SearchPassenger Code="CNN" BookingTravelerRef="2" xmlns="http://www.travelport.com/schema/common_v43_0" />
</LowFareSearchReq>
rineeshn commented 6 years ago

Hi vivekjyotipramanik ,

Even after changing the request we are getting the same error. But we are able to get the result while using other 30 day credentials.

<?xml version="1.0" encoding="utf-16"?>

REQ_NEW.txt

vivekjyotipramanik commented 6 years ago

Hi rineeshn,

Please try once without the ManualFareAdjustments. Please let us know how it goes. Thanks.

rineeshn commented 6 years ago

Hi vivekjyotipramanik, Tried without the ManualFareAdjustments and the got the same error, <?xml version="1.0" encoding="utf-16"?>

vivekjyotipramanik commented 6 years ago

Hi rineeshn,

Could you please share your complete credentials to the below email. Thanks.

vivek.pramanik@travelport.com

rineeshn commented 6 years ago

Hi vivekjyotipramanik,

The credentials have been sent to your Email ID.

vivekjyotipramanik commented 6 years ago

Hi rineeshn,

We have received the credentials while we are working on the credentials, Could you please request for a new set of trial credentials. Thanks.