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

Infant Ticket Price #36

Open dbongs opened 8 years ago

dbongs commented 8 years ago

Hi Vivek,

Can you please check why the infant price comes back similar to the child price in the req and resp below. my client says the infant price should be less from child as age is not the same.

Req

<?xml version="1.0" encoding="utf-16" ?> 
- <AirPriceReq xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" TargetBranch="P7023658">
  <BillingPointOfSaleInfo OriginApplication="UAPI" xmlns="http://www.travelport.com/schema/common_v29_0" /> 
- <AirItinerary xmlns="http://www.travelport.com/schema/air_v29_0">
- <AirSegment Key="3gi25Zl8QEW5y3jWGrWWAw==" ETicketability="Yes" Equipment="734" AvailabilitySource="A" OptionalServicesIndicator="false" AvailabilityDisplayType="Fare Shop/Optimal Shop" LinkAvailability="true" Group="0" Carrier="BA" FlightNumber="6202" Origin="DUR" Destination="JNB" DepartureTime="2016-02-24T08:50:00.000+02:00" ArrivalTime="2016-02-24T09:55:00.000+02:00" FlightTime="65" Distance="309" ProviderCode="1G" ParticipantLevel="Secure Sell" PolledAvailabilityOption="Polled avail exists">
  <CodeshareInfo OperatingCarrier="MN" OperatingFlightNumber="0">COMMERCIAL AIRW</CodeshareInfo> 
- <AirAvailInfo ProviderCode="1G">
  <BookingCodeInfo BookingCounts="J9|C9|D9|R9|Y9|B9|H9|K9|M9|L9|V9|S9|N9|Q9|O9|G9" /> 
  </AirAvailInfo>
  </AirSegment>
- <AirSegment Key="voLbFbF7SwCcvLn06xr7gQ==" ETicketability="Yes" Equipment="734" AvailabilitySource="A" OptionalServicesIndicator="false" AvailabilityDisplayType="Fare Shop/Optimal Shop" LinkAvailability="true" Group="1" Carrier="BA" FlightNumber="6201" Origin="JNB" Destination="DUR" DepartureTime="2016-02-26T07:00:00.000+02:00" ArrivalTime="2016-02-26T08:05:00.000+02:00" FlightTime="65" Distance="309" ProviderCode="1G" ParticipantLevel="Secure Sell" PolledAvailabilityOption="Polled avail exists">
  <CodeshareInfo OperatingCarrier="MN" OperatingFlightNumber="0">COMMERCIAL AIRW</CodeshareInfo> 
- <AirAvailInfo ProviderCode="1G">
  <BookingCodeInfo BookingCounts="J9|C9|D9|R9|Y9|B9|H9|K9|M9|L9|V9|S9|N9|Q9|O9|G9" /> 
  </AirAvailInfo>
  </AirSegment>
  </AirItinerary>
  <AirPricingModifiers PlatingCarrier="BA" CurrencyType="ZAR" FiledCurrency="ZAR" xmlns="http://www.travelport.com/schema/air_v29_0" /> 
  <SearchPassenger Code="ADT" BookingTravelerRef="fdh1JnxX" xmlns="http://www.travelport.com/schema/common_v29_0" /> 
  <SearchPassenger Code="CHD" BookingTravelerRef="qvptmDWc" xmlns="http://www.travelport.com/schema/common_v29_0" /> 
  <SearchPassenger Code="INS" Age="1" BookingTravelerRef="nXx8pCIU" xmlns="http://www.travelport.com/schema/common_v29_0" /> 
  <AirPricingCommand CabinClass="Economy" xmlns="http://www.travelport.com/schema/air_v29_0" /> 
  </AirPriceReq>
dbongs commented 8 years ago

Hi Vivek,

Please look at the picture attached and let me know what should be the resulting airpricing solution flightbooking

vivekjyotipramanik commented 8 years ago

Hi dbongs,

I am not familiar with your application and without seeing the XML I am unable to tell anything. Could you please provide me the LFS Response XML and which AirPricingSolution you are selecting from the XML. Also, It would be really helpful if we can have a call and all this confusions can be resolved very quickly. Thanks.

Thanks & Regards Vivekjyoti Pramanik

dbongs commented 8 years ago

ok lets, schedule a call for tomorrow at 5PM my time?

vivekjyotipramanik commented 8 years ago

Hi dbongs,

Sure, I will schedule the call. Could you please provide me your email address please. Thanks.

Thanks & Regards Vivekjyoti Pramanik

dbongs commented 8 years ago

it's brettfankomo@gmail.com

Thank you so much Vivek for your time.

dbongs commented 8 years ago

Hi Vivek,

is it possible for a pricing solution to have no inbound flight even though i have specified on my LFS that i also want return flights?

vivekjyotipramanik commented 8 years ago

Hi dbongs,

This scenario is highly unlikely and if you are getting this kind of AirPricingSolution or AirPricePoints , Please provide me the xml response. Thanks.

Thanks & Regards Vivekjyoti Pramanik

dbongs commented 8 years ago

Hi Vivek,

Please have a look at the xml below:

<?xml version="1.0" encoding="utf-16" ?> 
- <LowFareSearchRsp xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" TransactionId="98FA8C260A07643B5168CF8A64076142" ResponseTime="10422" DistanceUnits="MI" CurrencyType="ZAR">
  <ResponseMessage Code="4039" Type="Warning" ProviderCode="1G" xmlns="http://www.travelport.com/schema/common_v36_0">"Result size exceeded the maximum allowable and some results were discarded. It may be necessary to narrow your search using search modifiers."</ResponseMessage> 
