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

AirPricingSolution missing Connections #81

Open dbongs opened 8 years ago

dbongs commented 8 years ago

Hi Vivek,

please have a look at why AirReq is not returning AirPricingSolutionConnections

Your Urgent reply will be highly appreciated.

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_v36_0" /> 
- <AirItinerary xmlns="http://www.travelport.com/schema/air_v36_0">
- <AirSegment Key="DjtuvW0+R4KuAAGuHC4LlA==" NumberOfStops="1" AvailabilitySource="A" Equipment="320" OptionalServicesIndicator="false" ETicketability="Yes" LinkAvailability="true" AvailabilityDisplayType="Fare Shop/Optimal Shop" Group="0" Carrier="AA" FlightNumber="642" Origin="SFO" Destination="DEN" DepartureTime="2016-08-25T11:55:00.000-07:00" ArrivalTime="2016-08-25T17:39:00.000-06:00" FlightTime="284" Distance="954" ProviderCode="1G" ParticipantLevel="Secure Sell" PolledAvailabilityOption="Polled avail exists">
  <AirAvailInfo ProviderCode="1G" /> 
  </AirSegment>
- <AirSegment Key="NMsKRjh4ROquzhr0dhYYvQ==" AvailabilitySource="A" Equipment="E75" OptionalServicesIndicator="false" ETicketability="Yes" LinkAvailability="true" AvailabilityDisplayType="Fare Shop/Optimal Shop" Group="1" Carrier="AA" FlightNumber="6009" Origin="DEN" Destination="LAX" DepartureTime="2016-09-30T06:00:00.000-06:00" ArrivalTime="2016-09-30T07:36:00.000-07:00" FlightTime="156" Distance="848" ProviderCode="1G" ParticipantLevel="Secure Sell" PolledAvailabilityOption="Polled avail exists">
  <CodeshareInfo>COMPASS AIRLINES AS AMERICAN EAGLE</CodeshareInfo> 
  <AirAvailInfo ProviderCode="1G" /> 
  <Connection /> 
  </AirSegment>
- <AirSegment Key="h6w8P+KOT265qInf8kPeqA==" AvailabilitySource="A" Equipment="E75" OptionalServicesIndicator="false" ETicketability="Yes" LinkAvailability="true" AvailabilityDisplayType="Fare Shop/Optimal Shop" Group="1" Carrier="AA" FlightNumber="6040" Origin="LAX" Destination="SFO" DepartureTime="2016-09-30T08:15:00.000-07:00" ArrivalTime="2016-09-30T09:39:00.000-07:00" FlightTime="84" Distance="339" ProviderCode="1G" ParticipantLevel="Secure Sell" PolledAvailabilityOption="Polled avail exists">
  <CodeshareInfo>COMPASS AIRLINES AS AMERICAN EAGLE</CodeshareInfo> 
  <AirAvailInfo ProviderCode="1G" /> 
  </AirSegment>
  </AirItinerary>
  <SearchPassenger Code="ADT" BookingTravelerRef="ICM/EUQKRUWbrynJ3JgD7A==" xmlns="http://www.travelport.com/schema/common_v36_0" /> 
  <AirPricingCommand CabinClass="Economy" xmlns="http://www.travelport.com/schema/air_v36_0" /> 
  </AirPriceReq>

Resp.

<?xml version="1.0" encoding="utf-16" ?> 
- <AirPriceRsp xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" TransactionId="98C552200A07643C12C4DDC3D7B47B80" ResponseTime="8118">
  <ResponseMessage Code="710401" Type="Warning" ProviderCode="1G" xmlns="http://www.travelport.com/schema/common_v36_0">Taxes returned at the FareInfo level are for informational purposes only, and may differ from those returned at the Itinerary/Passenger Type levels.</ResponseMessage> 
  <ResponseMessage Code="4400" Type="Warning" xmlns="http://www.travelport.com/schema/common_v36_0">No Merchandising optional services returned for Flight(s) [AA][642]</ResponseMessage> 
  <ResponseMessage Code="4400" Type="Warning" xmlns="http://www.travelport.com/schema/common_v36_0">No Merchandising optional services returned for Flight(s) [AA][6009]</ResponseMessage> 
  <ResponseMessage Code="4400" Type="Warning" xmlns="http://www.travelport.com/schema/common_v36_0">No Merchandising optional services returned for Flight(s) [AA][6040]</ResponseMessage> 
