Open dbongs opened 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
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.
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.
Thanks & Regards Vivekjyoti Pramanik
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 }));
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
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;
}
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
Hi Vivek,
Thanks that clarifies my question. will let you know how it goes.
Hi Vivek,
how do i do queue 13? my client was advised that i should do it.
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
my client want to see booking made on the site from their old system.
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
Hi Vivek,
please have a look at why AirReq is not returning AirPricingSolutionConnections
Your Urgent reply will be highly appreciated.
Req.
Resp.