- <FlightDetailsList xmlns="http://www.travelport.com/schema/air_v36_0">
  <FlightDetails DestinationTerminal="B" Equipment="738" TravelTime="65" FlightTime="65" ArrivalTime="2016-07-31T09:00:00.000+02:00" DepartureTime="2016-07-31T07:55:00.000+02:00" Destination="JNB" Origin="DUR" Key="SUDnhdloRx+MuuJVu3qF4A==" /> 
  <FlightDetails OriginTerminal="B" Equipment="738" TravelTime="70" FlightTime="70" ArrivalTime="2016-07-31T14:45:00.000+02:00" DepartureTime="2016-07-31T13:35:00.000+02:00" Destination="DUR" Origin="JNB" Key="Tk3EbgoXQu6+0wF/T3IrqA==" /> 
  <FlightDetails DestinationTerminal="B" Equipment="738" TravelTime="65" FlightTime="65" ArrivalTime="2016-07-31T10:50:00.000+02:00" DepartureTime="2016-07-31T09:45:00.000+02:00" Destination="JNB" Origin="DUR" Key="CJpTHmvWSaC3HjbeN0tDKQ==" /> 
  <FlightDetails DestinationTerminal="B" Equipment="738" TravelTime="65" FlightTime="65" ArrivalTime="2016-07-31T12:45:00.000+02:00" DepartureTime="2016-07-31T11:40:00.000+02:00" Destination="JNB" Origin="DUR" Key="MoD1oDFYRxCpIpo4U5lvHQ==" /> 
  <FlightDetails OriginTerminal="B" Equipment="738" TravelTime="70" FlightTime="70" ArrivalTime="2016-07-31T11:00:00.000+02:00" DepartureTime="2016-07-31T09:50:00.000+02:00" Destination="DUR" Origin="JNB" Key="YCp8vkwOQvWViBDMqYj7RA==" /> 
  <FlightDetails OriginTerminal="B" Equipment="738" TravelTime="70" FlightTime="70" ArrivalTime="2016-07-31T17:10:00.000+02:00" DepartureTime="2016-07-31T16:00:00.000+02:00" Destination="DUR" Origin="JNB" Key="ENFLiBNTQxy2ZfrhGVKnKQ==" /> 
  <FlightDetails DestinationTerminal="B" Equipment="738" TravelTime="65" FlightTime="65" ArrivalTime="2016-07-31T15:10:00.000+02:00" DepartureTime="2016-07-31T14:05:00.000+02:00" Destination="JNB" Origin="DUR" Key="ezObLPmWTryBomZfNYg3sA==" /> 
  <FlightDetails OriginTerminal="B" Equipment="738" TravelTime="70" FlightTime="70" ArrivalTime="2016-07-31T18:35:00.000+02:00" DepartureTime="2016-07-31T17:25:00.000+02:00" Destination="DUR" Origin="JNB" Key="Tmqag5UEQOCn63c7iuasGA==" /> 
  </FlightDetailsList>
- <AirSegmentList xmlns="http://www.travelport.com/schema/air_v36_0">
- <AirSegment Key="knEYyW+CQJqDshNH3pINCQ==" AvailabilitySource="A" Equipment="738" OptionalServicesIndicator="false" ETicketability="Yes" AvailabilityDisplayType="Fare Shop/Optimal Shop" Group="0" Carrier="JE" FlightNumber="248" Origin="DUR" Destination="JNB" DepartureTime="2016-07-31T07:55:00.000+02:00" ArrivalTime="2016-07-31T09:00:00.000+02:00" FlightTime="65" Distance="309" ParticipantLevel="Standard AVS" PolledAvailabilityOption="No polled avail exists">
  <AirAvailInfo ProviderCode="1G" /> 
  <FlightDetailsRef Key="SUDnhdloRx+MuuJVu3qF4A==" /> 
  </AirSegment>
- <AirSegment Key="xmC8kPiEQjGollWOYIiPNQ==" AvailabilitySource="A" Equipment="738" OptionalServicesIndicator="false" ETicketability="Yes" AvailabilityDisplayType="Fare Shop/Optimal Shop" Group="1" Carrier="JE" FlightNumber="253" Origin="JNB" Destination="DUR" DepartureTime="2016-07-31T13:35:00.000+02:00" ArrivalTime="2016-07-31T14:45:00.000+02:00" FlightTime="70" Distance="309" ParticipantLevel="Standard AVS" PolledAvailabilityOption="No polled avail exists">
  <AirAvailInfo ProviderCode="1G" /> 
  <FlightDetailsRef Key="Tk3EbgoXQu6+0wF/T3IrqA==" /> 
  </AirSegment>
- <AirSegment Key="7fZ75wApTxOTCnZthA9iqg==" AvailabilitySource="A" Equipment="738" OptionalServicesIndicator="false" ETicketability="Yes" AvailabilityDisplayType="Fare Shop/Optimal Shop" Group="0" Carrier="JE" FlightNumber="252" Origin="DUR" Destination="JNB" DepartureTime="2016-07-31T09:45:00.000+02:00" ArrivalTime="2016-07-31T10:50:00.000+02:00" FlightTime="65" Distance="309" ParticipantLevel="Standard AVS" PolledAvailabilityOption="No polled avail exists">
  <AirAvailInfo ProviderCode="1G" /> 
  <FlightDetailsRef Key="CJpTHmvWSaC3HjbeN0tDKQ==" /> 
  </AirSegment>
- <AirSegment Key="scz8wz6YRySuycV975zIAQ==" AvailabilitySource="A" Equipment="738" OptionalServicesIndicator="false" ETicketability="Yes" AvailabilityDisplayType="Fare Shop/Optimal Shop" Group="0" Carrier="JE" FlightNumber="258" Origin="DUR" Destination="JNB" DepartureTime="2016-07-31T11:40:00.000+02:00" ArrivalTime="2016-07-31T12:45:00.000+02:00" FlightTime="65" Distance="309" ParticipantLevel="Standard AVS" PolledAvailabilityOption="No polled avail exists">
  <AirAvailInfo ProviderCode="1G" /> 
  <FlightDetailsRef Key="MoD1oDFYRxCpIpo4U5lvHQ==" /> 
  </AirSegment>
- <AirSegment Key="N5HX/P8CT++l0+FYAcSDNA==" AvailabilitySource="A" Equipment="738" OptionalServicesIndicator="false" ETicketability="Yes" AvailabilityDisplayType="Fare Shop/Optimal Shop" Group="1" Carrier="JE" FlightNumber="249" Origin="JNB" Destination="DUR" DepartureTime="2016-07-31T09:50:00.000+02:00" ArrivalTime="2016-07-31T11:00:00.000+02:00" FlightTime="70" Distance="309" ParticipantLevel="Standard AVS" PolledAvailabilityOption="No polled avail exists">
  <AirAvailInfo ProviderCode="1G" /> 
  <FlightDetailsRef Key="YCp8vkwOQvWViBDMqYj7RA==" /> 
  </AirSegment>