- <AirItinerary xmlns="http://www.travelport.com/schema/air_v36_0">
- <AirSegment Key="BkIvayaaQeSqxnglBuTQTA==" AvailabilitySource="A" Equipment="320" OptionalServicesIndicator="false" LinkAvailability="true" AvailabilityDisplayType="Fare Specific Fare Quote Unbooked" Group="0" Carrier="AA" FlightNumber="642" Origin="SFO" Destination="DEN" DepartureTime="2016-08-25T11:55:00.000-07:00" ArrivalTime="2016-08-25T17:39:00.000-06:00" FlightTime="284" TravelTime="284" Distance="954" ProviderCode="1G" ParticipantLevel="Secure Sell" PolledAvailabilityOption="O and D cache or polled status used with different local status" ClassOfService="N">
  <CodeshareInfo OperatingCarrier="AA">American Airlines</CodeshareInfo> 
  <AirAvailInfo ProviderCode="1G" /> 
  <FlightDetails Distance="954" TravelTime="284" FlightTime="284" ArrivalTime="2016-08-25T17:39:00.000-06:00" DepartureTime="2016-08-25T11:55:00.000-07:00" Destination="DEN" Origin="SFO" Key="XrYiFsxcRoiuturY5zUcVA==" /> 
  </AirSegment>
- <AirSegment Key="/vn+nEADScWY35Ie6XkKTQ==" AvailabilitySource="A" Equipment="E75" OptionalServicesIndicator="false" LinkAvailability="true" AvailabilityDisplayType="Fare Specific Fare Quote Unbooked" Group="1" Carrier="AA" FlightNumber="6009" Origin="DEN" Destination="LAX" DepartureTime="2016-09-30T06:00:00.000-06:00" ArrivalTime="2016-09-30T07:36:00.000-07:00" FlightTime="156" TravelTime="156" Distance="848" ProviderCode="1G" ParticipantLevel="Secure Sell" PolledAvailabilityOption="O and D cache or polled status used with different local status" ClassOfService="O">
  <CodeshareInfo OperatingCarrier="AA">American Airlines</CodeshareInfo> 
  <AirAvailInfo ProviderCode="1G" /> 
  <FlightDetails Distance="848" TravelTime="156" FlightTime="156" ArrivalTime="2016-09-30T07:36:00.000-07:00" DepartureTime="2016-09-30T06:00:00.000-06:00" Destination="LAX" Origin="DEN" Key="0mBG2tFcTYWrnG/m/AzkEA==" /> 
  <Connection /> 
  </AirSegment>
- <AirSegment Key="XhIsbMIdR/2/Bg84HSiJHQ==" AvailabilitySource="A" Equipment="E75" OptionalServicesIndicator="false" LinkAvailability="true" AvailabilityDisplayType="Fare Specific Fare Quote Unbooked" Group="1" Carrier="AA" FlightNumber="6040" Origin="LAX" Destination="SFO" DepartureTime="2016-09-30T08:15:00.000-07:00" ArrivalTime="2016-09-30T09:39:00.000-07:00" FlightTime="84" TravelTime="84" Distance="339" ProviderCode="1G" ParticipantLevel="Secure Sell" PolledAvailabilityOption="O and D cache or polled status used with different local status" ClassOfService="O">
  <CodeshareInfo OperatingCarrier="AA">American Airlines</CodeshareInfo> 
  <AirAvailInfo ProviderCode="1G" /> 
  <FlightDetails Distance="339" TravelTime="84" FlightTime="84" ArrivalTime="2016-09-30T09:39:00.000-07:00" DepartureTime="2016-09-30T08:15:00.000-07:00" Destination="SFO" Origin="LAX" Key="+g6go3c0RmOcRY+BBQDPIA==" /> 
  </AirSegment>
  </AirItinerary>
- <AirPriceResult xmlns="http://www.travelport.com/schema/air_v36_0">
- <AirPricingSolution Key="0sXkIDGYSUKQmh5BbObAsg==" QuoteDate="2016-08-17" TotalPrice="ZAR4783.00" BasePrice="USD280.93" ApproximateTotalPrice="ZAR4783.00" ApproximateBasePrice="ZAR3920.00" EquivalentBasePrice="ZAR3920.00" Taxes="ZAR863.00" ApproximateTaxes="ZAR863.00">
  <AirSegmentRef Key="BkIvayaaQeSqxnglBuTQTA==" /> 
  <AirSegmentRef Key="/vn+nEADScWY35Ie6XkKTQ==" /> 
  <AirSegmentRef Key="XhIsbMIdR/2/Bg84HSiJHQ==" /> 
