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

DiscountNumber does not work #466

Open hnguyen14 opened 6 years ago

hnguyen14 commented 6 years ago

Im using the Discount Number in the request as followed.

<veh:VehicleSearchAvailabilityReq ReturnAllRates="true" ReturnExtraRateInfo="true" ReturnApproximateTotal="true" ReturnMediaLinks="true" TargetBranch="***" TraceId="*****" xmlns:veh="http://www.travelport.com/schema/vehicle_v39_0" xmlns:vehicle="http://www.travelport.com/schema/vehicle_v39_0" xmlns:com="http://www.travelport.com/schema/common_v39_0">
  <com:BillingPointOfSaleInfo OriginApplication="UAPI"/>
  <veh:VehicleDateLocation PickupDateTime="2018-02-16T10:00" PickupLocation="SFO" ReturnDateTime="2018-02-16T12:00" ReturnLocation="SFO"/>
  <veh:VehicleSearchModifiers>
    <veh:RateModifiers VendorCode="ZE" DiscountNumber="*******" />
  </veh:VehicleSearchModifiers>
</veh:VehicleSearchAvailabilityReq>

In the response, the rate for ZE vehicles looks like standard rate (not the discounted rate). When doing the same query but with PermittedVendor modifier, the rate is correct.

    <veh:PermittedVendors>
      <veh:Vendor Code="ZE"/>
    </veh:PermittedVendors>
vivekjyotipramanik commented 6 years ago

Hi hnguyen14,

Could you please create a MyTravelport ticket for this issue. Thanks.