- <AirSegment Key="N91FsoOUTc+XAPy2vzKzHw==" AvailabilitySource="A" Equipment="738" OptionalServicesIndicator="false" ETicketability="Yes" AvailabilityDisplayType="Fare Shop/Optimal Shop" Group="1" Carrier="JE" FlightNumber="259" Origin="JNB" Destination="DUR" DepartureTime="2016-07-31T16:00:00.000+02:00" ArrivalTime="2016-07-31T17:10:00.000+02:00" FlightTime="70" Distance="309" ParticipantLevel="Standard AVS" PolledAvailabilityOption="No polled avail exists">
  <AirAvailInfo ProviderCode="1G" /> 
  <FlightDetailsRef Key="ENFLiBNTQxy2ZfrhGVKnKQ==" /> 
  </AirSegment>
- <AirSegment Key="P0KCYl2nSNCp6XbLaNhp5A==" AvailabilitySource="A" Equipment="738" OptionalServicesIndicator="false" ETicketability="Yes" AvailabilityDisplayType="Fare Shop/Optimal Shop" Group="0" Carrier="JE" FlightNumber="268" Origin="DUR" Destination="JNB" DepartureTime="2016-07-31T14:05:00.000+02:00" ArrivalTime="2016-07-31T15:10:00.000+02:00" FlightTime="65" Distance="309" ParticipantLevel="Standard AVS" PolledAvailabilityOption="No polled avail exists">
  <AirAvailInfo ProviderCode="1G" /> 
  <FlightDetailsRef Key="ezObLPmWTryBomZfNYg3sA==" /> 
  </AirSegment>
- <AirSegment Key="2oLUM/GATp2c8D2QqmQ/IQ==" AvailabilitySource="A" Equipment="738" OptionalServicesIndicator="false" ETicketability="Yes" AvailabilityDisplayType="Fare Shop/Optimal Shop" Group="1" Carrier="JE" FlightNumber="265" Origin="JNB" Destination="DUR" DepartureTime="2016-07-31T17:25:00.000+02:00" ArrivalTime="2016-07-31T18:35:00.000+02:00" FlightTime="70" Distance="309" ParticipantLevel="Standard AVS" PolledAvailabilityOption="No polled avail exists">
  <AirAvailInfo ProviderCode="1G" /> 
  <FlightDetailsRef Key="Tmqag5UEQOCn63c7iuasGA==" /> 
  </AirSegment>
  </AirSegmentList>
- <FareInfoList xmlns="http://www.travelport.com/schema/air_v36_0">
- <FareInfo NotValidAfter="2016-07-31" NotValidBefore="2016-07-31" DepartureDate="2016-07-31" NegotiatedFare="false" Amount="ZAR340.00" EffectiveDate="2016-06-28T23:46:00.000+02:00" Destination="JNB" Origin="DUR" PassengerTypeCode="ADT" FareBasis="XJEWOW" Key="Kry835OsRGWfrIYDtuJQWg==">
  <FareSurcharge Key="t+gdiUofQDumSCaObQIq0Q==" Type="Other" Amount="ZAR60.00" /> 
- <BaggageAllowance>
  <MaxWeight Value="20" Unit="Kilograms" /> 
  </BaggageAllowance>
  <FareRuleKey FareInfoRef="Kry835OsRGWfrIYDtuJQWg==" ProviderCode="1G">6UUVoSldxwhHuXwB837TkcbKj3F8T9EyxsqPcXxP0TIjSPOlaHfQe5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA02Fwz3Hgrob1w3VjODTYW4dgq3BJaBCyWpSHSjN4RpGQu0ZscBMSQ4kZah7ruZejeS4IUXmcoqFiZ+LyEiP6GmWWdwS4Dg2ycsiOHFaFMf8hf6E18cRejGVqfCTByZWBxyW7beGnEyxUB4ualwH+tPqNbjwzJx7oo0sKBvhNXxaOay6Wsr7A2Yk+IP2yJm1Joq+cJFUBzrily5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA3N5jV9Rrzq8txHW6jzw2UbAQJCzzE4cyRocmGPLcaZU6DBOVaqK6Dp//atC54I4JjSsovOtC9Hc</FareRuleKey> 
  </FareInfo>
- <FareInfo NotValidAfter="2016-07-31" NotValidBefore="2016-07-31" DepartureDate="2016-07-31" NegotiatedFare="false" Amount="ZAR340.00" EffectiveDate="2016-06-28T23:46:00.000+02:00" Destination="DUR" Origin="JNB" PassengerTypeCode="ADT" FareBasis="XJEWOW" Key="2yaBhoegSmSYKrHxQ9R4ww==">
  <FareSurcharge Key="RI0D/DI4TXehb00t/dLZzg==" Type="Other" Amount="ZAR60.00" /> 
- <BaggageAllowance>
  <MaxWeight Value="20" Unit="Kilograms" /> 
  </BaggageAllowance>
  <FareRuleKey FareInfoRef="2yaBhoegSmSYKrHxQ9R4ww==" ProviderCode="1G">6UUVoSldxwhHuXwB837TkcbKj3F8T9EyxsqPcXxP0TIjSPOlaHfQe5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA02Fwz3Hgrob1w3VjODTYW6Hu0t7dcGE805tR2cXEAZJ83f1UwCbb2UkZah7ruZejeS4IUXmcoqFiZ+LyEiP6GmWWdwS4Dg2ycsiOHFaFMf8hf6E18cRejGVqfCTByZWBxyW7beGnEyxUB4ualwH+tOzwqagSNw6Eo0sKBvhNXxa+ecnaCMCQmYk+IP2yJm1Joq+cJFUBzrily5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA3N5jV9Rrzq8txHW6jzw2UbAQJCzzE4cyRocmGPLcaZU6DBOVaqK6Dp//atC54I4JjSsovOtC9Hc</FareRuleKey> 
  </FareInfo>
  </FareInfoList>