- <AirPricingInfo LatestTicketingTime="2016-08-18T23:59:00.000+02:00" PricingMethod="Guaranteed" ETicketability="Yes" PlatingCarrier="AA" Taxes="ZAR863.00" Key="NPAAK7uWSS+ZMt5C+Arlsw==" TotalPrice="ZAR4783.00" BasePrice="USD280.93" ApproximateTotalPrice="ZAR4783.00" ApproximateBasePrice="ZAR3920.00" EquivalentBasePrice="ZAR3920.00" ApproximateTaxes="ZAR863.00" ProviderCode="1G" IncludesVAT="false">
- <FareInfo NotValidAfter="2016-08-25" NotValidBefore="2016-08-25" DepartureDate="2016-08-25" Amount="ZAR2790.00" EffectiveDate="2016-08-17T15:51:00.000+02:00" Destination="DEN" Origin="SFO" PassengerTypeCode="ADT" FareBasis="NA07ZNI3" Key="rAqhC8CCTRKtbxZRQGJprA==" TaxAmount="ZAR463.00">
  <Endorsement Value="NONREF/SVCCHGPLUSFAREDIF/" xmlns="http://www.travelport.com/schema/common_v36_0" /> 
  <Endorsement Value="CXL BY FLT TIME OR NOVALUE" xmlns="http://www.travelport.com/schema/common_v36_0" /> 
  <FareRuleKey FareInfoRef="rAqhC8CCTRKtbxZRQGJprA==" ProviderCode="1G">6UUVoSldxwhTackIcuXi8MbKj3F8T9EyxsqPcXxP0TIjSPOlaHfQe5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovAzc8zApWK8ZuO422wYI1U7eUHcuWlOZd4ZLrxxEayu/3Qu0ZscBMSQ7AvMKi/VPtcgc/jeYr9KRf/4zPUEvJ7NuqRaRebFjHomLgFn3B9sPd6v9tEaRJgF5C/YIEuJEelpGL74YNUBfVsbbOoAyZ1UFJTyB5x9tYSbUSm61kBU5OuGdrtUQs3wLBjKCtIuSAEEACA4xcw3/+RKix4s03tJuF/oTXxxF6MRdVAmZB4NevHZNO0IOqY3aUuA32Ku4i9RwNwqsf/BaEiYqD1taBKM+SYQCJGhJPjGF83ZgRAY80ccvr40e6Z37hTdRV2s3CuDzD4Wdjal2fly5qxZ3qLwOXLmrFneovA5cuasWd6i8DUAh2WcSFc+w=</FareRuleKey> 
  <Brand Key="rAqhC8CCTRKtbxZRQGJprA==" BrandFound="false" UpSellBrandFound="false" /> 
  </FareInfo>
