Search code examples
soapsoap-clientsabresabredav

sabre error while trying to add baggage with ticket


Trying to issue ticket with baggage but getting below error. executed TravelItineraryReadRQ it has BG ALLOWANCE 5KG 737 DOMESTIC

<AirTicketRS Version="2.9.0" xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:stl="http://services.sabre.com/STL/v01">
         <stl:ApplicationResults status="NotProcessed">
            <stl:Error type="BusinessLogic" timeStamp="2017-04-27T07:38:49-05:00">
               <stl:SystemSpecificResults>
                  <stl:HostCommand LNIATA="193180">W¥EMD¥FCA¥BA*1P05K</stl:HostCommand>
                  <stl:Message>FORMAT-CHECK ENTRY COMMENCING WITH EMD-0197</stl:Message>
                  <stl:ShortText>ERR.SWS.HOST.ERROR_IN_RESPONSE</stl:ShortText>
               </stl:SystemSpecificResults>
            </stl:Error>
         </stl:ApplicationResults>
      </AirTicketRS>

Following is request of AirTicketLLSRQ

 <soapenv:Body>
          <ns:AirTicketRQ ReturnHostCommand="true" NumResponses="1" Version="2.9.0">
             <!--Optional:-->
             <ns:OptionalQualifiers>
                <ns:FOP_Qualifiers>
                   <!--Optional:-->
                   <ns:BasicFOP Type="CA">                  
                   </ns:BasicFOP>               
                </ns:FOP_Qualifiers>    
                <ns:MiscQualifiers>
                        <ns:BaggageAllowance  Number="1" Weight="05" />
                        <ns:Ticket Type="EMD"  />
                </ns:MiscQualifiers>
             </ns:OptionalQualifiers>        
          </ns:AirTicketRQ>
       </soapenv:Body>

Please let me know what i am missing.


Solution

  • The reason for that is that you cannot sell EMDs that way. The <ns:Ticket Type="EMD" /> is for you to sell the AirExtra after you created it. Once created you can call the AirTicket service with the air extra line number.

    In order to add the air extra you can use the information in this guide:
    http://files.developer.sabre.com/doc/providerdoc/pnrservices/AE_SWS_Sell_Cancel_User_Guide_v1_12.pdf