- <RouteList xmlns="http://www.travelport.com/schema/air_v36_0">
- <Route Key="YPe0921NSvWQVB6Lbi1hVQ==">
  <Leg Key="MXsa/pUJSzmnRkOJ3QAl4Q==" Group="0" Origin="DUR" Destination="JNB" /> 
  <Leg Key="lGlZqxgqScC9dre8KjZPdw==" Group="1" Origin="JNB" Destination="DUR" /> 
  </Route>
  </RouteList>
- <AirPricingSolution Key="RJsm1qGoRCGoi/rmWy4Ecw==" TotalPrice="ZAR1117.66" BasePrice="ZAR680.00" ApproximateTotalPrice="ZAR1117.66" ApproximateBasePrice="ZAR680.00" Taxes="ZAR437.66" ApproximateTaxes="ZAR437.66" PolicyExclusion="false" xmlns="http://www.travelport.com/schema/air_v36_0">
- <Journey TravelTime="P0DT1H5M0S">
  <AirSegmentRef Key="knEYyW+CQJqDshNH3pINCQ==" /> 
  </Journey>
- <Journey TravelTime="P0DT1H10M0S">
  <AirSegmentRef Key="xmC8kPiEQjGollWOYIiPNQ==" /> 
  </Journey>
  <LegRef Key="MXsa/pUJSzmnRkOJ3QAl4Q==" /> 
  <LegRef Key="lGlZqxgqScC9dre8KjZPdw==" /> 
- <AirPricingInfo LatestTicketingTime="2016-06-30" PricingMethod="Guaranteed" ETicketability="Yes" PlatingCarrier="JE" Taxes="ZAR437.66" Key="LJZkdvaJSZyr9pK8usRQfA==" TotalPrice="ZAR1117.66" BasePrice="ZAR680.00" ApproximateTotalPrice="ZAR1117.66" ApproximateBasePrice="ZAR680.00" ApproximateTaxes="ZAR437.66" ProviderCode="1G">
  <FareInfoRef Key="Kry835OsRGWfrIYDtuJQWg==" /> 
  <FareInfoRef Key="2yaBhoegSmSYKrHxQ9R4ww==" /> 
  <BookingInfo BookingCode="X" BookingCount="4" CabinClass="Economy" FareInfoRef="Kry835OsRGWfrIYDtuJQWg==" SegmentRef="knEYyW+CQJqDshNH3pINCQ==" /> 
  <BookingInfo BookingCode="X" BookingCount="4" CabinClass="Economy" FareInfoRef="2yaBhoegSmSYKrHxQ9R4ww==" SegmentRef="xmC8kPiEQjGollWOYIiPNQ==" /> 
  <TaxInfo Category="EV" Amount="ZAR40.46" /> 
  <TaxInfo Category="UM" Amount="ZAR48.00" /> 
  <TaxInfo Category="ZA" Amount="ZAR254.00" /> 
  <TaxInfo Category="ZV" Amount="ZAR95.20" /> 
  <FareCalc>DUR JE JNB Q60.00 280.00XJEWOW JE DUR Q60.00 280.00XJEWOW ZAR680.00END</FareCalc> 
  <PassengerType Code="ADT" /> 
- <ChangePenalty>
  <Amount>ZAR330.00</Amount> 
  </ChangePenalty>
  </AirPricingInfo>
  </AirPricingSolution>
- <AirPricingSolution Key="nLV/jPLOSMa3O4B3nZ50gA==" TotalPrice="ZAR1117.66" BasePrice="ZAR680.00" ApproximateTotalPrice="ZAR1117.66" ApproximateBasePrice="ZAR680.00" Taxes="ZAR437.66" ApproximateTaxes="ZAR437.66" PolicyExclusion="false" xmlns="http://www.travelport.com/schema/air_v36_0">
- <Journey TravelTime="P0DT1H5M0S">
  <AirSegmentRef Key="7fZ75wApTxOTCnZthA9iqg==" /> 
  </Journey>
- <Journey TravelTime="P0DT1H10M0S">
  <AirSegmentRef Key="xmC8kPiEQjGollWOYIiPNQ==" /> 
  </Journey>
  <LegRef Key="MXsa/pUJSzmnRkOJ3QAl4Q==" /> 
  <LegRef Key="lGlZqxgqScC9dre8KjZPdw==" /> 
- <AirPricingInfo LatestTicketingTime="2016-06-30" PricingMethod="Guaranteed" ETicketability="Yes" PlatingCarrier="JE" Taxes="ZAR437.66" Key="4GxmaOFbSHSGbCX4pYl82w==" TotalPrice="ZAR1117.66" BasePrice="ZAR680.00" ApproximateTotalPrice="ZAR1117.66" ApproximateBasePrice="ZAR680.00" ApproximateTaxes="ZAR437.66" ProviderCode="1G">
  <FareInfoRef Key="Kry835OsRGWfrIYDtuJQWg==" /> 
  <FareInfoRef Key="2yaBhoegSmSYKrHxQ9R4ww==" /> 
  <BookingInfo BookingCode="X" BookingCount="4" CabinClass="Economy" FareInfoRef="Kry835OsRGWfrIYDtuJQWg==" SegmentRef="7fZ75wApTxOTCnZthA9iqg==" /> 
  <BookingInfo BookingCode="X" BookingCount="4" CabinClass="Economy" FareInfoRef="2yaBhoegSmSYKrHxQ9R4ww==" SegmentRef="xmC8kPiEQjGollWOYIiPNQ==" /> 
  <TaxInfo Category="EV" Amount="ZAR40.46" /> 
  <TaxInfo Category="UM" Amount="ZAR48.00" /> 
  <TaxInfo Category="ZA" Amount="ZAR254.00" /> 
  <TaxInfo Category="ZV" Amount="ZAR95.20" /> 
  <FareCalc>DUR JE JNB Q60.00 280.00XJEWOW JE DUR Q60.00 280.00XJEWOW ZAR680.00END</FareCalc> 
  <PassengerType Code="ADT" /> 
- <ChangePenalty>
  <Amount>ZAR330.00</Amount> 
  </ChangePenalty>
  </AirPricingInfo>
  </AirPricingSolution>