- <FareInfo NotValidAfter="2016-09-30" NotValidBefore="2016-09-30" DepartureDate="2016-09-30" Amount="ZAR1130.00" EffectiveDate="2016-08-17T15:51:00.000+02:00" Destination="SFO" Origin="DEN" PassengerTypeCode="ADT" FareBasis="OA10ZNH5" Key="LBCefmlUQ3ee+N6c3xm9Mg==" TaxAmount="ZAR400.00">
  <Endorsement Value="NONREF/SVCCHGPLUSFAREDIF/" xmlns="http://www.travelport.com/schema/common_v36_0" /> 
  <Endorsement Value="CXL BY FLT TIME OR NOVALUE" xmlns="http://www.travelport.com/schema/common_v36_0" /> 
  <FareRuleKey FareInfoRef="LBCefmlUQ3ee+N6c3xm9Mg==" ProviderCode="1G">6UUVoSldxwhTackIcuXi8MbKj3F8T9EyxsqPcXxP0TIjSPOlaHfQe5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovAzc8zApWK8ZuO422wYI1U7cH0ES5nMFFx249etkvugnZjg0M6xXdtgJ13MqkmC5DTPa7Aw3cHsz1jdPbjgqZi469G3XsKBDNKoX+hNfHEXoxYuAWfcH2w92IEQfz1U0L76CSexFV3+RyddzKpJguQ0zqkp0FEw0raLFPDtAvktx0Le5BEjdkdgQUUAclaDA+s2VnlMPBz4tVs9rhw6oCFYhyHUC2YGrfi1xdDp2Uc38jnRst2+lZuGqX1bYXW43FnwXda4sH2fIdvEe9U/59nTPrqzJK8e+uM1GGRnKRzlZM/XJICOIRe0l8XkOI3g4GoW+QKPIWaRvqly5qxZ3qLwOXLmrFneovA5cuasWd6i8D5W4bRuwrrPA=</FareRuleKey> 
  <Brand Key="LBCefmlUQ3ee+N6c3xm9Mg==" BrandFound="false" UpSellBrandFound="false" /> 
  </FareInfo>
  <BookingInfo BookingCode="N" CabinClass="Economy" FareInfoRef="rAqhC8CCTRKtbxZRQGJprA==" SegmentRef="BkIvayaaQeSqxnglBuTQTA==" /> 
  <BookingInfo BookingCode="O" CabinClass="Economy" FareInfoRef="LBCefmlUQ3ee+N6c3xm9Mg==" SegmentRef="/vn+nEADScWY35Ie6XkKTQ==" /> 
  <BookingInfo BookingCode="O" CabinClass="Economy" FareInfoRef="LBCefmlUQ3ee+N6c3xm9Mg==" SegmentRef="XhIsbMIdR/2/Bg84HSiJHQ==" /> 
  <TaxInfo Key="x+rjfDNFS96Avdj1pXLdUA==" Category="AY" Amount="ZAR156.00" /> 
  <TaxInfo Key="qfO6yil5TIa1O3eZev0srg==" Category="US" Amount="ZAR294.00" /> 
- <TaxInfo Key="UQRa2znMRjaFDrxxbWNrPg==" Category="XF" Amount="ZAR189.00">
  <TaxDetail Amount="USD4.50" OriginAirport="SFO" xmlns="http://www.travelport.com/schema/common_v36_0" /> 
  <TaxDetail Amount="USD4.50" OriginAirport="DEN" xmlns="http://www.travelport.com/schema/common_v36_0" /> 
  <TaxDetail Amount="USD4.50" OriginAirport="LAX" xmlns="http://www.travelport.com/schema/common_v36_0" /> 
  </TaxInfo>
- <TaxInfo Key="oWiEyutsS8CxE4P+FqKIww==" Category="ZP" Amount="ZAR224.00">
  <TaxDetail Amount="USD4.00" OriginAirport="SFO" xmlns="http://www.travelport.com/schema/common_v36_0" /> 
  <TaxDetail Amount="USD4.00" OriginAirport="PHX" xmlns="http://www.travelport.com/schema/common_v36_0" /> 
  <TaxDetail Amount="USD4.00" OriginAirport="DEN" xmlns="http://www.travelport.com/schema/common_v36_0" /> 
  <TaxDetail Amount="USD4.00" OriginAirport="LAX" xmlns="http://www.travelport.com/schema/common_v36_0" /> 
  </TaxInfo>
  <FareCalc>SFO AA DEN 200.00NA07ZNI3 AA X/LAX AA SFO 80.93OA10ZNH5 USD280.93END</FareCalc> 
  <PassengerType Code="ADT" /> 
- <ChangePenalty>
  <Amount>ZAR2790.0</Amount> 
  </ChangePenalty>
- <BaggageAllowances>
- <BaggageAllowanceInfo Origin="SFO" Destination="DEN" Carrier="AA" TravelerType="ADT">
- <URLInfo>
  <URL>MYTRIPANDMORE.COM/BAGGAGEDETAILSAA.BAGG</URL> 
  </URLInfo>
- <TextInfo>
  <Text>0P</Text> 
  <Text>BAGGAGE DISCOUNTS MAY APPLY BASED ON FREQUENT FLYER STATUS/ ONLINE CHECKIN/FORM OF PAYMENT/MILITARY/ETC.</Text> 
  </TextInfo>
- <BagDetails ApplicableBags="1stChecked" BasePrice="USD25.00" ApproximateBasePrice="ZAR348.36" TotalPrice="USD25.00" ApproximateTotalPrice="ZAR348.36">
- <BaggageRestriction>
- <TextInfo>
  <Text>UPTO50LB/23KG AND UPTO62LI/158LCM</Text> 
  </TextInfo>
  </BaggageRestriction>
  </BagDetails>
