amadeus-ws-client
amadeus-ws-client copied to clipboard
NEED TICKETING ARRANGEMENT and NEED RECEIVED FROM error while CommitPNRRQ
I am getting the below error while doing the commitPNR request. All the xml request and response are attached. The error details is available in the 19-Oct-2020__CommitPNRRS.txt
<freeText>ERROR AT END OF TRANSACTION TIME</freeText> <freeText>ERROR AT EOT TIME </freeText> <freeText>NEED RECEIVED FROM </freeText> <freeText>NEED TICKETING ARRANGEMENT </freeText>
19-Oct-2020__Fare_MasterPricerTravelBoardSearchTimeStamp.txt 19-Oct-2020__FarePricePNRWithBookingClassRQ.txt 19-Oct-2020__FarePricePNRWithBookingClassRS.txt 19-Oct-2020__FarePricePNRWithBookingClassTimeStamp.txt 19-Oct-2020__FMiniRule_GetFromRecRQ.txt 19-Oct-2020__FMiniRule_GetFromRecRS.txt 19-Oct-2020__PNRAddMultiElementsRQ.txt 19-Oct-2020__PNRAddMultiElementsRS.txt 19-Oct-2020__PNRAddMultiElementsTimeStamp.txt 19-Oct-2020__Security_SignOutRQ.txt 19-Oct-2020__Security_SignOutRS.txt 19-Oct-2020__TicketCreateTSTRQ.txt 19-Oct-2020__TicketCreateTSTRS.txt 19-Oct-2020__TicketCreateTSTTimeStamp.txt
19-Oct-2020__Fare_InformativeBestPricingWithoutPNRTimeStamp.txt 19-Oct-2020__Fare_MasterPricerTravelBoardSearchRQ.txt 19-Oct-2020__Fare_MasterPricerTravelBoardSearchRS.txt
19-Oct-2020__Air_SellFromRecommendationRQ.txt 19-Oct-2020__Air_SellFromRecommendationRS.txt 19-Oct-2020__Air_SellFromRecommendationTimeStamp.txt 19-Oct-2020__CommitPNRRQ.txt 19-Oct-2020__CommitPNRRS.txt 19-Oct-2020__CommitPNRTimeStamp.txt 19-Oct-2020__Fare_CheckRulesRQ.txt 19-Oct-2020__Fare_CheckRulesRS.txt 19-Oct-2020__Fare_InformativeBestPricingWithoutPNRRQ.txt 19-Oct-2020__Fare_InformativeBestPricingWithoutPNRRS.txt
This is way too late to respond to, sorry, but the error is there:
NEED RECEIVED FROM
NEED TICKETING ARRANGEMENT
When you create a PNR, these elements should be present before you can save a PNR.
See the samples here: https://github.com/amabnl/amadeus-ws-client/blob/master/docs/samples.rst#pnr-addmultielements
Received From: a Amadeus\Client\RequestOptions\Pnr\Element\ReceivedFrom
element. (should not be needed, the library auto-adds that element on pnr creation or modification.. ??)
Ticketing arrangement: an Amadeus\Client\RequestOptions\Pnr\Element\Ticketing
element. https://github.com/amabnl/amadeus-ws-client/blob/master/docs/samples/pnr-create-modify.rst#ticketing-element-tk