- <AirPricingSolution Key="i6oEjhFPSpWSMizTrhl+jA==" TotalPrice="ZAR1117.66" BasePrice="ZAR680.00" ApproximateTotalPrice="ZAR1117.66" ApproximateBasePrice="ZAR680.00" Taxes="ZAR437.66" ApproximateTaxes="ZAR437.66" PolicyExclusion="false" xmlns="http://www.travelport.com/schema/air_v36_0">
- <Journey TravelTime="P0DT1H5M0S">
  <AirSegmentRef Key="scz8wz6YRySuycV975zIAQ==" /> 
  </Journey>
- <Journey TravelTime="P0DT1H10M0S">
  <AirSegmentRef Key="xmC8kPiEQjGollWOYIiPNQ==" /> 
  </Journey>
  <LegRef Key="MXsa/pUJSzmnRkOJ3QAl4Q==" /> 
  <LegRef Key="lGlZqxgqScC9dre8KjZPdw==" /> 
- <AirPricingInfo LatestTicketingTime="2016-06-30" PricingMethod="Guaranteed" ETicketability="Yes" PlatingCarrier="JE" Taxes="ZAR437.66" Key="emJFL2P/SQeCkM64aSTdeg==" TotalPrice="ZAR1117.66" BasePrice="ZAR680.00" ApproximateTotalPrice="ZAR1117.66" ApproximateBasePrice="ZAR680.00" ApproximateTaxes="ZAR437.66" ProviderCode="1G">
  <FareInfoRef Key="Kry835OsRGWfrIYDtuJQWg==" /> 
  <FareInfoRef Key="2yaBhoegSmSYKrHxQ9R4ww==" /> 
  <BookingInfo BookingCode="X" BookingCount="4" CabinClass="Economy" FareInfoRef="Kry835OsRGWfrIYDtuJQWg==" SegmentRef="scz8wz6YRySuycV975zIAQ==" /> 
  <BookingInfo BookingCode="X" BookingCount="4" CabinClass="Economy" FareInfoRef="2yaBhoegSmSYKrHxQ9R4ww==" SegmentRef="xmC8kPiEQjGollWOYIiPNQ==" /> 
  <TaxInfo Category="EV" Amount="ZAR40.46" /> 
  <TaxInfo Category="UM" Amount="ZAR48.00" /> 
  <TaxInfo Category="ZA" Amount="ZAR254.00" /> 
  <TaxInfo Category="ZV" Amount="ZAR95.20" /> 
  <FareCalc>DUR JE JNB Q60.00 280.00XJEWOW JE DUR Q60.00 280.00XJEWOW ZAR680.00END</FareCalc> 
  <PassengerType Code="ADT" /> 
- <ChangePenalty>
  <Amount>ZAR330.00</Amount> 
  </ChangePenalty>
  </AirPricingInfo>
  </AirPricingSolution>
- <AirPricingSolution Key="wGO2pQsnTMKxQw1tsJyeow==" TotalPrice="ZAR1117.66" BasePrice="ZAR680.00" ApproximateTotalPrice="ZAR1117.66" ApproximateBasePrice="ZAR680.00" Taxes="ZAR437.66" ApproximateTaxes="ZAR437.66" PolicyExclusion="false" xmlns="http://www.travelport.com/schema/air_v36_0">
- <Journey TravelTime="P0DT1H5M0S">
  <AirSegmentRef Key="knEYyW+CQJqDshNH3pINCQ==" /> 
  </Journey>
- <Journey TravelTime="P0DT1H10M0S">
  <AirSegmentRef Key="N5HX/P8CT++l0+FYAcSDNA==" /> 
  </Journey>
  <LegRef Key="MXsa/pUJSzmnRkOJ3QAl4Q==" /> 
  <LegRef Key="lGlZqxgqScC9dre8KjZPdw==" /> 
- <AirPricingInfo LatestTicketingTime="2016-06-30" PricingMethod="Guaranteed" ETicketability="Yes" PlatingCarrier="JE" Taxes="ZAR437.66" Key="LCDWcux+RLaTOPI7SkMcaQ==" TotalPrice="ZAR1117.66" BasePrice="ZAR680.00" ApproximateTotalPrice="ZAR1117.66" ApproximateBasePrice="ZAR680.00" ApproximateTaxes="ZAR437.66" ProviderCode="1G">
  <FareInfoRef Key="Kry835OsRGWfrIYDtuJQWg==" /> 
  <FareInfoRef Key="2yaBhoegSmSYKrHxQ9R4ww==" /> 
  <BookingInfo BookingCode="X" BookingCount="4" CabinClass="Economy" FareInfoRef="Kry835OsRGWfrIYDtuJQWg==" SegmentRef="knEYyW+CQJqDshNH3pINCQ==" /> 
  <BookingInfo BookingCode="X" BookingCount="4" CabinClass="Economy" FareInfoRef="2yaBhoegSmSYKrHxQ9R4ww==" SegmentRef="N5HX/P8CT++l0+FYAcSDNA==" /> 
  <TaxInfo Category="EV" Amount="ZAR40.46" /> 
  <TaxInfo Category="UM" Amount="ZAR48.00" /> 
  <TaxInfo Category="ZA" Amount="ZAR254.00" /> 
  <TaxInfo Category="ZV" Amount="ZAR95.20" /> 
  <FareCalc>DUR JE JNB Q60.00 280.00XJEWOW JE DUR Q60.00 280.00XJEWOW ZAR680.00END</FareCalc> 
  <PassengerType Code="ADT" /> 
- <ChangePenalty>
  <Amount>ZAR330.00</Amount> 
  </ChangePenalty>
  </AirPricingInfo>
  </AirPricingSolution>
- <AirPricingSolution Key="0MpudoXTREWjQ5S6Pc/vag==" TotalPrice="ZAR1117.66" BasePrice="ZAR680.00" ApproximateTotalPrice="ZAR1117.66" ApproximateBasePrice="ZAR680.00" Taxes="ZAR437.66" ApproximateTaxes="ZAR437.66" PolicyExclusion="false" xmlns="http://www.travelport.com/schema/air_v36_0">
- <Journey TravelTime="P0DT1H5M0S">
  <AirSegmentRef Key="knEYyW+CQJqDshNH3pINCQ==" /> 
  </Journey>