- <BagDetails ApplicableBags="2ndChecked" BasePrice="USD35.00" ApproximateBasePrice="ZAR487.70" TotalPrice="USD35.00" ApproximateTotalPrice="ZAR487.70">
- <BaggageRestriction>
- <TextInfo>
  <Text>UPTO50LB/23KG AND UPTO62LI/158LCM</Text> 
  </TextInfo>
  </BaggageRestriction>
  </BagDetails>
  </BaggageAllowanceInfo>
- <BaggageAllowanceInfo Origin="DEN" Destination="SFO" Carrier="AA" TravelerType="ADT">
- <URLInfo>
  <URL>MYTRIPANDMORE.COM/BAGGAGEDETAILSAA.BAGG</URL> 
  </URLInfo>
- <TextInfo>
  <Text>0P</Text> 
  <Text>BAGGAGE DISCOUNTS MAY APPLY BASED ON FREQUENT FLYER STATUS/ ONLINE CHECKIN/FORM OF PAYMENT/MILITARY/ETC.</Text> 
  </TextInfo>
- <BagDetails ApplicableBags="1stChecked" BasePrice="USD25.00" ApproximateBasePrice="ZAR348.36" TotalPrice="USD25.00" ApproximateTotalPrice="ZAR348.36">
- <BaggageRestriction>
- <TextInfo>
  <Text>UPTO50LB/23KG AND UPTO62LI/158LCM</Text> 
  </TextInfo>
  </BaggageRestriction>
  </BagDetails>
- <BagDetails ApplicableBags="2ndChecked" BasePrice="USD35.00" ApproximateBasePrice="ZAR487.70" TotalPrice="USD35.00" ApproximateTotalPrice="ZAR487.70">
- <BaggageRestriction>
- <TextInfo>
  <Text>UPTO50LB/23KG AND UPTO62LI/158LCM</Text> 
  </TextInfo>
  </BaggageRestriction>
  </BagDetails>
  </BaggageAllowanceInfo>
- <CarryOnAllowanceInfo Origin="SFO" Destination="DEN" Carrier="AA">
- <TextInfo>
  <Text>2P</Text> 
  </TextInfo>
- <CarryOnDetails ApplicableCarryOnBags="1" BasePrice="USD0.00" ApproximateBasePrice="ZAR0.00" TotalPrice="USD0.00" ApproximateTotalPrice="ZAR0.00">
- <BaggageRestriction>
- <TextInfo>
  <Text>UPTO45LI/115LCM</Text> 
  </TextInfo>
  </BaggageRestriction>
  </CarryOnDetails>
- <CarryOnDetails ApplicableCarryOnBags="2" BasePrice="USD0.00" ApproximateBasePrice="ZAR0.00" TotalPrice="USD0.00" ApproximateTotalPrice="ZAR0.00">
- <BaggageRestriction>
- <TextInfo>
  <Text>CARRYON HAND BAGGAGE ALLOWANCE</Text> 
  </TextInfo>
  </BaggageRestriction>
  </CarryOnDetails>
  </CarryOnAllowanceInfo>
- <CarryOnAllowanceInfo Origin="DEN" Destination="LAX" Carrier="AA">
- <TextInfo>
  <Text>2P</Text> 
  </TextInfo>
- <CarryOnDetails ApplicableCarryOnBags="1" BasePrice="USD0.00" ApproximateBasePrice="ZAR0.00" TotalPrice="USD0.00" ApproximateTotalPrice="ZAR0.00">
- <BaggageRestriction>
- <TextInfo>
  <Text>UPTO45LI/115LCM</Text> 
  </TextInfo>
  </BaggageRestriction>
  </CarryOnDetails>
- <CarryOnDetails ApplicableCarryOnBags="2" BasePrice="USD0.00" ApproximateBasePrice="ZAR0.00" TotalPrice="USD0.00" ApproximateTotalPrice="ZAR0.00">
- <BaggageRestriction>
- <TextInfo>
  <Text>CARRYON HAND BAGGAGE ALLOWANCE</Text> 
  </TextInfo>
  </BaggageRestriction>
  </CarryOnDetails>
  </CarryOnAllowanceInfo>
- <CarryOnAllowanceInfo Origin="LAX" Destination="SFO" Carrier="AA">
- <TextInfo>
  <Text>2P</Text> 
  </TextInfo>
