2016-07-19 8 views
0

幼児を座席なしで予約しようとすると、以下のエラーが表示されます。幼児の座席予約は問題ありません。座席なし=幼児セイバー児乗りの飛行区間の予約方法

INF 席と
INS =幼児

参照:https://richmedia.sabre.com/docs_support/quickreferences/gen/price54.pdfここ

は私のペイロードです:

<EnhancedAirBookRQ version="3.6.0" HaltOnError="true" xmlns="http://services.sabre.com/sp/eab/v3_6"> 
<OTA_AirBookRQ> 
    <HaltOnStatus Code="SS" ></HaltOnStatus> 
    <OriginDestinationInformation> 
     <FlightSegment DepartureDateTime="2016-07-20T04:00:00" FlightNumber="2835" NumberInParty="4" ResBookDesigCode="K" Status="NN" > 
      <DestinationLocation LocationCode="CEB" ></DestinationLocation> 
      <MarketingAirline Code="PR" FlightNumber="2835" ></MarketingAirline> 
      <OriginLocation LocationCode="MNL" ></OriginLocation> 
     </FlightSegment> 
     <FlightSegment DepartureDateTime="2016-07-25T04:50:00" FlightNumber="1836" NumberInParty="4" ResBookDesigCode="K" Status="NN" > 
      <DestinationLocation LocationCode="MNL" ></DestinationLocation> 
      <MarketingAirline Code="PR" FlightNumber="1836" ></MarketingAirline> 
      <OriginLocation LocationCode="CEB" ></OriginLocation> 
     </FlightSegment> 
    </OriginDestinationInformation> 
</OTA_AirBookRQ> 
<OTA_AirPriceRQ> 
    <PriceRequestInformation Retain="true" > 
     <OptionalQualifiers> 
      <PricingQualifiers> 
       <PassengerType Code="ADT" Quantity="2" ></PassengerType> 
       <PassengerType Code="CNN" Quantity="1" ></PassengerType> 
       <PassengerType Code="INF" Quantity="1" ></PassengerType> 
      </PricingQualifiers> 
     </OptionalQualifiers> 
    </PriceRequestInformation> 
</OTA_AirPriceRQ> 
<PostProcessing IgnoreAfter="false" ></PostProcessing> 
<PreProcessing IgnoreBefore="false" ></PreProcessing> 

、ここでの応答です:

<soap-env:Envelope xmlns:soap-env='http://schemas.xmlsoap.org/soap/envelope/'> 
<soap-env:Header> 
    <eb:MessageHeader xmlns:eb='http://www.ebxml.org/namespaces/messageHeader' eb:version='1.0' soap-env:mustUnderstand='1'> 
     <eb:From> 
      <eb:PartyId eb:type='URI'>webservices.sabre.com</eb:PartyId> 
     </eb:From> 
     <eb:To> 
      <eb:PartyId eb:type='URI'>xxxxxxxx</eb:PartyId> 
     </eb:To> 
     <eb:CPAId>xxx</eb:CPAId> 
     <eb:ConversationId>[email protected]</eb:ConversationId> 
     <eb:Service>EnhancedAirBookRQ</eb:Service> 
     <eb:Action>EnhancedAirBookRS</eb:Action> 
     <eb:MessageData> 
      <eb:MessageId>1330890246910330610</eb:MessageId> 
      <eb:Timestamp>2016-07-19T06:51:31</eb:Timestamp> 
      <eb:RefToMessageId>[email protected]</eb:RefToMessageId> 
     </eb:MessageData> 
    </eb:MessageHeader> 
    <wsse:Security xmlns:wsse='http://schemas.xmlsoap.org/ws/2002/12/secext'> 
     <wsse:BinarySecurityToken valueType='String' EncodingType='wsse:Base64Binary'>xxxxxxx</wsse:BinarySecurityToken> 
    </wsse:Security> 