- <Journey TravelTime="P0DT1H10M0S">
  <AirSegmentRef Key="N91FsoOUTc+XAPy2vzKzHw==" /> 
  </Journey>
  <LegRef Key="MXsa/pUJSzmnRkOJ3QAl4Q==" /> 
  <LegRef Key="lGlZqxgqScC9dre8KjZPdw==" /> 
- <AirPricingInfo LatestTicketingTime="2016-06-30" PricingMethod="Guaranteed" ETicketability="Yes" PlatingCarrier="JE" Taxes="ZAR437.66" Key="xTR6NdnCRj2swMuYs1rawg==" TotalPrice="ZAR1117.66" BasePrice="ZAR680.00" ApproximateTotalPrice="ZAR1117.66" ApproximateBasePrice="ZAR680.00" ApproximateTaxes="ZAR437.66" ProviderCode="1G">
  <FareInfoRef Key="Kry835OsRGWfrIYDtuJQWg==" /> 
  <FareInfoRef Key="2yaBhoegSmSYKrHxQ9R4ww==" /> 
  <BookingInfo BookingCode="X" BookingCount="4" CabinClass="Economy" FareInfoRef="Kry835OsRGWfrIYDtuJQWg==" SegmentRef="knEYyW+CQJqDshNH3pINCQ==" /> 
  <BookingInfo BookingCode="X" BookingCount="4" CabinClass="Economy" FareInfoRef="2yaBhoegSmSYKrHxQ9R4ww==" SegmentRef="N91FsoOUTc+XAPy2vzKzHw==" /> 
  <TaxInfo Category="EV" Amount="ZAR40.46" /> 
  <TaxInfo Category="UM" Amount="ZAR48.00" /> 
  <TaxInfo Category="ZA" Amount="ZAR254.00" /> 
  <TaxInfo Category="ZV" Amount="ZAR95.20" /> 
  <FareCalc>DUR JE JNB Q60.00 280.00XJEWOW JE DUR Q60.00 280.00XJEWOW ZAR680.00END</FareCalc> 
  <PassengerType Code="ADT" /> 
- <ChangePenalty>
  <Amount>ZAR330.00</Amount> 
  </ChangePenalty>
  </AirPricingInfo>
  </AirPricingSolution>
- <AirPricingSolution Key="qbtdEnl9TMynEM2adP4c8g==" TotalPrice="ZAR1117.66" BasePrice="ZAR680.00" ApproximateTotalPrice="ZAR1117.66" ApproximateBasePrice="ZAR680.00" Taxes="ZAR437.66" ApproximateTaxes="ZAR437.66" PolicyExclusion="false" xmlns="http://www.travelport.com/schema/air_v36_0">
- <Journey TravelTime="P0DT1H5M0S">
  <AirSegmentRef Key="7fZ75wApTxOTCnZthA9iqg==" /> 
  </Journey>
- <Journey TravelTime="P0DT1H10M0S">
  <AirSegmentRef Key="N91FsoOUTc+XAPy2vzKzHw==" /> 
  </Journey>
  <LegRef Key="MXsa/pUJSzmnRkOJ3QAl4Q==" /> 
  <LegRef Key="lGlZqxgqScC9dre8KjZPdw==" /> 
- <AirPricingInfo LatestTicketingTime="2016-06-30" PricingMethod="Guaranteed" ETicketability="Yes" PlatingCarrier="JE" Taxes="ZAR437.66" Key="2gqY3hvVQDWf84jn/0b8Cw==" TotalPrice="ZAR1117.66" BasePrice="ZAR680.00" ApproximateTotalPrice="ZAR1117.66" ApproximateBasePrice="ZAR680.00" ApproximateTaxes="ZAR437.66" ProviderCode="1G">
  <FareInfoRef Key="Kry835OsRGWfrIYDtuJQWg==" /> 
  <FareInfoRef Key="2yaBhoegSmSYKrHxQ9R4ww==" /> 
  <BookingInfo BookingCode="X" BookingCount="4" CabinClass="Economy" FareInfoRef="Kry835OsRGWfrIYDtuJQWg==" SegmentRef="7fZ75wApTxOTCnZthA9iqg==" /> 
  <BookingInfo BookingCode="X" BookingCount="4" CabinClass="Economy" FareInfoRef="2yaBhoegSmSYKrHxQ9R4ww==" SegmentRef="N91FsoOUTc+XAPy2vzKzHw==" /> 
  <TaxInfo Category="EV" Amount="ZAR40.46" /> 
  <TaxInfo Category="UM" Amount="ZAR48.00" /> 
  <TaxInfo Category="ZA" Amount="ZAR254.00" /> 
  <TaxInfo Category="ZV" Amount="ZAR95.20" /> 
  <FareCalc>DUR JE JNB Q60.00 280.00XJEWOW JE DUR Q60.00 280.00XJEWOW ZAR680.00END</FareCalc> 
  <PassengerType Code="ADT" /> 
- <ChangePenalty>
  <Amount>ZAR330.00</Amount> 
  </ChangePenalty>
  </AirPricingInfo>
  </AirPricingSolution>
- <AirPricingSolution Key="WYyV38Q3THSKtqijO2GiTg==" TotalPrice="ZAR1117.66" BasePrice="ZAR680.00" ApproximateTotalPrice="ZAR1117.66" ApproximateBasePrice="ZAR680.00" Taxes="ZAR437.66" ApproximateTaxes="ZAR437.66" PolicyExclusion="false" xmlns="http://www.travelport.com/schema/air_v36_0">
- <Journey TravelTime="P0DT1H5M0S">
  <AirSegmentRef Key="scz8wz6YRySuycV975zIAQ==" /> 
  </Journey>
- <Journey TravelTime="P0DT1H10M0S">
  <AirSegmentRef Key="N91FsoOUTc+XAPy2vzKzHw==" /> 
  </Journey>
  <LegRef Key="MXsa/pUJSzmnRkOJ3QAl4Q==" /> 
  <LegRef Key="lGlZqxgqScC9dre8KjZPdw==" /> 