- <CarryOnDetails ApplicableCarryOnBags="1" BasePrice="USD0.00" ApproximateBasePrice="ZAR0.00" TotalPrice="USD0.00" ApproximateTotalPrice="ZAR0.00">
- <BaggageRestriction>
- <TextInfo>
  <Text>UPTO45LI/115LCM</Text> 
  </TextInfo>
  </BaggageRestriction>
  </CarryOnDetails>
- <CarryOnDetails ApplicableCarryOnBags="2" BasePrice="USD0.00" ApproximateBasePrice="ZAR0.00" TotalPrice="USD0.00" ApproximateTotalPrice="ZAR0.00">
- <BaggageRestriction>
- <TextInfo>
  <Text>CARRYON HAND BAGGAGE ALLOWANCE</Text> 
  </TextInfo>
  </BaggageRestriction>
  </CarryOnDetails>
  </CarryOnAllowanceInfo>
- <EmbargoInfo Origin="SFO" Destination="DEN" Carrier="AA">
- <URLInfo>
  <URL>MYTRIPANDMORE.COM/BAGGAGEDETAILSAA.BAGG</URL> 
  </URLInfo>
- <TextInfo>
  <Text>888</Text> 
  </TextInfo>
  </EmbargoInfo>
- <EmbargoInfo Origin="DEN" Destination="LAX" Carrier="AA">
- <URLInfo>
  <URL>MYTRIPANDMORE.COM/BAGGAGEDETAILSAA.BAGG</URL> 
  </URLInfo>
- <TextInfo>
  <Text>888</Text> 
  </TextInfo>
  </EmbargoInfo>
- <EmbargoInfo Origin="LAX" Destination="SFO" Carrier="AA">
- <URLInfo>
  <URL>MYTRIPANDMORE.COM/BAGGAGEDETAILSAA.BAGG</URL> 
  </URLInfo>
- <TextInfo>
  <Text>888</Text> 
  </TextInfo>
  </EmbargoInfo>
  </BaggageAllowances>
  </AirPricingInfo>
  <FareNote Key="3Hgr4CiUT5qUvAdSb+EE6w==">RATE USED IN EQU TOTAL IS BSR 1USD - 13.9342ZAR</FareNote> 
  <FareNote Key="Pc2YxM/OSKOcl/GpGiHAKw==">LAST DATE TO PURCHASE TICKET: 18AUG16</FareNote> 
  <FareNote Key="cZIs+RDkRXqRuHNV+LQtYA==">TICKETING AGENCY 9JV</FareNote> 
  <FareNote Key="UZgBsznXRGSdu3aR2JZ6MQ==">DEFAULT PLATING CARRIER AA</FareNote> 
  <FareNote Key="zD7IZrwARP+G7bp9sDbpWw==">E-TKT REQUIRED</FareNote> 
  <FareNote Key="yw/y+wIxTSaoKd013no8/w==">TICKETING FEES MAY APPLY</FareNote> 
  </AirPricingSolution>
  </AirPriceResult>
  </AirPriceRsp>
vivekjyotipramanik commented 8 years ago

Hi dbongs,

I can see Connection in the response. Please find below the snippet from the response. Thanks.

<AirSegment Key="/vn+nEADScWY35Ie6XkKTQ==" AvailabilitySource="A" Equipment="E75" OptionalServicesIndicator="false" LinkAvailability="true" AvailabilityDisplayType="Fare Specific Fare Quote Unbooked" Group="1" Carrier="AA" FlightNumber="6009" Origin="DEN" Destination="LAX" DepartureTime="2016-09-30T06:00:00.000-06:00" ArrivalTime="2016-09-30T07:36:00.000-07:00" FlightTime="156" TravelTime="156" Distance="848" ProviderCode="1G" ParticipantLevel="Secure Sell" PolledAvailabilityOption="O and D cache or polled status used with different local status" ClassOfService="O">
  <CodeshareInfo OperatingCarrier="AA">American Airlines</CodeshareInfo> 
  <AirAvailInfo ProviderCode="1G" /> 
  <FlightDetails Distance="848" TravelTime="156" FlightTime="156" ArrivalTime="2016-09-30T07:36:00.000-07:00" DepartureTime="2016-09-30T06:00:00.000-06:00" Destination="LAX" Origin="DEN" Key="0mBG2tFcTYWrnG/m/AzkEA==" /> 
  **<Connection />** 
  </AirSegment>
