Open pzanwar03 opened 6 years ago
Hi pzanwar03,
This error is coming cause the Key from AirSegment and SegmentRef in BookingInfo is not matching. The SegmentRef should match the Key with actual AirSegment element in a given request. Actually looks like instead of filling up the bookingRequest dynamically using the details form AirPricing, you are using them statically and that is causing the mismatch on several attribute values and elements. Please find below the complete xml flow link which might be helpful. The request should match all the details from the previous response, So AirPrice should use the response from LowFareSearch/AirAvailability, AirCreateReservationReq should use the response from AirPrice and So on. Please let us know how it goes. Thanks.
Hi vivekjyotipramanik ,
Thank you for your response. I have changed that and till now i'm getting "BookingInfo@SegmentRef should correspond to the segment of the same provider as airpricing." error. I'm putting this information from air price response using php script dynamically. So what's the problem? I'm attaching information please check and let me know as soon as you can. I'm waiting for your response to complete this script. airCreateRequest.txt airCreateResponse.txt airPricingResponse.txt
Thanks, Rasel
Hi raselcse10,
In the AirPricingInfo in AirReservationCreateReq you have used PlatingCarrier as 1G, which is incorrect. It should 9W. Please correct it and give it a try. Thanks.
Hi vivekjyotipramanik ,
Changed and no luck. Please check this below airCreateRequest file
Rasel newAirCreateRequest.txt
Hi raselcse10,
Could you please create a Mytravelport ticket regarding this issue. Thanks.
Hi vivekjyotipramanik,
Yes i did but they didn't responded yet. I need to solve this problem asap and i'm stuck in this. Please help me out.
Rasel
Hi raselcse10,
If you need to prioritize the issue, Please contact your Travelport Account manager and he/she will be able to prioritize it. Thanks.
Hi vivekjyotipramanik,
I informed them and they told me that they will let me know when they can. But you know i need to solve this issue asap because of i'm stuck from last 2 weeks. Hope you understand my situation.
Rasel
Hi raselcse10,
As this is an API issue, we need help of the API Analyst. That is why asked you to the raise the ticket. I could not find the issue with your request and looks like this is a transaction issue. Please contact your Travelport Account manager for this. Thanks.
Thank you sir.
$TARGETBRANCH = 'P105159'; $CREDENTIALS = 'Universal API/uAPI2145928867:zeWBnhJmzkPax3RQ3g2EqMZmZ'; $Provider = '1G'; //1G/1V/1P/ACH $dateOfBirth = '1990-10-23'; $nationality = 'BD'; $firstName = 'Anwar'; $lastName = 'Pervez'; $prefix = 'Mr.'; $key = '83eKH87Q2BKAaEzYCAAAAA=='; $group = '0'; $Carrier = 'UA'; $PlatingCarrier = 'UA'; $flightNumber = '3508'; $origin = 'DEN'; $destination = 'ATL'; $deptTime = '2018-01-01T13:30:00.000-07:00'; $arrivalTime = '2018-01-01T18:29:00.000-05:00'; $flightTime = '179'; $distance = '1207'; $Gender = 'M'; $AddressName = 'Dhaka'; $City = 'Dhaka'; $Street = '12/7, Dhaka'; $State = 'BD'; $PostalCode = '1200'; $AreaCode = '880'; $CountryCode = '880'; $Location = '880'; $phnNumber = '1723777900'; $EmailID = 'pzanwar03@gmail.com'; $SegmentRef = '83eKH87Q2BKAwvyYCAAAAA=='; $TypeCash = 'Cash'; $FareInfoRef = '83eKH87Q2BKA7vyYCAAAAA=='; $PricingKey = '83eKH87Q2BKANMzYCAAAAA=='; $PricingKeyTax1 = '83eKH87Q2BKAqFzYCAAAAA=='; $PricingKeyTax2 = '83eKH87Q2BKAsFzYCAAAAA=='; $PricingKeyTax3 = '83eKH87Q2BKA/FzYCAAAAA=='; $TaxInfoCat1 = 'AY'; $TaxInfoCat2 = 'US'; $TaxInfoCat3 = 'XF'; $ApproximateBasePrice = 'AUD1682.00'; $ApproximateTotalPrice = 'AUD1925.80'; $ApproximateTotalPrice = 'USD1315.36'; $ETicketability = 'Yes'; $Taxes = 'AUD121.90'; $TotalPrice = 'AUD1925.80'; $AvailabilitySource = 'S'; $ChangeOfPlane = 'false'; $ClassOfService = 'E'; $Equipment = 'E70'; $AirSegmentKey = '83eKH87Q2BKAwvyYCAAAAA=='; $LinkAvailability = 'true'; $OptionalServicesIndicator = 'false'; $TravelTime = '179'; $FlightDetailsKey = '83eKH87Q2BKAxvyYCAAAAA=='; $AirPricingInfoKey = '83eKH87Q2BKA2vyYCAAAAA=='; $LatestTicketingTime = '2017-10-19'; $PricingMethod = 'Guaranteed'; $FareInfoAmount = 'AUD420.00'; $DepartureDate = '2018-01-01'; $EffectiveDate = '2017-10-18T20:34:00.000+11:00'; $FareBasis = 'QAA4AKEN'; $FareInfoKey = '83eKH87Q2BKA7vyYCAAAAA=='; $NotValidAfter = '2018-01-01'; $NotValidBefore = '2018-01-01'; $PassengerTypeCode = 'ADT'; $TaxInfoPrice1 = 'AUD14.40'; $TaxInfoPrice2 = 'AUD45.60'; $TaxInfoPrice3 = 'AUD11.60'; $FareCalc = 'DEN UA ATL Q46.51 281.86QAA4AKEN UA DEN Q27.91 119.07KAA2AKEN USD475.35END'; $AmountAir = 'AUD255.00'; $BasePrice = "USD950.70";