The travelport-uapi-tutorial-php is a PHP project for Universal API that will help you connect and code a standard workflow including Air, Vehicle, and Hotel.
At AirPriceReq I am getting the following response
{
"ResponseStatus": "fail",
"ResponseMessage": "INVALID ENTRY-PRICE ALREADY EXISTS FOR FOLLOWING SEGMENTS/PTCS\n"
}
Yes, I know the AirPricingInfo already exists but that data no more valid after adding the second segment in AirReservation.
Before doing AirPriceReq, I had followed the below step for creating and modifying the AirReservation.
Created an AirReservation form (LHE -> KHI) by AirCreatReservationReq and then add another segment (KHI -> ISB) by UniversalCommand AirAdd. In AirAdd response I got a warning message (The reservation returned by the host changed. The segment information is now updated and the pricing data has not changed.) which is a valid message and PricingMethod in AirPricingInfo element become Reprice and PricingType remain StoredFare.
Note: I tried to drop the AirPricingInfo so I can get success response from AirPriceReq but upon dropping got fail response with a message (00000 INVALID TR NUMBER)
I am doing Repricing a booked flight by following the steps mentioned in the below link. https://support.travelport.com/webhelp/uapi/Content/Booking/Modify/Modifying_Air_Bookings.htm#StorePrice
At AirPriceReq I am getting the following response
Yes, I know the AirPricingInfo already exists but that data no more valid after adding the second segment in AirReservation.
Before doing AirPriceReq, I had followed the below step for creating and modifying the AirReservation.
Created an AirReservation form (LHE -> KHI) by AirCreatReservationReq and then add another segment (KHI -> ISB) by UniversalCommand AirAdd. In AirAdd response I got a warning message (The reservation returned by the host changed. The segment information is now updated and the pricing data has not changed.) which is a valid message and PricingMethod in AirPricingInfo element become Reprice and PricingType remain StoredFare.
Note: I tried to drop the AirPricingInfo so I can get success response from AirPriceReq but upon dropping got fail response with a message (00000 INVALID TR NUMBER)
@vivekjyotipramanik
Thanks