- <AirSegment Key="XhIsbMIdR/2/Bg84HSiJHQ==" AvailabilitySource="A" Equipment="E75" OptionalServicesIndicator="false" LinkAvailability="true" AvailabilityDisplayType="Fare Specific Fare Quote Unbooked" Group="1" Carrier="AA" FlightNumber="6040" Origin="LAX" Destination="SFO" DepartureTime="2016-09-30T08:15:00.000-07:00" ArrivalTime="2016-09-30T09:39:00.000-07:00" FlightTime="84" TravelTime="84" Distance="339" ProviderCode="1G" ParticipantLevel="Secure Sell" PolledAvailabilityOption="O and D cache or polled status used with different local status" ClassOfService="O">
  <CodeshareInfo OperatingCarrier="AA">American Airlines</CodeshareInfo> 
  <AirAvailInfo ProviderCode="1G" /> 
  <FlightDetails Distance="339" TravelTime="84" FlightTime="84" ArrivalTime="2016-09-30T09:39:00.000-07:00" DepartureTime="2016-09-30T08:15:00.000-07:00" Destination="SFO" Origin="LAX" Key="+g6go3c0RmOcRY+BBQDPIA==" /> 
  </AirSegment>

Thanks & Regards Vivekjyoti Pramanik

dbongs commented 8 years ago

Hi Vivek,

airPriceRsp.AirPriceResult[0].AirPricingSolution[0].Connection is null. so when i do AirCreate the technician says it's wrong because on my priceReg and Resp i had the connections.

vivekjyotipramanik commented 8 years ago

Hi dbongs,

AirPricingSolution would not show any Connetion in AirPriceRsp. Please find below a sample response. In AirCreate the Connection should be just like AirPriceReq and you have to add connections. The response is absolutely correct. Could you please provide me the ORS ticket number so, that I can check. Thanks.

https://support.travelport.com/webhelp/uapi/Content/SampleWeb/Individual_Sample_Pages/035-1G_Air_LFS-Connection.htm

Thanks & Regards Vivekjyoti Pramanik

dbongs commented 8 years ago

Hi Vivek,

here is the ORS ticket number: 170607

i am not too sure as how i will add the connections?

this is how i use to add it: if (airPricingSolution.Connection != null) airConnection.AddRange(airPricingSolution.Connection.Select(connection => new UniversalService.Connection() { SegmentIndex = connection.SegmentIndex }));

vivekjyotipramanik commented 8 years ago

Hi dbongs,

Could you please let me know why are you adding connections to AirPricingSolution. We need to Connection after AirSegment, just like you are doing in AirPriceReq. We do not need to add connection in AirPricingSolution. Please check the connection booking sample provided below. Please let me know how it goes. Thanks.

https://support.travelport.com/webhelp/uapi/Content/SampleWeb/SampleFiles/035-03_1G_AirBook_Rq.xml

Thanks & Regards Vivekjyoti Pramanik

dbongs commented 8 years ago

Hi Vivek,

i am not adding to airPricingSolution, i create a new list of Connection then based on the number of connections we have on the airPricingSolution.Connection i add to that new list.

after that i then assign the ryt connection to the ryt airsegment see code below:

if (connections == null) return;

        foreach (var connection in connections)
        {
                itinerarySegments[connection.SegmentIndex].Connection = connection;
        }
vivekjyotipramanik commented 8 years ago

Hi dbongs,

While creating the Booking request, Please use the connection returned in the AirPriceRsp/AirItinerary/AirSegment/Connection. You would not get Connection in AirPriceRsp. Please let me know if that clarifies your question. Please let me know how it goes. Thanks.

Thanks & Regards Vivekjyoti Pramanik

dbongs commented 8 years ago

Hi Vivek,

Thanks that clarifies my question. will let you know how it goes.

dbongs commented 8 years ago

Hi Vivek,

how do i do queue 13? my client was advised that i should do it.

vivekjyotipramanik commented 8 years ago

Hi dbongs,

Could you please provide more information about this. There is a queue functionality in uAPI but that is a quite detailed functionality and it would be great to have more details before I can recommend something. Thanks.

Thanks & Regards Vivekjyoti Pramanik

dbongs commented 8 years ago

my client want to see booking made on the site from their old system.

vivekjyotipramanik commented 8 years ago

Hi dbongs,

Could you please elaborate more about the old system. Is it galileo desktop? I would recommend you to create a ORS ticket with all the details and an API Support Analyst will help you. Thanks.

Thanks & Regards Vivekjyoti Pramanik