- <AirPricingInfo LatestTicketingTime="2016-06-30" PricingMethod="Guaranteed" ETicketability="Yes" PlatingCarrier="JE" Taxes="ZAR437.66" Key="T9AMrjQATtu3uTaBs/SQ0w==" TotalPrice="ZAR1117.66" BasePrice="ZAR680.00" ApproximateTotalPrice="ZAR1117.66" ApproximateBasePrice="ZAR680.00" ApproximateTaxes="ZAR437.66" ProviderCode="1G">
  <FareInfoRef Key="Kry835OsRGWfrIYDtuJQWg==" /> 
  <FareInfoRef Key="2yaBhoegSmSYKrHxQ9R4ww==" /> 
  <BookingInfo BookingCode="X" BookingCount="4" CabinClass="Economy" FareInfoRef="Kry835OsRGWfrIYDtuJQWg==" SegmentRef="scz8wz6YRySuycV975zIAQ==" /> 
  <BookingInfo BookingCode="X" BookingCount="4" CabinClass="Economy" FareInfoRef="2yaBhoegSmSYKrHxQ9R4ww==" SegmentRef="N91FsoOUTc+XAPy2vzKzHw==" /> 
  <TaxInfo Category="EV" Amount="ZAR40.46" /> 
  <TaxInfo Category="UM" Amount="ZAR48.00" /> 
  <TaxInfo Category="ZA" Amount="ZAR254.00" /> 
  <TaxInfo Category="ZV" Amount="ZAR95.20" /> 
  <FareCalc>DUR JE JNB Q60.00 280.00XJEWOW JE DUR Q60.00 280.00XJEWOW ZAR680.00END</FareCalc> 
  <PassengerType Code="ADT" /> 
- <ChangePenalty>
  <Amount>ZAR330.00</Amount> 
  </ChangePenalty>
  </AirPricingInfo>
  </AirPricingSolution>
- <AirPricingSolution Key="YxLTAGzzQQa73mqs0rRWGw==" TotalPrice="ZAR1117.66" BasePrice="ZAR680.00" ApproximateTotalPrice="ZAR1117.66" ApproximateBasePrice="ZAR680.00" Taxes="ZAR437.66" ApproximateTaxes="ZAR437.66" PolicyExclusion="false" xmlns="http://www.travelport.com/schema/air_v36_0">
- <Journey TravelTime="P0DT1H5M0S">
  <AirSegmentRef Key="P0KCYl2nSNCp6XbLaNhp5A==" /> 
  </Journey>
- <Journey TravelTime="P0DT1H10M0S">
  <AirSegmentRef Key="N91FsoOUTc+XAPy2vzKzHw==" /> 
  </Journey>
  <LegRef Key="MXsa/pUJSzmnRkOJ3QAl4Q==" /> 
  <LegRef Key="lGlZqxgqScC9dre8KjZPdw==" /> 
- <AirPricingInfo LatestTicketingTime="2016-06-30" PricingMethod="Guaranteed" ETicketability="Yes" PlatingCarrier="JE" Taxes="ZAR437.66" Key="6tzIHu13QvyJGFk7kTI/Yw==" TotalPrice="ZAR1117.66" BasePrice="ZAR680.00" ApproximateTotalPrice="ZAR1117.66" ApproximateBasePrice="ZAR680.00" ApproximateTaxes="ZAR437.66" ProviderCode="1G">
  <FareInfoRef Key="Kry835OsRGWfrIYDtuJQWg==" /> 
  <FareInfoRef Key="2yaBhoegSmSYKrHxQ9R4ww==" /> 
  <BookingInfo BookingCode="X" BookingCount="4" CabinClass="Economy" FareInfoRef="Kry835OsRGWfrIYDtuJQWg==" SegmentRef="P0KCYl2nSNCp6XbLaNhp5A==" /> 
  <BookingInfo BookingCode="X" BookingCount="4" CabinClass="Economy" FareInfoRef="2yaBhoegSmSYKrHxQ9R4ww==" SegmentRef="N91FsoOUTc+XAPy2vzKzHw==" /> 
  <TaxInfo Category="EV" Amount="ZAR40.46" /> 
  <TaxInfo Category="UM" Amount="ZAR48.00" /> 
  <TaxInfo Category="ZA" Amount="ZAR254.00" /> 
  <TaxInfo Category="ZV" Amount="ZAR95.20" /> 
  <FareCalc>DUR JE JNB Q60.00 280.00XJEWOW JE DUR Q60.00 280.00XJEWOW ZAR680.00END</FareCalc> 
  <PassengerType Code="ADT" /> 
- <ChangePenalty>
  <Amount>ZAR330.00</Amount> 
  </ChangePenalty>
  </AirPricingInfo>
  </AirPricingSolution>
- <AirPricingSolution Key="DXnjCWjBQNu9u8lBIgzNSw==" TotalPrice="ZAR1117.66" BasePrice="ZAR680.00" ApproximateTotalPrice="ZAR1117.66" ApproximateBasePrice="ZAR680.00" Taxes="ZAR437.66" ApproximateTaxes="ZAR437.66" PolicyExclusion="false" xmlns="http://www.travelport.com/schema/air_v36_0">
- <Journey TravelTime="P0DT1H5M0S">
  <AirSegmentRef Key="knEYyW+CQJqDshNH3pINCQ==" /> 
  </Journey>
- <Journey TravelTime="P0DT1H10M0S">
  <AirSegmentRef Key="2oLUM/GATp2c8D2QqmQ/IQ==" /> 
  </Journey>
  <LegRef Key="MXsa/pUJSzmnRkOJ3QAl4Q==" /> 
  <LegRef Key="lGlZqxgqScC9dre8KjZPdw==" /> 
