Closed huzatech closed 4 years ago
Hi huzatech,
Please find below the LFS request with both ProviderCode and SupplierCode. As for AirPrice and AirCreate, the segment has been already selected in this code, the SupplierCode does not need to provided separately. Thanks.
<LowFareSearchReq xmlns="http://www.travelport.com/schema/air_v42_0" TraceId="765082f4-aa1e-48c8-aac6-e770786f8ce3" TargetBranch="P3088249" ReturnUpsellFare="true">
<BillingPointOfSaleInfo xmlns="http://www.travelport.com/schema/common_v42_0" OriginApplication="uAPI" />
<SearchAirLeg>
<SearchOrigin>
<CityOrAirport xmlns="http://www.travelport.com/schema/common_v42_0" Code="DEN" PreferCity="true" />
</SearchOrigin>
<SearchDestination>
<CityOrAirport xmlns="http://www.travelport.com/schema/common_v42_0" Code="SFO" PreferCity="true" />
</SearchDestination>
<SearchDepTime PreferredTime="2020-02-20" />
<AirLegModifiers>
<PreferredCabins>
<CabinClass xmlns="http://www.travelport.com/schema/common_v42_0" Type="Economy" />
</PreferredCabins>
</AirLegModifiers>
</SearchAirLeg>
<AirSearchModifiers>
<PreferredProviders>
<Provider xmlns="http://www.travelport.com/schema/common_v42_0" Code="1G" />
</PreferredProviders>
<PreferredCarriers>
<Carrier xmlns="http://www.travelport.com/schema/common_v42_0" Code="DL" />
</PreferredCarriers>
</AirSearchModifiers>
<SearchPassenger xmlns="http://www.travelport.com/schema/common_v42_0" Code="ADT" />
<AirPricingModifiers>
<AccountCodes>
<AccountCode xmlns="http://www.travelport.com/schema/common_v42_0" Code="-" />
</AccountCodes>
</AirPricingModifiers>
</LowFareSearchReq>
<AirPriceReq xmlns="http://www.travelport.com/schema/air_v42_0" TraceId="c9ab9e87-8666-40f3-b41c-e0130ba44731" AuthorizedBy="Travelport" TargetBranch="P3088249">
<BillingPointOfSaleInfo xmlns="http://www.travelport.com/schema/common_v42_0" OriginApplication="uAPI" />
<AirItinerary>
<AirSegment Key="E8hfU/bc1BKAhuQ3rCAAAA==" AvailabilitySource="Q" Equipment="738" AvailabilityDisplayType="Fare Shop/Optimal Shop" Group="0" Carrier="DL" FlightNumber="1185" Origin="DEN" Destination="SLC" DepartureTime="2020-02-20T05:45:00.000-07:00" ArrivalTime="2020-02-20T07:38:00.000-07:00" FlightTime="113" Distance="380" ProviderCode="1G" ClassOfService="E" />
<AirSegment Key="E8hfU/bc1BKAjuQ3rCAAAA==" AvailabilitySource="Q" Equipment="221" AvailabilityDisplayType="Fare Shop/Optimal Shop" Group="0" Carrier="DL" FlightNumber="2989" Origin="SLC" Destination="SJC" DepartureTime="2020-02-20T08:25:00.000-07:00" ArrivalTime="2020-02-20T09:31:00.000-08:00" FlightTime="126" Distance="584" ProviderCode="1G" ClassOfService="E" />
</AirItinerary>
<AirPricingModifiers InventoryRequestType="DirectAccess">
<BrandModifiers ModifierType="FareFamilyDisplay" />
</AirPricingModifiers>
<SearchPassenger xmlns="http://www.travelport.com/schema/common_v42_0" Code="ADT" BookingTravelerRef="cHYyQmt6YlpxcmNFZWdndg==" Key="cHYyQmt6YlpxcmNFZWdndg==" />
<AirPricingCommand>
<AirSegmentPricingModifiers AirSegmentRef="E8hfU/bc1BKAhuQ3rCAAAA==" FareBasisCode="VA7NQ3BN">
<PermittedBookingCodes>
<BookingCode Code="E" />
</PermittedBookingCodes>
</AirSegmentPricingModifiers>
<AirSegmentPricingModifiers AirSegmentRef="E8hfU/bc1BKAjuQ3rCAAAA==" FareBasisCode="VA7NQ3BN">
<PermittedBookingCodes>
<BookingCode Code="E" />
</PermittedBookingCodes>
</AirSegmentPricingModifiers>
</AirPricingCommand>
<FormOfPayment xmlns="http://www.travelport.com/schema/common_v42_0" Type="Credit" />
</AirPriceReq>
Hi Vivek,
thanks for your response I tried and got the LFS as per coded but getting error in AirPrice. see our code for both AirPriceReq and Res: (Kindly reply)
<?xml version="1.0"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<air:AirPriceReq xmlns:air="http://www.travelport.com/schema/air_v45_0" AuthorizedBy="user" TargetBranch="P32206342" TraceId="trace">
<com:BillingPointOfSaleInfo xmlns:com="http://www.travelport.com/schema/common_v45_0" OriginApplication="UAPI"/>
<air:AirItinerary>
<air:AirSegment Key="tqYYU/BAAA/BasyB/DAAAA==" Group="0" Carrier="WY" FlightNumber="346" Origin="ISB" Destination="MCT" DepartureTime="2020-01-31T11:00:00.000+05:00" ArrivalTime="2020-01-31T13:15:00.000+04:00" FlightTime="195" Distance="1103" ETicketability="Yes" Equipment="738" ChangeOfPlane="false" ParticipantLevel="Secure Sell" LinkAvailability="true" PolledAvailabilityOption="Polled avail used" OptionalServicesIndicator="false" AvailabilitySource="S" AvailabilityDisplayType="Fare Shop/Optimal Shop" ProviderCode="1G"/>
</air:AirItinerary>
<com:SearchPassenger xmlns:com="http://www.travelport.com/schema/common_v45_0" Code="ADT" BookingTravelerRef="WWWWWWWWW"/>
<air:AirPricingModifiers FaresIndicator="PublicAndPrivateFares" PlatingCarrier="WY">
<air:AccountCodes>
<com:AccountCode xmlns:com="http://www.travelport.com/schema/common_v45_0" Code="BKH00001"/>
</air:AccountCodes>
</air:AirPricingModifiers>
<air:AirPricingCommand>
<air:AirSegmentPricingModifiers AirSegmentRef="tqYYU/BAAA/BasyB/DAAAA==" CabinClass="Economy">
<air:PermittedBookingCodes>
<air:BookingCode Code="L"/>
</air:PermittedBookingCodes>
</air:AirSegmentPricingModifiers>
</air:AirPricingCommand>
</air:AirPriceReq>
</soapenv:Body>
</soapenv:Envelope>
=================================================================
<?xml version="1.0"?>
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>Server.Data</faultcode>
<faultstring>Error unmarshalling message body: Expected "{http://www.travelport.com/schema/air_v45_0}AirPriceReq" end tag, found "{http://www.travelport.com/schema/air_v45_0}AirPricingModifiers" start tag (line 5, col 893, in UTF-8)</faultstring>
<detail>
<common_v45_0:ErrorInfo xmlns:common_v45_0="http://www.travelport.com/schema/common_v45_0">
<common_v45_0:Code>1005</common_v45_0:Code>
<common_v45_0:Service>WEBSVC</common_v45_0:Service>
<common_v45_0:Type>Data</common_v45_0:Type>
<common_v45_0:Description>Unable to parse XML stream</common_v45_0:Description>
<common_v45_0:TransactionId>DC2E65E40A0759C2ACD6A7B955EE9699</common_v45_0:TransactionId>
<common_v45_0:TraceId>trace</common_v45_0:TraceId>
</common_v45_0:ErrorInfo>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>
Hi Vevik,
seeking your fruitful response to get cover this pricing and PNR completion, please
Hi huzatech,
Please try with the either of the below request. You have added the AirPricingModifiers in incorrect location. Thanks.
<?xml version="1.0"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<air:AirPriceReq xmlns:air="http://www.travelport.com/schema/air_v45_0" AuthorizedBy="user" TargetBranch="P32206342" TraceId="trace">
<com:BillingPointOfSaleInfo xmlns:com="http://www.travelport.com/schema/common_v45_0" OriginApplication="UAPI"/>
<air:AirItinerary>
<air:AirSegment Key="tqYYU/BAAA/BasyB/DAAAA==" Group="0" Carrier="WY" FlightNumber="346" Origin="ISB" Destination="MCT" DepartureTime="2020-01-31T11:00:00.000+05:00" ArrivalTime="2020-01-31T13:15:00.000+04:00" FlightTime="195" Distance="1103" ETicketability="Yes" Equipment="738" ChangeOfPlane="false" ParticipantLevel="Secure Sell" LinkAvailability="true" PolledAvailabilityOption="Polled avail used" OptionalServicesIndicator="false" AvailabilitySource="S" AvailabilityDisplayType="Fare Shop/Optimal Shop" ProviderCode="1G"/>
</air:AirItinerary>
<com:SearchPassenger xmlns:com="http://www.travelport.com/schema/common_v45_0" Code="ADT" BookingTravelerRef="WWWWWWWWW"/>
<air:AirPricingCommand>
<air:AirPricingModifiers FaresIndicator="PublicAndPrivateFares" PlatingCarrier="WY">
<air:AccountCodes>
<com:AccountCode xmlns:com="http://www.travelport.com/schema/common_v45_0" Code="BKH00001"/>
</air:AccountCodes>
</air:AirPricingModifiers>
<air:AirSegmentPricingModifiers AirSegmentRef="tqYYU/BAAA/BasyB/DAAAA==" CabinClass="Economy">
<air:PermittedBookingCodes>
<air:BookingCode Code="L"/>
</air:PermittedBookingCodes>
</air:AirSegmentPricingModifiers>
</air:AirPricingCommand>
</air:AirPriceReq>
</soapenv:Body>
</soapenv:Envelope>
<?xml version="1.0"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<air:AirPriceReq xmlns:air="http://www.travelport.com/schema/air_v45_0" AuthorizedBy="user" TargetBranch="P32206342" TraceId="trace">
<com:BillingPointOfSaleInfo xmlns:com="http://www.travelport.com/schema/common_v45_0" OriginApplication="UAPI"/>
<air:AirItinerary>
<air:AirSegment Key="tqYYU/BAAA/BasyB/DAAAA==" Group="0" Carrier="WY" FlightNumber="346" Origin="ISB" Destination="MCT" DepartureTime="2020-01-31T11:00:00.000+05:00" ArrivalTime="2020-01-31T13:15:00.000+04:00" FlightTime="195" Distance="1103" ETicketability="Yes" Equipment="738" ChangeOfPlane="false" ParticipantLevel="Secure Sell" LinkAvailability="true" PolledAvailabilityOption="Polled avail used" OptionalServicesIndicator="false" AvailabilitySource="S" AvailabilityDisplayType="Fare Shop/Optimal Shop" ProviderCode="1G"/>
</air:AirItinerary>
<air:AirPricingModifiers FaresIndicator="PublicAndPrivateFares" PlatingCarrier="WY">
<air:AccountCodes>
<com:AccountCode xmlns:com="http://www.travelport.com/schema/common_v45_0" Code="BKH00001"/>
</air:AccountCodes>
</air:AirPricingModifiers>
<com:SearchPassenger xmlns:com="http://www.travelport.com/schema/common_v45_0" Code="ADT" BookingTravelerRef="WWWWWWWWW"/>
<air:AirPricingCommand>
<air:AirSegmentPricingModifiers AirSegmentRef="tqYYU/BAAA/BasyB/DAAAA==" CabinClass="Economy">
<air:PermittedBookingCodes>
<air:BookingCode Code="L"/>
</air:PermittedBookingCodes>
</air:AirSegmentPricingModifiers>
</air:AirPricingCommand>
</air:AirPriceReq>
</soapenv:Body>
</soapenv:Envelope>
Hi Vivek,
Thanks for your response. LFS and AirPrice is now working correctly but the issue is coming in ACR. Booking response missing Aripricing solution completely and also show error "Some of the requested AirPricingInfos could not be saved for the requested provider."
--------------Booking Req----------------------
<?xml version="1.0"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<univ:AirCreateReservationReq xmlns:air="http://www.travelport.com/schema/air_v45_0" xmlns:common_v45_0="http://www.travelport.com/schema/common_v45_0" xmlns:univ="http://www.travelport.com/schema/universal_v45_0" AuthorizedBy="user" RetainReservation="Both" TargetBranch="XXXXX" TraceId="trace">
<com:BillingPointOfSaleInfo xmlns:com="http://www.travelport.com/schema/common_v45_0" OriginApplication="UAPI"/>
<com:BookingTraveler xmlns:com="http://www.travelport.com/schema/common_v45_0" DOB="2001-01-29" Gender="M" Key="VLV9CWn5LHKk8UCOqV0" TravelerType="ADT">
<com:BookingTravelerName First="ZARIF" Last="KHAN" Prefix="MR"/>
<com:PhoneNumber AreaCode="051" CountryCode="0092" Location="ISB" Number="3005959967"/>
<com:Email EmailID="afridiofkh@gmail.com" Type="office"/>
<com:SSR Carrier="BA" FreeText="P/PK/PRXN01/PK/29Jan01/M/29Jan22/KHAN/ZARIF" SegmentRef="Tcx8k/pYlDKAqap3kGAAAA==" Status="HK" Type="DOCS"/>
</com:BookingTraveler>
<com:FormOfPayment xmlns:com="http://www.travelport.com/schema/common_v45_0" Type="Cash"/>
<air:AirPricingSolution Key="Tcx8k/pYlDKAsap3kGAAAA==" TotalPrice="PKR167927" BasePrice="USD881.00" ApproximateTotalPrice="PKR167927" ApproximateBasePrice="PKR136630" EquivalentBasePrice="PKR136630" Taxes="PKR31297" Fees="PKR0" ApproximateTaxes="PKR31297" QuoteDate="2020-01-29">
<air:AirSegment ArrivalTime="2020-02-28T13:00:00.000+00:00" AvailabilityDisplayType="Fare Specific Fare Quote Unbooked" AvailabilitySource="S" Carrier="BA" ChangeOfPlane="false" ClassOfService="B" DepartureTime="2020-02-28T09:00:00.000+05:00" Destination="LHR" Distance="3741" Equipment="788" FlightNumber="260" FlightTime="540" Group="0" Key="Tcx8k/pYlDKAqap3kGAAAA==" OptionalServicesIndicator="false" Origin="ISB" ParticipantLevel="Secure Sell" PolledAvailabilityOption="O and D cache or polled status used with different local status" ProviderCode="1G" TravelTime="540" LinkAvailability="true">
<air:FlightDetails ArrivalTime="2020-02-28T13:00:00.000+00:00" DepartureTime="2020-02-28T09:00:00.000+05:00" Destination="LHR" Distance="3741" FlightTime="540" Key="Tcx8k/pYlDKArap3kGAAAA==" Origin="ISB" TravelTime="540"/>
</air:AirSegment>
<air:AirPricingInfo Key="Tcx8k/pYlDKAuap3kGAAAA==" TotalPrice="PKR167927" BasePrice="USD881.00" ApproximateTotalPrice="PKR167927" ApproximateBasePrice="PKR136630" EquivalentBasePrice="PKR136630" ApproximateTaxes="PKR31297" Taxes="PKR31297" LatestTicketingTime="2020-02-05T23:59:00.000+05:00" PricingMethod="GuaranteedUsingAirlinePrivateFare" IncludesVAT="false" ETicketability="Yes" ProviderCode="1G" TotalNetPrice="PKR167927">
<air:FareInfo Key="Tcx8k/pYlDKA0ap3kGAAAA==" FareBasis="BNNF00S6" PassengerTypeCode="ADT" Origin="ISB" Destination="LHR" EffectiveDate="2020-01-29T12:40:00.000+05:00" DepartureDate="2020-02-28" Amount="PKR136630" PrivateFare="AirlinePrivateFare" TourCode="1016345" NotValidBefore="2020-02-28" NotValidAfter="2020-02-28" PseudoCityCode="XXXXXX" TaxAmount="PKR31297.00">
<common_v45_0:AccountCode Code="PKK45" ProviderCode="1G"/>
</air:FareInfo>
<air:BookingInfo BookingCode="B" CabinClass="Economy" FareInfoRef="Tcx8k/pYlDKA0ap3kGAAAA==" SegmentRef="Tcx8k/pYlDKAqap3kGAAAA==" HostTokenRef="Tcx8k/pYlDKAtap3kGAAAA=="/>
<air:TaxInfo Category="N9" Amount="PKR250" Key="Tcx8k/pYlDKAvap3kGAAAA=="/>
<air:TaxInfo Category="RG" Amount="PKR5000" Key="Tcx8k/pYlDKAwap3kGAAAA=="/>
<air:TaxInfo Category="SP" Amount="PKR2000" Key="Tcx8k/pYlDKAxap3kGAAAA=="/>
<air:TaxInfo Category="YD" Amount="PKR2800" Key="Tcx8k/pYlDKAyap3kGAAAA=="/>
<air:TaxInfo Category="YQ" Amount="PKR21247" Key="Tcx8k/pYlDKAzap3kGAAAA=="/>
<air:PassengerType Code="ADT" BookingTravelerRef="VLV9CWn5LHKk8UCOqV0"/>
<air:ChangePenalty>
<air:Amount>PKR12410</air:Amount>
</air:ChangePenalty>
<air:CancelPenalty>
<air:Percentage>100.00</air:Percentage>
</air:CancelPenalty>
</air:AirPricingInfo>
<common_v45_0:HostToken Key="Tcx8k/pYlDKAtap3kGAAAA==">GFB10101ADT00 01BNNF00S6 PKSO 010001#GFB200010101NADTV3901PKSO0010000199722018949EH#GFMCXOX901YPKSOFBA ADTBNNF00S6</common_v45_0:HostToken>
</air:AirPricingSolution>
<com:ActionStatus xmlns:com="http://www.travelport.com/schema/common_v45_0" ProviderCode="1G" TicketDate="2020-01-29T23:59:00.000+05:00" Type="TAW"/>
</univ:AirCreateReservationReq>
</soapenv:Body>
</soapenv:Envelope>
------------------------booking Response ------------------------------------------------------------
<?xml version="1.0"?>
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<universal:AirCreateReservationRsp xmlns:universal="http://www.travelport.com/schema/universal_v45_0" xmlns:common_v45_0="http://www.travelport.com/schema/common_v45_0" xmlns:air="http://www.travelport.com/schema/air_v45_0" TraceId="trace" TransactionId="F040B79A0A0759DA82ADF80CE077777B" ResponseTime="2918">
<common_v45_0:ResponseMessage Code="0" Type="Warning" ProviderCode="1G">NO FARES</common_v45_0:ResponseMessage>
<common_v45_0:ResponseMessage Code="0" Type="Warning" ProviderCode="1G">Some of the requested AirPricingInfos could not be saved for the requested provider.</common_v45_0:ResponseMessage>
<common_v45_0:ResponseMessage Code="0" Type="Warning" ProviderCode="1G">NO VALID FARE FOR INPUT CRITERIA</common_v45_0:ResponseMessage>
<universal:UniversalRecord LocatorCode="0KKOJ0" Version="0" Status="Active">
<common_v45_0:BookingTraveler Key="iumuk/BAAA/BliaXsGAAAA==" TravelerType="ADT" DOB="2001-01-29" Gender="M" ElStat="A">
<common_v45_0:BookingTravelerName Prefix="MR" First="ZARIF" Last="KHAN"/>
<common_v45_0:PhoneNumber Key="iumuk/BAAA/BmiaXsGAAAA==" Type="None" Location="ISB" CountryCode="0092" Number="3005959967" AreaCode="051" ElStat="A">
<common_v45_0:ProviderReservationInfoRef Key="iumuk/BAAA/B8s1XsGAAAA=="/>
</common_v45_0:PhoneNumber>
<common_v45_0:Email Key="iumuk/BAAA/BoiaXsGAAAA==" Type="office" EmailID="afridiofkh@gmail.com" ElStat="A">
<common_v45_0:ProviderReservationInfoRef Key="iumuk/BAAA/B8s1XsGAAAA=="/>
</common_v45_0:Email>
<common_v45_0:SSR Key="iumuk/BAAA/BniaXsGAAAA==" Status="HK" Type="DOCS" FreeText="P/PK/PRXN01/PK/29JAN01/M/29JAN22/KHAN/ZARIF -1KHAN/ZARIFMR" Carrier="BA" ProviderReservationInfoRef="iumuk/BAAA/B8s1XsGAAAA==" ElStat="A"/>
</common_v45_0:BookingTraveler>
<common_v45_0:ActionStatus Key="iumuk/BAAA/BqiaXsGAAAA==" Type="TAW" TicketDate="2020-01-29T23:59:00.000+05:00" ProviderReservationInfoRef="iumuk/BAAA/B8s1XsGAAAA==" ProviderCode="1G" ElStat="A"/>
<universal:ProviderReservationInfo Key="iumuk/BAAA/B8s1XsGAAAA==" ProviderCode="1G" LocatorCode="BHSVSC" CreateDate="2020-01-29T07:42:53.581+00:00" ModifiedDate="2020-01-29T07:42:53.581+00:00" HostCreateDate="2020-01-29" OwningPCC="xxxxx"/>
<air:AirReservation LocatorCode="0KKOJM" CreateDate="2020-01-29T07:42:53.072+00:00" ModifiedDate="2020-01-29T07:42:53.581+00:00">
<common_v45_0:SupplierLocator SupplierCode="BA" SupplierLocatorCode="R7PAJ8" ProviderReservationInfoRef="iumuk/BAAA/B8s1XsGAAAA==" CreateDateTime="2020-01-29T07:42:00.000+00:00"/>
<common_v45_0:BookingTravelerRef Key="iumuk/BAAA/BliaXsGAAAA=="/>
<common_v45_0:ProviderReservationInfoRef Key="iumuk/BAAA/B8s1XsGAAAA=="/>
<air:AirSegment Key="Tcx8k/pYlDKAqap3kGAAAA==" Group="0" Carrier="BA" CabinClass="Economy" FlightNumber="260" ProviderCode="1G" Origin="ISB" Destination="LHR" DepartureTime="2020-02-28T09:00:00.000+05:00" ArrivalTime="2020-02-28T13:00:00.000+00:00" TravelTime="540" ClassOfService="B" ETicketability="Yes" Equipment="788" Status="HK" ChangeOfPlane="false" GuaranteedPaymentCarrier="No" ProviderReservationInfoRef="iumuk/BAAA/B8s1XsGAAAA==" TravelOrder="1" ProviderSegmentOrder="1" OptionalServicesIndicator="false" AvailabilitySource="S" ParticipantLevel="Secure Sell" LinkAvailability="true" ElStat="A">
<air:FlightDetails Key="Tcx8k/pYlDKArap3kGAAAA==" Origin="ISB" Destination="LHR" DepartureTime="2020-02-28T09:00:00.000+05:00" ArrivalTime="2020-02-28T13:00:00.000+00:00" FlightTime="540" TravelTime="540" Equipment="788" DestinationTerminal="5" AutomatedCheckin="false" ElStat="A"/>
<common_v45_0:SellMessage>ARRIVES LHR TERMINAL 5</common_v45_0:SellMessage>
<common_v45_0:SellMessage>ADD ADVANCE PASSENGER INFORMATION SSRS DOCA/DOCO/DOCS</common_v45_0:SellMessage>
<common_v45_0:SellMessage>PERSONAL DATA WHICH IS PROVIDED TO US IN CONNECTION</common_v45_0:SellMessage>
<common_v45_0:SellMessage>WITH YOUR TRAVEL MAY BE PASSED TO GOVERNMENT AUTHORITIES</common_v45_0:SellMessage>
<common_v45_0:SellMessage>FOR BORDER CONTROL AND AVIATION SECURITY PURPOSES</common_v45_0:SellMessage>
</air:AirSegment>
</air:AirReservation>
<common_v45_0:AgencyInfo>
<common_v45_0:AgentAction ActionType="Created" AgentCode="XXXXXXXX" BranchCode="XXXXXXXXX" AgencyCode="XXXXX" EventTime="2020-01-29T07:42:50.879+00:00"/>
</common_v45_0:AgencyInfo>
<common_v45_0:FormOfPayment Key="iumuk/BAAA/BpiaXsGAAAA==" Type="Cash" Reusable="false" ProfileKey="tcRjmCrjSGiRBjs8KULHHA==" ElStat="A">
<common_v45_0:ProviderReservationInfoRef Key="iumuk/BAAA/B8s1XsGAAAA=="/>
</common_v45_0:FormOfPayment>
</universal:UniversalRecord>
</universal:AirCreateReservationRsp>
</SOAP:Body>
</SOAP:Envelope>
Hi huzatech,
Could you please try by adding PlatingCarrier in the request. Please find below the update ACReq. Thanks.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<univ:AirCreateReservationReq xmlns:air="http://www.travelport.com/schema/air_v45_0" xmlns:common_v45_0="http://www.travelport.com/schema/common_v45_0" xmlns:univ="http://www.travelport.com/schema/universal_v45_0" AuthorizedBy="user" RetainReservation="Both" TargetBranch="XXXXX" TraceId="trace">
<com:BillingPointOfSaleInfo xmlns:com="http://www.travelport.com/schema/common_v45_0" OriginApplication="UAPI"/>
<com:BookingTraveler xmlns:com="http://www.travelport.com/schema/common_v45_0" DOB="2001-01-29" Gender="M" Key="VLV9CWn5LHKk8UCOqV0" TravelerType="ADT">
<com:BookingTravelerName First="ZARIF" Last="KHAN" Prefix="MR"/>
<com:PhoneNumber AreaCode="051" CountryCode="0092" Location="ISB" Number="3005959967"/>
<com:Email EmailID="afridiofkh@gmail.com" Type="office"/>
<com:SSR Carrier="BA" FreeText="P/PK/PRXN01/PK/29Jan01/M/29Jan22/KHAN/ZARIF" SegmentRef="Tcx8k/pYlDKAqap3kGAAAA==" Status="HK" Type="DOCS"/>
</com:BookingTraveler>
<com:FormOfPayment xmlns:com="http://www.travelport.com/schema/common_v45_0" Type="Cash"/>
<air:AirPricingSolution Key="Tcx8k/pYlDKAsap3kGAAAA==" TotalPrice="PKR167927" BasePrice="USD881.00" ApproximateTotalPrice="PKR167927" ApproximateBasePrice="PKR136630" EquivalentBasePrice="PKR136630" Taxes="PKR31297" Fees="PKR0" ApproximateTaxes="PKR31297" QuoteDate="2020-01-29">
<air:AirSegment ArrivalTime="2020-02-28T13:00:00.000+00:00" AvailabilityDisplayType="Fare Specific Fare Quote Unbooked" AvailabilitySource="S" Carrier="BA" ChangeOfPlane="false" ClassOfService="B" DepartureTime="2020-02-28T09:00:00.000+05:00" Destination="LHR" Distance="3741" Equipment="788" FlightNumber="260" FlightTime="540" Group="0" Key="Tcx8k/pYlDKAqap3kGAAAA==" OptionalServicesIndicator="false" Origin="ISB" ParticipantLevel="Secure Sell" PolledAvailabilityOption="O and D cache or polled status used with different local status" ProviderCode="1G" TravelTime="540" LinkAvailability="true">
<air:FlightDetails ArrivalTime="2020-02-28T13:00:00.000+00:00" DepartureTime="2020-02-28T09:00:00.000+05:00" Destination="LHR" Distance="3741" FlightTime="540" Key="Tcx8k/pYlDKArap3kGAAAA==" Origin="ISB" TravelTime="540"/>
</air:AirSegment>
<air:AirPricingInfo Key="Tcx8k/pYlDKAuap3kGAAAA==" PlatingCarrier="BA" TotalPrice="PKR167927" BasePrice="USD881.00" ApproximateTotalPrice="PKR167927" ApproximateBasePrice="PKR136630" EquivalentBasePrice="PKR136630" ApproximateTaxes="PKR31297" Taxes="PKR31297" LatestTicketingTime="2020-02-05T23:59:00.000+05:00" PricingMethod="GuaranteedUsingAirlinePrivateFare" IncludesVAT="false" ETicketability="Yes" ProviderCode="1G" TotalNetPrice="PKR167927">
<air:FareInfo Key="Tcx8k/pYlDKA0ap3kGAAAA==" FareBasis="BNNF00S6" PassengerTypeCode="ADT" Origin="ISB" Destination="LHR" EffectiveDate="2020-01-29T12:40:00.000+05:00" DepartureDate="2020-02-28" Amount="PKR136630" PrivateFare="AirlinePrivateFare" TourCode="1016345" NotValidBefore="2020-02-28" NotValidAfter="2020-02-28" PseudoCityCode="XXXXXX" TaxAmount="PKR31297.00">
<common_v45_0:AccountCode Code="PKK45" ProviderCode="1G"/>
</air:FareInfo>
<air:BookingInfo BookingCode="B" CabinClass="Economy" FareInfoRef="Tcx8k/pYlDKA0ap3kGAAAA==" SegmentRef="Tcx8k/pYlDKAqap3kGAAAA==" HostTokenRef="Tcx8k/pYlDKAtap3kGAAAA=="/>
<air:TaxInfo Category="N9" Amount="PKR250" Key="Tcx8k/pYlDKAvap3kGAAAA=="/>
<air:TaxInfo Category="RG" Amount="PKR5000" Key="Tcx8k/pYlDKAwap3kGAAAA=="/>
<air:TaxInfo Category="SP" Amount="PKR2000" Key="Tcx8k/pYlDKAxap3kGAAAA=="/>
<air:TaxInfo Category="YD" Amount="PKR2800" Key="Tcx8k/pYlDKAyap3kGAAAA=="/>
<air:TaxInfo Category="YQ" Amount="PKR21247" Key="Tcx8k/pYlDKAzap3kGAAAA=="/>
<air:PassengerType Code="ADT" BookingTravelerRef="VLV9CWn5LHKk8UCOqV0"/>
<air:ChangePenalty>
<air:Amount>PKR12410</air:Amount>
</air:ChangePenalty>
<air:CancelPenalty>
<air:Percentage>100.00</air:Percentage>
</air:CancelPenalty>
</air:AirPricingInfo>
<common_v45_0:HostToken Key="Tcx8k/pYlDKAtap3kGAAAA==">GFB10101ADT00 01BNNF00S6 PKSO 010001#GFB200010101NADTV3901PKSO0010000199722018949EH#GFMCXOX901YPKSOFBA ADTBNNF00S6</common_v45_0:HostToken>
</air:AirPricingSolution>
<com:ActionStatus xmlns:com="http://www.travelport.com/schema/common_v45_0" ProviderCode="1G" TicketDate="2020-01-29T23:59:00.000+05:00" Type="TAW"/>
</univ:AirCreateReservationReq>
</soapenv:Body>
</soapenv:Envelope>
Hi Vivek, after adding PlatingCarrier the result is the same as previously. fare can not store.
-------------------------------------Booking Request----------------------------------------------------
<?xml version="1.0"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<univ:AirCreateReservationReq xmlns:air="http://www.travelport.com/schema/air_v45_0" xmlns:common_v45_0="http://www.travelport.com/schema/common_v45_0" xmlns:univ="http://www.travelport.com/schema/universal_v45_0" AuthorizedBy="user" RetainReservation="Both" TargetBranch="P3220788" TraceId="trace">
<com:BillingPointOfSaleInfo xmlns:com="http://www.travelport.com/schema/common_v45_0" OriginApplication="UAPI"/>
<com:BookingTraveler xmlns:com="http://www.travelport.com/schema/common_v45_0" DOB="2004-02-11" Gender="M" Key="aEPJ0d0YpSGRD8e51z0" TravelerType="ADT">
<com:BookingTravelerName First="SAIF" Last="ULLAH" Prefix="MR"/>
<com:PhoneNumber AreaCode="051" CountryCode="0092" Location="ISB" Number="3005959967"/>
<com:Email EmailID="afridiofkh@gmail.com" Type="office"/>
<com:SSR Carrier="WY" FreeText="P/PK/DXE396/PK/11Feb04/M/11Feb22/ULLAH/SAIF" SegmentRef="GVOHlABAAA/B4+O3hHAAAA==" Status="HK" Type="DOCS"/>
<com:SSR Carrier="WY" FreeText="P/PK/DXE396/PK/11Feb04/M/11Feb22/ULLAH/SAIF" SegmentRef="GVOHlABAAA/B6+O3hHAAAA==" Status="HK" Type="DOCS"/>
</com:BookingTraveler>
<com:FormOfPayment xmlns:com="http://www.travelport.com/schema/common_v45_0" Type="Cash"/>
<air:AirPricingSolution Key="GVOHlABAAA/B8+O3hHAAAA==" TotalPrice="PKR100937" BasePrice="USD494.00" ApproximateTotalPrice="PKR100937" ApproximateBasePrice="PKR76460" EquivalentBasePrice="PKR76460" Taxes="PKR24477" Fees="PKR0" ApproximateTaxes="PKR24477" QuoteDate="2020-02-11">
<air:AirSegment ArrivalTime="2020-03-30T10:50:00.000+04:00" AvailabilityDisplayType="Fare Specific Fare Quote Unbooked" AvailabilitySource="S" Carrier="WY" ChangeOfPlane="false" ClassOfService="H" DepartureTime="2020-03-30T08:50:00.000+05:00" Destination="MCT" Distance="1103" Equipment="739" FlightNumber="346" FlightTime="180" Group="0" Key="GVOHlABAAA/B4+O3hHAAAA==" OptionalServicesIndicator="true" Origin="ISB" ParticipantLevel="Secure Sell" PolledAvailabilityOption="O and D cache or polled status used with different local status" ProviderCode="1G" TravelTime="180" LinkAvailability="true">
<air:FlightDetails ArrivalTime="2020-03-30T10:50:00.000+04:00" DepartureTime="2020-03-30T08:50:00.000+05:00" Destination="MCT" Distance="1103" FlightTime="180" Key="GVOHlABAAA/B5+O3hHAAAA==" Origin="ISB" TravelTime="180"/>
<air:Connection/>
</air:AirSegment>
<air:AirSegment ArrivalTime="2020-03-30T19:10:00.000+01:00" AvailabilityDisplayType="Fare Specific Fare Quote Unbooked" AvailabilitySource="S" Carrier="WY" ChangeOfPlane="false" ClassOfService="H" DepartureTime="2020-03-30T14:30:00.000+04:00" Destination="LHR" Distance="3616" Equipment="789" FlightNumber="101" FlightTime="460" Group="0" Key="GVOHlABAAA/B6+O3hHAAAA==" OptionalServicesIndicator="true" Origin="MCT" ParticipantLevel="Secure Sell" PolledAvailabilityOption="O and D cache or polled status used with different local status" ProviderCode="1G" TravelTime="460" LinkAvailability="true">
<air:FlightDetails ArrivalTime="2020-03-30T19:10:00.000+01:00" DepartureTime="2020-03-30T14:30:00.000+04:00" Destination="LHR" Distance="3616" FlightTime="460" Key="GVOHlABAAA/B7+O3hHAAAA==" Origin="MCT" TravelTime="460"/>
</air:AirSegment>
<air:AirPricingInfo Key="GVOHlABAAA/B++O3hHAAAA==" TotalPrice="PKR100937" BasePrice="USD494.00" ApproximateTotalPrice="PKR100937" ApproximateBasePrice="PKR76460" EquivalentBasePrice="PKR76460" ApproximateTaxes="PKR24477" Taxes="PKR24477" LatestTicketingTime="2020-03-30T23:59:00.000+05:00" PricingMethod="GuaranteedUsingAirlinePrivateFare" Refundable="true" IncludesVAT="false" ETicketability="Yes" ProviderCode="1G" TotalNetPrice="PKR100937" PlatingCarrier="WY">
<air:FareInfo Key="GVOHlABAAA/BG/O3hHAAAA==" FareBasis="HLEPOPK" PassengerTypeCode="ADT" Origin="ISB" Destination="LHR" EffectiveDate="2020-02-11T11:33:00.000+05:00" DepartureDate="2020-03-30" Amount="PKR76460" PrivateFare="AirlinePrivateFare" TourCode="PKCRBKH47818" NotValidBefore="2020-03-30" NotValidAfter="2020-03-30" PseudoCityCode="7J47" TaxAmount="PKR24477.00">
<common_v45_0:AccountCode Code="BKH0519" ProviderCode="1G"/>
</air:FareInfo>
<air:BookingInfo BookingCode="H" CabinClass="Economy" FareInfoRef="GVOHlABAAA/BG/O3hHAAAA==" SegmentRef="GVOHlABAAA/B4+O3hHAAAA==" HostTokenRef="GVOHlABAAA/B9+O3hHAAAA=="/>
<air:BookingInfo BookingCode="H" CabinClass="Economy" FareInfoRef="GVOHlABAAA/BG/O3hHAAAA==" SegmentRef="GVOHlABAAA/B6+O3hHAAAA==" HostTokenRef="GVOHlABAAA/B9+O3hHAAAA=="/>
<air:TaxInfo Category="N9" Amount="PKR250" Key="GVOHlABAAA/B/+O3hHAAAA=="/>
<air:TaxInfo Category="RG" Amount="PKR5000" Key="GVOHlABAAA/BA/O3hHAAAA=="/>
<air:TaxInfo Category="SP" Amount="PKR2000" Key="GVOHlABAAA/BB/O3hHAAAA=="/>
<air:TaxInfo Category="YD" Amount="PKR2800" Key="GVOHlABAAA/BC/O3hHAAAA=="/>
<air:TaxInfo Category="I2" Amount="PKR404" Key="GVOHlABAAA/BD/O3hHAAAA=="/>
<air:TaxInfo Category="OM" Amount="PKR404" Key="GVOHlABAAA/BE/O3hHAAAA=="/>
<air:TaxInfo Category="YQ" Amount="PKR13619" Key="GVOHlABAAA/BF/O3hHAAAA=="/>
<air:PassengerType Code="ADT" BookingTravelerRef="aEPJ0d0YpSGRD8e51z0"/>
<air:ChangePenalty>
<air:Percentage>0.00</air:Percentage>
</air:ChangePenalty>
<air:CancelPenalty>
<air:Amount>PKR4800.0</air:Amount>
</air:CancelPenalty>
</air:AirPricingInfo>
<common_v45_0:HostToken Key="GVOHlABAAA/B9+O3hHAAAA==">GFB10101ADT00 01HLEPOPK 0200010002#GFB200010101NADTV3901P2370020000199734266396EH#GFMCER 901YP237FWY ADTHLEPOPK</common_v45_0:HostToken>
</air:AirPricingSolution>
<com:ActionStatus xmlns:com="http://www.travelport.com/schema/common_v45_0" ProviderCode="1G" TicketDate="2020-02-11T23:59:00.000+05:00" Type="TAW"/>
</univ:AirCreateReservationReq>
</soapenv:Body>
</soapenv:Envelope>
---------------------------Booking Response --------------------------------
<?xml version="1.0"?>
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<universal:AirCreateReservationRsp xmlns:universal="http://www.travelport.com/schema/universal_v45_0" xmlns:common_v45_0="http://www.travelport.com/schema/common_v45_0" xmlns:air="http://www.travelport.com/schema/air_v45_0" TraceId="trace" TransactionId="32F52E540A0742566771B550582420DD" ResponseTime="2488">
<common_v45_0:ResponseMessage Code="0" Type="Warning" ProviderCode="1G">NO FARES</common_v45_0:ResponseMessage>
<common_v45_0:ResponseMessage Code="0" Type="Warning" ProviderCode="1G">Some of the requested AirPricingInfos could not be saved for the requested provider.</common_v45_0:ResponseMessage>
<common_v45_0:ResponseMessage Code="0" Type="Warning" ProviderCode="1G">NO VALID FARE FOR INPUT CRITERIA</common_v45_0:ResponseMessage>
<universal:UniversalRecord LocatorCode="1KVMB3" Version="0" Status="Active">
<common_v45_0:BookingTraveler Key="8B9MlABAAA/BDoj+dHAAAA==" TravelerType="ADT" DOB="2004-02-11" Gender="M" ElStat="A">
<common_v45_0:BookingTravelerName Prefix="MR" First="SAIF" Last="ULLAH"/>
<common_v45_0:PhoneNumber Key="8B9MlABAAA/BEoj+dHAAAA==" Type="None" Location="ISB" CountryCode="0092" Number="3005959967" AreaCode="051" ElStat="A">
<common_v45_0:ProviderReservationInfoRef Key="8B9MlABAAA/BQI2+dHAAAA=="/>
</common_v45_0:PhoneNumber>
<common_v45_0:Email Key="8B9MlABAAA/BHoj+dHAAAA==" Type="office" EmailID="afridiofkh@gmail.com" ElStat="A">
<common_v45_0:ProviderReservationInfoRef Key="8B9MlABAAA/BQI2+dHAAAA=="/>
</common_v45_0:Email>
<common_v45_0:SSR Key="8B9MlABAAA/Bigy+dHAAAA==" Status="HK" Type="DOCS" FreeText="P/PK/DXE396/PK/11FEB04/M/11FEB22/ULLAH/SAIF -1ULLAH/SAIFMR" Carrier="WY" ProviderReservationInfoRef="8B9MlABAAA/BQI2+dHAAAA==" ElStat="C"/>
<common_v45_0:SSR Key="8B9MlABAAA/Bjgy+dHAAAA==" Status="HK" Type="DOCS" FreeText="P/PK/DXE396/PK/11FEB04/M/11FEB22/ULLAH/SAIF -1ULLAH/SAIFMR" Carrier="WY" ProviderReservationInfoRef="8B9MlABAAA/BQI2+dHAAAA==" ElStat="C"/>
</common_v45_0:BookingTraveler>
<common_v45_0:ActionStatus Key="8B9MlABAAA/BJoj+dHAAAA==" Type="TAW" TicketDate="2020-02-11T23:59:00.000+05:00" ProviderReservationInfoRef="8B9MlABAAA/BQI2+dHAAAA==" ProviderCode="1G" ElStat="A"/>
<universal:ProviderReservationInfo Key="8B9MlABAAA/BQI2+dHAAAA==" ProviderCode="1G" LocatorCode="LJD8RT" CreateDate="2020-02-11T06:34:56.209+00:00" ModifiedDate="2020-02-11T06:34:56.209+00:00" HostCreateDate="2020-02-11" OwningPCC="7J47"/>
<air:AirReservation LocatorCode="1KVMID" CreateDate="2020-02-11T06:34:55.842+00:00" ModifiedDate="2020-02-11T06:34:56.209+00:00">
<common_v45_0:SupplierLocator SupplierCode="WY" SupplierLocatorCode="CRYJIM" ProviderReservationInfoRef="8B9MlABAAA/BQI2+dHAAAA==" CreateDateTime="2020-02-11T06:34:00.000+00:00"/>
<common_v45_0:BookingTravelerRef Key="8B9MlABAAA/BDoj+dHAAAA=="/>
<common_v45_0:ProviderReservationInfoRef Key="8B9MlABAAA/BQI2+dHAAAA=="/>
<air:AirSegment Key="GVOHlABAAA/B4+O3hHAAAA==" Group="0" Carrier="WY" CabinClass="Economy" FlightNumber="346" ProviderCode="1G" Origin="ISB" Destination="MCT" DepartureTime="2020-03-30T08:50:00.000+05:00" ArrivalTime="2020-03-30T10:50:00.000+04:00" TravelTime="180" ClassOfService="H" ETicketability="Yes" Equipment="739" MarriageGroup="1" Status="HK" ChangeOfPlane="false" GuaranteedPaymentCarrier="No" ProviderReservationInfoRef="8B9MlABAAA/BQI2+dHAAAA==" TravelOrder="1" ProviderSegmentOrder="1" OptionalServicesIndicator="false" AvailabilitySource="S" ParticipantLevel="Secure Sell" LinkAvailability="true" ElStat="A">
<air:FlightDetails Key="8B9MlABAAA/BQz1+dHAAAA==" Origin="ISB" Destination="MCT" DepartureTime="2020-03-30T08:50:00.000+05:00" ArrivalTime="2020-03-30T10:50:00.000+04:00" FlightTime="180" TravelTime="180" Equipment="739" AutomatedCheckin="false" ElStat="C"/>
<air:Connection Duration="220"/>
</air:AirSegment>
<air:AirSegment Key="GVOHlABAAA/B6+O3hHAAAA==" Group="0" Carrier="WY" CabinClass="Economy" FlightNumber="101" ProviderCode="1G" Origin="MCT" Destination="LHR" DepartureTime="2020-03-30T14:30:00.000+04:00" ArrivalTime="2020-03-30T19:10:00.000+01:00" TravelTime="460" ClassOfService="H" ETicketability="Yes" Equipment="789" MarriageGroup="1" Status="HK" ChangeOfPlane="false" GuaranteedPaymentCarrier="No" ProviderReservationInfoRef="8B9MlABAAA/BQI2+dHAAAA==" TravelOrder="2" ProviderSegmentOrder="2" OptionalServicesIndicator="false" AvailabilitySource="S" ParticipantLevel="Secure Sell" LinkAvailability="true" ElStat="A">
<air:FlightDetails Key="8B9MlABAAA/BNI2+dHAAAA==" Origin="MCT" Destination="LHR" DepartureTime="2020-03-30T14:30:00.000+04:00" ArrivalTime="2020-03-30T19:10:00.000+01:00" FlightTime="460" TravelTime="460" Equipment="789" DestinationTerminal="4" AutomatedCheckin="false" ElStat="C"/>
<common_v45_0:SellMessage>ARRIVES LHR TERMINAL 4</common_v45_0:SellMessage>
<common_v45_0:SellMessage>ADD ADVANCE PASSENGER INFORMATION SSRS DOCA/DOCO/DOCS</common_v45_0:SellMessage>
<common_v45_0:SellMessage>PERSONAL DATA WHICH IS PROVIDED TO US IN CONNECTION</common_v45_0:SellMessage>
<common_v45_0:SellMessage>WITH YOUR TRAVEL MAY BE PASSED TO GOVERNMENT AUTHORITIES</common_v45_0:SellMessage>
<common_v45_0:SellMessage>FOR BORDER CONTROL AND AVIATION SECURITY PURPOSES</common_v45_0:SellMessage>
</air:AirSegment>
</air:AirReservation>
<common_v45_0:AgencyInfo>
<common_v45_0:AgentAction ActionType="Created" AgentCode="uAPI8653485365-a1381b7e" BranchCode="P3220788" AgencyCode="S3159149" EventTime="2020-02-11T06:34:54.015+00:00"/>
</common_v45_0:AgencyInfo>
<common_v45_0:FormOfPayment Key="8B9MlABAAA/BIoj+dHAAAA==" Type="Cash" Reusable="false" ProfileKey="OLFQxMKjR6Oa1zG6xNZWQQ==" ElStat="A">
<common_v45_0:ProviderReservationInfoRef Key="8B9MlABAAA/BQI2+dHAAAA=="/>
</common_v45_0:FormOfPayment>
</universal:UniversalRecord>
</universal:AirCreateReservationRsp>
</SOAP:Body>
</SOAP:Envelope>
Hi huzatech,
Could you please try with end to end flow with a different carrier and Origin and Destination. Seems like the fare is not valid anymore. Thanks.
Hi Vivek, As per your advice we tried with some other airline, code origin & destination but the booking wasn't generated. Kindly assist us on this final step please.
Hi huzatech,
Could you please create a My.Travelport.com ticket and we will pick it up from there. Thanks.
we are trying to use the airline provider code in LFS, AirPrice & AirCreate in travel port API but it didn't work properly. Can you please provide a sample code or assist us on it. Thanks
Mannan