</soap-env:Header> 
<soap-env:Body> 
    <EnhancedAirBookRS xmlns='http://services.sabre.com/sp/eab/v3_6'> 
     <ApplicationResults xmlns='http://services.sabre.com/STL_Payload/v02_01' status='NotProcessed'> 
      <Error type='BusinessLogic' timeStamp='2016-07-19T01:51:31.881-05:00'> 
       <SystemSpecificResults> 
        <Message code='ERR.SWS.HOST.ERROR_IN_RESPONSE'>FORMAT-NEED MORE PSGR TYPES OR NAME SELECT-0115</Message> 
        <Message code='0'>FORMAT-NEED MORE PSGR TYPES OR NAME SELECT-0115</Message> 
       </SystemSpecificResults> 
      </Error> 
     </ApplicationResults> 
     <OTA_AirBookRS> 
      <OriginDestinationOption> 
       <FlightSegment ArrivalDateTime='07-20T05:10' DepartureDateTime='07-20T04:00' FlightNumber='2835' NumberInParty='004' ResBookDesigCode='K' Status='NN' eTicket='true'> 
        <DestinationLocation LocationCode='CEB'/> 
        <MarketingAirline Code='PR' FlightNumber='2835'/> 
        <OriginLocation LocationCode='MNL'/> 
       </FlightSegment> 
       <FlightSegment ArrivalDateTime='07-25T06:00' DepartureDateTime='07-25T04:50' FlightNumber='1836' NumberInParty='004' ResBookDesigCode='K' Status='NN' eTicket='true'> 
        <DestinationLocation LocationCode='MNL'/> 
        <MarketingAirline Code='PR' FlightNumber='1836'/> 
        <OriginLocation LocationCode='CEB'/> 
       </FlightSegment> 
      </OriginDestinationOption> 
     </OTA_AirBookRS> 
    </EnhancedAirBookRS> 
</soap-env:Body> 

+0

あなたは4つの議席を要求されていることを意味する、あなたの便にNumberInParty = "4" を設定しています。座席がない幼児が必要な場合は、3席をリクエストするだけです。乗客を追加する場所(PassengerDetailsかもしれない)であなたの要求を共有することはできますか? – fcarreno

+0

私はすでに私のPassengerDetailsを共有しています。私はもう一度質問に答えました。ここではリンクもあります:http://stackoverflow.com/questions/38427599/sabre-how-to-create-pnr-with-child-and-or-infant -as-passenger/38439037?noredirect = 1#comment64366812_38439037多くのことを助けてくれてありがとう – chingchong

答えて

3

問題が解決しました。あなたは@fcarrenoにNumberInParty クレジットでそれらを数えるPassengerTypeコード「INF」を使用してはならない席なしの乳幼児を予約する

  • 幼児の席を予約するには、 PassengerTypeコード 'INS'を使用し、NumberInPartyでカウントする必要があります。座席ペイロードのない

ソリューション幼児:席ペイロードを持つ

<EnhancedAirBookRQ version="3.6.0" HaltOnError="true" xmlns="http://services.sabre.com/sp/eab/v3_6"> 
    <OTA_AirBookRQ> 
     <HaltOnStatus Code="SS" ></HaltOnStatus> 
     <OriginDestinationInformation> 
      <FlightSegment DepartureDateTime="2016-07-22T21:55:00" FlightNumber="686" NumberInParty="3" ResBookDesigCode="S" Status="NN" > 
       <DestinationLocation LocationCode="BWN" ></DestinationLocation> 
       <MarketingAirline Code="BI" FlightNumber="686" ></MarketingAirline> 
       <OriginLocation LocationCode="MNL" ></OriginLocation> 
      </FlightSegment> 
      <FlightSegment DepartureDateTime="2016-07-23T10:55:00" FlightNumber="513" NumberInParty="3" ResBookDesigCode="S" Status="NN" > 
       <DestinationLocation LocationCode="BKK" ></DestinationLocation> 
       <MarketingAirline Code="BI" FlightNumber="513" ></MarketingAirline> 
       <OriginLocation LocationCode="BWN" ></OriginLocation> 
      </FlightSegment> 
      <FlightSegment DepartureDateTime="2016-07-25T13:30:00" FlightNumber="514" NumberInParty="3" ResBookDesigCode="S" Status="NN" > 
       <DestinationLocation LocationCode="BWN" ></DestinationLocation> 
       <MarketingAirline Code="BI" FlightNumber="514" ></MarketingAirline> 
       <OriginLocation LocationCode="BKK" ></OriginLocation> 
      </FlightSegment> 
      <FlightSegment DepartureDateTime="2016-07-25T19:00:00" FlightNumber="685" NumberInParty="3" ResBookDesigCode="S" Status="NN" > 
       <DestinationLocation LocationCode="MNL" ></DestinationLocation> 
       <MarketingAirline Code="BI" FlightNumber="685" ></MarketingAirline> 
       <OriginLocation LocationCode="BWN" ></OriginLocation> 
      </FlightSegment> 
     </OriginDestinationInformation> 
    </OTA_AirBookRQ> 
    <OTA_AirPriceRQ> 
     <PriceRequestInformation Retain="true" > 
      <OptionalQualifiers> 
       <PricingQualifiers> 
        <PassengerType Code="ADT" Quantity="2" ></PassengerType> 
        <PassengerType Code="CNN" Quantity="1" ></PassengerType> 
        <PassengerType Code="INF" Quantity="1" ></PassengerType> 
       </PricingQualifiers> 
      </OptionalQualifiers> 
     </PriceRequestInformation> 
    </OTA_AirPriceRQ> 
    <PostProcessing IgnoreAfter="false"/> 
    <PreProcessing IgnoreBefore="false"/> 