- <AirPricingInfo LatestTicketingTime="2016-06-30" PricingMethod="Guaranteed" ETicketability="Yes" PlatingCarrier="JE" Taxes="ZAR437.66" Key="//6NyY9pTxaMYKx7dextYw==" TotalPrice="ZAR1117.66" BasePrice="ZAR680.00" ApproximateTotalPrice="ZAR1117.66" ApproximateBasePrice="ZAR680.00" ApproximateTaxes="ZAR437.66" ProviderCode="1G">
  <FareInfoRef Key="Kry835OsRGWfrIYDtuJQWg==" /> 
  <FareInfoRef Key="2yaBhoegSmSYKrHxQ9R4ww==" /> 
  <BookingInfo BookingCode="X" BookingCount="4" CabinClass="Economy" FareInfoRef="Kry835OsRGWfrIYDtuJQWg==" SegmentRef="knEYyW+CQJqDshNH3pINCQ==" /> 
  <BookingInfo BookingCode="X" BookingCount="4" CabinClass="Economy" FareInfoRef="2yaBhoegSmSYKrHxQ9R4ww==" SegmentRef="2oLUM/GATp2c8D2QqmQ/IQ==" /> 
  <TaxInfo Category="EV" Amount="ZAR40.46" /> 
  <TaxInfo Category="UM" Amount="ZAR48.00" /> 
  <TaxInfo Category="ZA" Amount="ZAR254.00" /> 
  <TaxInfo Category="ZV" Amount="ZAR95.20" /> 
  <FareCalc>DUR JE JNB Q60.00 280.00XJEWOW JE DUR Q60.00 280.00XJEWOW ZAR680.00END</FareCalc> 
  <PassengerType Code="ADT" /> 
- <ChangePenalty>
  <Amount>ZAR330.00</Amount> 
  </ChangePenalty>
  </AirPricingInfo>
  </AirPricingSolution>
- <AirPricingSolution Key="fLzcVIwAReWl0nDAC/a7NA==" TotalPrice="ZAR1117.66" BasePrice="ZAR680.00" ApproximateTotalPrice="ZAR1117.66" ApproximateBasePrice="ZAR680.00" Taxes="ZAR437.66" ApproximateTaxes="ZAR437.66" PolicyExclusion="false" xmlns="http://www.travelport.com/schema/air_v36_0">
- <Journey TravelTime="P0DT1H5M0S">
  <AirSegmentRef Key="7fZ75wApTxOTCnZthA9iqg==" /> 
  </Journey>
- <Journey TravelTime="P0DT1H10M0S">
  <AirSegmentRef Key="2oLUM/GATp2c8D2QqmQ/IQ==" /> 
  </Journey>
  <LegRef Key="MXsa/pUJSzmnRkOJ3QAl4Q==" /> 
  <LegRef Key="lGlZqxgqScC9dre8KjZPdw==" /> 
- <AirPricingInfo LatestTicketingTime="2016-06-30" PricingMethod="Guaranteed" ETicketability="Yes" PlatingCarrier="JE" Taxes="ZAR437.66" Key="UwQ+y1BxSQGYL17zYmd5Jg==" TotalPrice="ZAR1117.66" BasePrice="ZAR680.00" ApproximateTotalPrice="ZAR1117.66" ApproximateBasePrice="ZAR680.00" ApproximateTaxes="ZAR437.66" ProviderCode="1G">
  <FareInfoRef Key="Kry835OsRGWfrIYDtuJQWg==" /> 
  <FareInfoRef Key="2yaBhoegSmSYKrHxQ9R4ww==" /> 
  <BookingInfo BookingCode="X" BookingCount="4" CabinClass="Economy" FareInfoRef="Kry835OsRGWfrIYDtuJQWg==" SegmentRef="7fZ75wApTxOTCnZthA9iqg==" /> 
  <BookingInfo BookingCode="X" BookingCount="4" CabinClass="Economy" FareInfoRef="2yaBhoegSmSYKrHxQ9R4ww==" SegmentRef="2oLUM/GATp2c8D2QqmQ/IQ==" /> 
  <TaxInfo Category="EV" Amount="ZAR40.46" /> 
  <TaxInfo Category="UM" Amount="ZAR48.00" /> 
  <TaxInfo Category="ZA" Amount="ZAR254.00" /> 
  <TaxInfo Category="ZV" Amount="ZAR95.20" /> 
  <FareCalc>DUR JE JNB Q60.00 280.00XJEWOW JE DUR Q60.00 280.00XJEWOW ZAR680.00END</FareCalc> 
  <PassengerType Code="ADT" /> 
- <ChangePenalty>
  <Amount>ZAR330.00</Amount> 
  </ChangePenalty>
  </AirPricingInfo>
  </AirPricingSolution>
  </LowFareSearchRsp>
dbongs commented 8 years ago

Hi Vivek,

Any luck?

vivekjyotipramanik commented 8 years ago

Hi dbongs,

I am not seeing any AirPricingSolution in the above xml where the AirPricingSolution is only for any one way. All the airPricingSolutions have both ways listed. Could you please let me know which specific AirPricingSolution you are facing issues with. Thanks.

Thanks & Regards Vivekjyoti Pramanik

dbongs commented 8 years ago

Hi Vivek,

I think i have an idea of what is going on, can you please explain the following for me:

in the Air Pricing Solutions, is it possible that airSegmentKey can be repeated? if so i then think the line below is what causing my error:

if (airSegments.FirstOrDefault(t => t.Key == segmentRef.Key && t.Group == 1) != null) //add to inbound list

vivekjyotipramanik commented 8 years ago

Hi dbongs,

Yes, of course, it can be repeated. Please find below a sample scenario. say in the LFS it retruned 3 segments. Now each segment can be mixed with other. In that case there would be 3 AirPricingSolutions like below. Please let me know if this clarifies. Please let me know how it goes. Thanks.

1 & 2 2 & 3 1 & 3

Thanks & Regards Vivekjyoti Pramanik

dbongs commented 8 years ago

Hi Vivek,

it makes perfect sense, is it possible to have

1 & 2 1 & 2

i know it sound stupid ?

vivekjyotipramanik commented 8 years ago

Hi dbongs,

Yes, That is also possible, as in the same flight different ClassOfService can have different Price, So , it is possible also. Thanks

1(Class - Y) & 2 (Class - B) -> USD200 1(Class - Y) & 2 (Class - Y) -> USD300 1(Class - B) & 2 (Class - D) -> USD320 1(Class - E) & 2 (Class - D) -> USD350

Thanks & Regards Vivekjyoti Pramanik