Muhammad Yasir February 2016

Error CODE - UC SEG STATUS NOT ALLOWED

I am trying to generate PNR. For this purpose I used “EnhancedAirBookRQ” for Air Book “OTA_AirBookRQ” and “OTA_AirPriceRQ” for Price.


The work flow is given below.

(1) I used “BargainFinderMaxRQ” for search  
(2) Then I used “EnhancedAirBookRQ” for Air book and Price Iternary.  
(3) Then I used “PassengerDetailsRQ” to input passenger details 
(4) Last I want to end transaction.

I tried so many things but did not able to finish it successfully. What necessary fields I am missing in “EnhancedAirBookRQ” to book and price and how to continue to “PassengerDetailsRQ”.

//Request “EnhancedAirBookRQ”
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <SOAP-ENV:Header>
        <m:MessageHeader xmlns:m="http://www.ebxml.org/namespaces/messageHeader">
          <m:From>
            <m:PartyId type="urn:x12.org:IO5:01">malikexpress.com</m:PartyId>
          </m:From>
          <m:To>
            <m:PartyId type="urn:x12.org:IO5:01">http://webservices.sabre.com/sabreXML/2011/10</m:PartyId>
          </m:To>
          <m:CPAId>XF08</m:CPAId>
          <m:ConversationId>SWS-Test-Tool-CID</m:ConversationId>
          <m:Service m:type="OTA">Air Shopping Service</m:Service>
          <m:Action>EnhancedAirBookRQ</m:Action>
          <m:MessageData>
            <m:MessageId>mid:20001209-136453-2333@clientofsabre.com</m:MessageId>
            <m:Timestamp>2016-02-08T06:10:06Z</m:Timestamp>
            <m:TimeToLive>2016-02-08T06:10:06Z</m:TimeToLive>
          </m:MessageData>
          <m:DuplicateElimination />
                  

Answers


Wisdoom February 2016

It would be good to know what is the error you get in the EndTransaction, plus, you have an EndTransaction in the PassengerDetails (inside the PostProcessing element).

There are 5 basic things that you will need to have in any PNR:
Phone number
Received From
Itinerary
Name
Ticketing Time Limit

I recommend you to check on this FormatFinder link in order to learn more about PNRs, like the information above.

Anyway, it might be unrelated, but in the EnhancedAirBook response provided I see that the pricing failed because the booked itinerary was not confirmed. You can see the Status="UC", which means Unable to Confirm. (For more on UCs or different status I recommend you to check with webservices support directly.)


Dhiraj Bastwade February 2016

UC status means seats are UN-CONFIRMED. UC flight segment flights are not allowed to be booked.

You can EndTransaction in PostProcessing element itself in PassengerDetailsRQ which will return you PNR in response ItineraryRef element with ID attribute.

Please Note: TravelItineraryAddInfoRQ + TravelItineraryReadRQ + EndTransaction can be summarized in single step by calling PassengerDetailsRQ

Post Status

Asked in February 2016
Viewed 3,034 times
Voted 4
Answered 2 times

Search




Leave an answer