</EnhancedAirBookRQ> 

は幼児:

<EnhancedAirBookRQ version="3.6.0" HaltOnError="true" xmlns="http://services.sabre.com/sp/eab/v3_6"> 
    <OTA_AirBookRQ> 
     <HaltOnStatus Code="SS" ></HaltOnStatus> 
     <OriginDestinationInformation> 
      <FlightSegment DepartureDateTime="2016-07-22T21:55:00" FlightNumber="686" NumberInParty="4" ResBookDesigCode="S" Status="NN" > 
       <DestinationLocation LocationCode="BWN" ></DestinationLocation> 
       <MarketingAirline Code="BI" FlightNumber="686" ></MarketingAirline> 
       <OriginLocation LocationCode="MNL" ></OriginLocation> 
      </FlightSegment> 
      <FlightSegment DepartureDateTime="2016-07-23T10:55:00" FlightNumber="513" NumberInParty="3" ResBookDesigCode="S" Status="NN" > 
       <DestinationLocation LocationCode="BKK" ></DestinationLocation> 
       <MarketingAirline Code="BI" FlightNumber="513" ></MarketingAirline> 
       <OriginLocation LocationCode="BWN" ></OriginLocation> 
      </FlightSegment> 
      <FlightSegment DepartureDateTime="2016-07-25T13:30:00" FlightNumber="514" NumberInParty="3" ResBookDesigCode="S" Status="NN" > 
       <DestinationLocation LocationCode="BWN" ></DestinationLocation> 
       <MarketingAirline Code="BI" FlightNumber="514" ></MarketingAirline> 
       <OriginLocation LocationCode="BKK" ></OriginLocation> 
      </FlightSegment> 
      <FlightSegment DepartureDateTime="2016-07-25T19:00:00" FlightNumber="685" NumberInParty="3" ResBookDesigCode="S" Status="NN" > 
       <DestinationLocation LocationCode="MNL" ></DestinationLocation> 
       <MarketingAirline Code="BI" FlightNumber="685" ></MarketingAirline> 
       <OriginLocation LocationCode="BWN" ></OriginLocation> 
      </FlightSegment> 
     </OriginDestinationInformation> 
    </OTA_AirBookRQ> 
    <OTA_AirPriceRQ> 
     <PriceRequestInformation Retain="true" > 
      <OptionalQualifiers> 
       <PricingQualifiers> 
        <PassengerType Code="ADT" Quantity="2" ></PassengerType> 
        <PassengerType Code="CNN" Quantity="1" ></PassengerType> 
        <PassengerType Code="INS" Quantity="1" ></PassengerType> 
       </PricingQualifiers> 
      </OptionalQualifiers> 
     </PriceRequestInformation> 
    </OTA_AirPriceRQ> 
    <PostProcessing IgnoreAfter="false" ></PostProcessing> 
    <PreProcessing IgnoreBefore="false" ></PreProcessing> 
</EnhancedAirBookRQ> 
関連する問題