繁体   English   中英

在SABRE中使用SOAP Web服务创建PNR

[英]Creating PNR with SOAP webservices in SABRE

我试图使用OTa Saber Web服务创建一个新的预订,在某些情况下我获得了ItineraryRef,但是在其他一些情况下,我从EnhancedAirBook得到了警告,顺便说一句,我要完成预订,我使用此工作流程,BargainFinderMax + EnhancedAirBook + PassengerDetails

在这种情况下,我要预订两个ADTS,有人可以告诉我,或者至少对我来说是黑暗的。

谢谢!

要求EnhancedAirBook:

<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header>
    <MessageHeader xmlns="http://www.ebxml.org/namespaces/messageHeader">
        <From>
            <PartyId>sample.url.of.sabre.client.com</PartyId>
        </From>
        <To>
            <PartyId>webservices.sabre.com</PartyId>
        </To>
        <CPAId>7TZA</CPAId>
        <ConversationId>convId</ConversationId>
        <Service>EnhancedAirBookRQ</Service>
        <Action>EnhancedAirBookRQ</Action>
        <MessageData>
            <MessageId>1000</MessageId>
            <Timestamp>2001-02-15T11:15:12Z</Timestamp>
            <TimeToLive>2001-02-15T11:15:12Z</TimeToLive>
        </MessageData>
    </MessageHeader>
    <Security xmlns="http://schemas.xmlsoap.org/ws/2002/12/secext">
        <BinarySecurityToken EncodingType="Base64Binary" valueType="String">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</BinarySecurityToken>
    </Security>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
    <EnhancedAirBookRQ xmlns="http://services.sabre.com/sp/eab/v3_2" HaltOnError="false" version="3.2.0">
        <OTA_AirBookRQ>
            <OriginDestinationInformation>
                <FlightSegment ArrivalDateTime="2017-04-13T13:02:00" DepartureDateTime="2017-04-13T11:52:00" FlightNumber="69" NumberInParty="2" ResBookDesigCode="T" Status="NN">
                    <DestinationLocation LocationCode="BOG" />
                    <MarketingAirline Code="AV" FlightNumber="69" />
                    <OriginLocation LocationCode="CCS" />
                </FlightSegment>
                <FlightSegment ArrivalDateTime="2017-04-13T15:53:00" DepartureDateTime="2017-04-13T14:15:00" FlightNumber="8372" NumberInParty="2" ResBookDesigCode="T" Status="NN">
                    <DestinationLocation LocationCode="PTY" />
                    <MarketingAirline Code="AV" FlightNumber="8372" />
                    <OriginLocation LocationCode="BOG" />
                </FlightSegment>
                <FlightSegment ArrivalDateTime="2017-04-19T06:40:00" DepartureDateTime="2017-04-19T05:10:00" FlightNumber="8371" NumberInParty="2" ResBookDesigCode="T" Status="NN">
                    <DestinationLocation LocationCode="BOG" />
                    <MarketingAirline Code="AV" FlightNumber="8371" />
                    <OriginLocation LocationCode="PTY" />
                </FlightSegment>
                <FlightSegment ArrivalDateTime="2017-04-19T11:07:00" DepartureDateTime="2017-04-19T08:08:00" FlightNumber="66" NumberInParty="2" ResBookDesigCode="T" Status="NN">
                    <DestinationLocation LocationCode="CCS" />
                    <MarketingAirline Code="AV" FlightNumber="66" />
                    <OriginLocation LocationCode="BOG" />
                </FlightSegment>
            </OriginDestinationInformation>
        </OTA_AirBookRQ>
        <OTA_AirPriceRQ>
            <PriceRequestInformation Retain="true">
                <OptionalQualifiers>
                    <PricingQualifiers>
                        <ItineraryOptions>
                            <SegmentSelect Number="1" RPH="1" />
                            <SegmentSelect Number="2" RPH="2" />
                            <SegmentSelect Number="3" RPH="3" />
                            <SegmentSelect Number="4" RPH="4" />
                        </ItineraryOptions>
                        <PassengerType Code="ADT" Quantity="2" />
                    </PricingQualifiers>
                </OptionalQualifiers>
            </PriceRequestInformation>
        </OTA_AirPriceRQ>
        <PostProcessing IgnoreAfter="false">
            <RedisplayReservation WaitInterval="2000" />
        </PostProcessing>
        <PreProcessing IgnoreBefore="false" />
    </EnhancedAirBookRQ>
</SOAP-ENV:Body>

来自EnhancedAirBook的回复:

<?xml version="1.0" encoding="UTF-8"?><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">sample.url.of.sabre.client.com</eb:PartyId>
        </eb:To>
        <eb:CPAId>7TZA</eb:CPAId>
        <eb:ConversationId>convId</eb:ConversationId>
        <eb:Service>EnhancedAirBookRQ</eb:Service>
        <eb:Action>EnhancedAirBookRS</eb:Action>
        <eb:MessageData>
            <eb:MessageId>1lsj6e9zy</eb:MessageId>
            <eb:Timestamp>2017-04-13T02:22:10</eb:Timestamp>
            <eb:RefToMessageId>1000</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">XXXXXXXXXXXXXXXXXX</wsse:BinarySecurityToken>
    </wsse:Security>
</soap-env:Header>
<soap-env:Body>
    <EnhancedAirBookRS xmlns="http://services.sabre.com/sp/eab/v3_2">
        <ApplicationResults xmlns="http://services.sabre.com/STL_Payload/v02_01" status="Complete">
            <Success timeStamp="2017-04-12T21:22:10.870-05:00" />
            <Warning type="BusinessLogic" timeStamp="2017-04-12T21:22:08.607-05:00">
                <SystemSpecificResults>
                    <Message code="WARN.SWS.HOST.ERROR_IN_RESPONSE">NO COMBINABLE FARES FOR CLASS USED53</Message>
                </SystemSpecificResults>
            </Warning>
        </ApplicationResults>
        <OTA_AirBookRS>
            <OriginDestinationOption>
                <FlightSegment ArrivalDateTime="04-13T13:02" DepartureDateTime="04-13T11:52" FlightNumber="0069" NumberInParty="002" ResBookDesigCode="T" Status="NN" eTicket="true">
                    <DestinationLocation LocationCode="BOG" />
                    <MarketingAirline Code="AV" FlightNumber="0069" />
                    <OriginLocation LocationCode="CCS" />
                </FlightSegment>
                <FlightSegment ArrivalDateTime="04-13T15:53" DepartureDateTime="04-13T14:15" FlightNumber="8372" NumberInParty="002" ResBookDesigCode="T" Status="NN" eTicket="true">
                    <DestinationLocation LocationCode="PTY" />
                    <MarketingAirline Code="AV" FlightNumber="8372" />
                    <OriginLocation LocationCode="BOG" />
                </FlightSegment>
                <FlightSegment ArrivalDateTime="04-19T06:40" DepartureDateTime="04-19T05:10" FlightNumber="8371" NumberInParty="002" ResBookDesigCode="T" Status="NN" eTicket="true">
                    <DestinationLocation LocationCode="BOG" />
                    <MarketingAirline Code="AV" FlightNumber="8371" />
                    <OriginLocation LocationCode="PTY" />
                </FlightSegment>
                <FlightSegment ArrivalDateTime="04-19T11:07" DepartureDateTime="04-19T08:08" FlightNumber="0066" NumberInParty="002" ResBookDesigCode="T" Status="NN" eTicket="true">
                    <DestinationLocation LocationCode="CCS" />
                    <MarketingAirline Code="AV" FlightNumber="0066" />
                    <OriginLocation LocationCode="BOG" />
                </FlightSegment>
            </OriginDestinationOption>
        </OTA_AirBookRS>
        <TravelItineraryReadRS>
            <TravelItinerary>
                <CustomerInfo />
                <ItineraryInfo>
                    <ReservationItems>
                        <Item RPH="1">
                            <FlightSegment AirMilesFlown="0636" ArrivalDateTime="04-13T13:02" DayOfWeekInd="4" DepartureDateTime="2017-04-13T11:52" ElapsedTime="02.10" FlightNumber="0069" NumberInParty="02" ResBookDesigCode="T" SegmentNumber="0001" SmokingAllowed="false" SpecialMeal="false" Status="UC" StopQuantity="00" eTicket="false">
                                <DestinationLocation LocationCode="BOG" Terminal="TERMINAL 1" TerminalCode="1" />
                                <Equipment AirEquipType="321" />
                                <MarketingAirline Code="AV" FlightNumber="0069" />
                                <Meal Code="S" />
                                <OperatingAirline Code="AV" CompanyShortName="/AVIANCA" />
                                <OriginLocation LocationCode="CCS" />
                                <SupplierRef ID="DCAV" />
                                <Text>OPERATED BY /AVIANCA</Text>
                                <UpdatedArrivalTime>04-13T13:02</UpdatedArrivalTime>
                                <UpdatedDepartureTime>04-13T11:52</UpdatedDepartureTime>
                            </FlightSegment>
                        </Item>
                        <Item RPH="2">
                            <FlightSegment AirMilesFlown="0468" ArrivalDateTime="04-13T15:53" DayOfWeekInd="4" DepartureDateTime="2017-04-13T14:15" ElapsedTime="01.38" FlightNumber="8372" NumberInParty="02" ResBookDesigCode="T" SegmentNumber="0002" SmokingAllowed="false" SpecialMeal="false" Status="UC" StopQuantity="00" eTicket="false">
                                <DestinationLocation LocationCode="PTY" />
                                <Equipment AirEquipType="320" />
                                <MarketingAirline Code="AV" FlightNumber="8372" />
                                <Meal Code="S" />
                                <OperatingAirline Code="AV" CompanyShortName="/AEROGAL" />
                                <OriginLocation LocationCode="BOG" Terminal="TERMINAL 1" TerminalCode="1" />
                                <SupplierRef ID="DCAV" />
                                <Text>OPERATED BY /AEROGAL</Text>
                                <UpdatedArrivalTime>04-13T15:53</UpdatedArrivalTime>
                                <UpdatedDepartureTime>04-13T14:15</UpdatedDepartureTime>
                            </FlightSegment>
                        </Item>
                        <Item RPH="3">
                            <FlightSegment AirMilesFlown="0468" ArrivalDateTime="04-19T06:40" DayOfWeekInd="3" DepartureDateTime="2017-04-19T05:10" ElapsedTime="01.30" FlightNumber="8371" NumberInParty="02" ResBookDesigCode="T" SegmentNumber="0003" SmokingAllowed="false" SpecialMeal="false" Status="UC" StopQuantity="00" eTicket="false">
                                <DestinationLocation LocationCode="BOG" Terminal="TERMINAL 1" TerminalCode="1" />
                                <Equipment AirEquipType="320" />
                                <MarketingAirline Code="AV" FlightNumber="8371" />
                                <Meal Code="S" />
                                <OperatingAirline Code="AV" CompanyShortName="/AEROGAL" />
                                <OriginLocation LocationCode="PTY" />
                                <SupplierRef ID="DCAV" />
                                <Text>OPERATED BY /AEROGAL</Text>
                                <UpdatedArrivalTime>04-19T06:40</UpdatedArrivalTime>
                                <UpdatedDepartureTime>04-19T05:10</UpdatedDepartureTime>
                            </FlightSegment>
                        </Item>
                        <Item RPH="4">
                            <FlightSegment AirMilesFlown="0636" ArrivalDateTime="04-19T11:07" DayOfWeekInd="3" DepartureDateTime="2017-04-19T08:08" ElapsedTime="01.59" FlightNumber="0066" NumberInParty="02" ResBookDesigCode="T" SegmentNumber="0004" SmokingAllowed="false" SpecialMeal="false" Status="UC" StopQuantity="00" eTicket="false">
                                <DestinationLocation LocationCode="CCS" />
                                <Equipment AirEquipType="321" />
                                <MarketingAirline Code="AV" FlightNumber="0066" />
                                <Meal Code="S" />
                                <OperatingAirline Code="AV" CompanyShortName="/AVIANCA" />
                                <OriginLocation LocationCode="BOG" Terminal="TERMINAL 1" TerminalCode="1" />
                                <SupplierRef ID="DCAV" />
                                <Text>OPERATED BY /AVIANCA</Text>
                                <UpdatedArrivalTime>04-19T11:07</UpdatedArrivalTime>
                                <UpdatedDepartureTime>04-19T08:08</UpdatedDepartureTime>
                            </FlightSegment>
                        </Item>
                    </ReservationItems>
                </ItineraryInfo>
                <ItineraryRef AirExtras="false" InhibitCode="U" PartitionID="AA" PrimeHostID="1S">
                    <Source PseudoCityCode="4Q0H" />
                </ItineraryRef>
            </TravelItinerary>
        </TravelItineraryReadRS>
    </EnhancedAirBookRS>
</soap-env:Body>

然后当我用这个打电话给PassengerDetails时

<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header>
    <MessageHeader xmlns="http://www.ebxml.org/namespaces/messageHeader">
        <From>
            <PartyId>sample.url.of.sabre.client.com</PartyId>
        </From>
        <To>
            <PartyId>webservices.sabre.com</PartyId>
        </To>
        <CPAId>7TZA</CPAId>
        <ConversationId>convId</ConversationId>
        <Service>PassengerDetailsRQ</Service>
        <Action>PassengerDetailsRQ</Action>
        <MessageData>
            <MessageId>1000</MessageId>
            <Timestamp>2001-02-15T11:15:12Z</Timestamp>
            <TimeToLive>2001-02-15T11:15:12Z</TimeToLive>
        </MessageData>
    </MessageHeader>
    <Security xmlns="http://schemas.xmlsoap.org/ws/2002/12/secext">
        <BinarySecurityToken EncodingType="Base64Binary" valueType="String">XXXXXXXXXXXXXXXXXXXXXXXXXXX</BinarySecurityToken>
    </Security>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
    <PassengerDetailsRQ xmlns="http://services.sabre.com/sp/pd/v3_3" version="3.3.0">
        <PostProcessing>
            <EndTransactionRQ>
                <EndTransaction Ind="true" />
                <Source ReceivedFrom="TARA TESTING" />
            </EndTransactionRQ>
        </PostProcessing>
        <PriceQuoteInfo>
            <Link NameNumber="1.1" Record="1" />
            <Link NameNumber="2.1" Record="1" />
        </PriceQuoteInfo>
        <SpecialReqDetails>
            <AddRemarkRQ>
                <RemarkInfo>
                    <FOP_Remark Type="CASH" />
                    <Remark Type="General">
                        <Text>TEST GENERAL REMARK</Text>
                    </Remark>
                </RemarkInfo>
            </AddRemarkRQ>
            <SpecialServiceRQ>
                <SpecialServiceInfo>
                    <AdvancePassenger SegmentNumber="A">
                        <Document ExpirationDate="2018-05-26" Number="288282822" Type="P">
                            <IssueCountry>VE</IssueCountry>
                            <NationalityCountry>VE</NationalityCountry>
                        </Document>
                        <PersonName DateOfBirth="1989-01-20" Gender="M" NameNumber="1.1" DocumentHolder="true">
                            <GivenName>Mariscal</GivenName>
                            <Surname>De Campo</Surname>
                        </PersonName>
                        <VendorPrefs>
                            <Airline Hosted="false" />
                        </VendorPrefs>
                    </AdvancePassenger>
                    <SecureFlight SegmentNumber="A">
                        <PersonName DateOfBirth="1979-01-20" Gender="M" NameNumber="2.1">
                            <GivenName>Mariscal</GivenName>
                            <Surname>De Guertra</Surname>
                        </PersonName>
                        <VendorPrefs>
                            <Airline Hosted="false" />
                        </VendorPrefs>
                    </SecureFlight>
                </SpecialServiceInfo>
            </SpecialServiceRQ>
        </SpecialReqDetails>
        <TravelItineraryAddInfoRQ>
            <AgencyInfo>
                <Address>
                    <AddressLine>DIRECCION</AddressLine>
                    <CityName>CARACAS</CityName>
                    <CountryCode>VE</CountryCode>
                    <PostalCode>1071</PostalCode>
                    <StateCountyProv StateCode="MI" />
                    <StreetNmbr>OFIC 18</StreetNmbr>
                    <VendorPrefs>
                        <Airline Hosted="true" />
                    </VendorPrefs>
                </Address>
                <Ticketing TicketType="7TAW" />
            </AgencyInfo>
            <CustomerInfo>
                <ContactNumbers>
                    <ContactNumber LocationCode="KTM" NameNumber="1.1" Phone="817-555-1212" PhoneUseType="H" />
                    <ContactNumber LocationCode="KTM" NameNumber="2.1" Phone="817-777-1212" PhoneUseType="H" />
                </ContactNumbers>
                <Email Address="churromorales20@gmail.com" NameNumber="1.1" />
                <PersonName NameNumber="1.1" PassengerType="ADT">
                    <GivenName>Mariscal</GivenName>
                    <Surname>De Campo</Surname>
                </PersonName>
                <PersonName NameNumber="2.1" PassengerType="ADT">
                    <GivenName>Mariscal</GivenName>
                    <Surname>De Guertra</Surname>
                </PersonName>
            </CustomerInfo>
        </TravelItineraryAddInfoRQ>
    </PassengerDetailsRQ>
</SOAP-ENV:Body>

我收到了显示此警告的响应,警告WARN.SWS.HOST.ERROR_IN_RESPONSE-检查行程我认为此错误来自于对EnhancedAirBook的首次调用中存在的问题

<?xml version="1.0" encoding="UTF-8"?><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">sample.url.of.sabre.client.com</eb:PartyId>
        </eb:To>
        <eb:CPAId>7TZA</eb:CPAId>
        <eb:ConversationId>convId</eb:ConversationId>
        <eb:Service>PassengerDetailsRQ</eb:Service>
        <eb:Action>PassengerDetailsRS</eb:Action>
        <eb:MessageData>
            <eb:MessageId>qpmyhopy9</eb:MessageId>
            <eb:Timestamp>2017-04-13T02:22:12</eb:Timestamp>
            <eb:RefToMessageId>1000</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">XXXXXXXXXXXXXXXXXXXXXXXX</wsse:BinarySecurityToken>
    </wsse:Security>
</soap-env:Header>
<soap-env:Body>
    <PassengerDetailsRS xmlns="http://services.sabre.com/sp/pd/v3_3">
        <ApplicationResults xmlns="http://services.sabre.com/STL_Payload/v02_01" status="Complete">
            <Success timeStamp="2017-04-12T21:22:12.201-05:00" />
            <Warning type="BusinessLogic" timeStamp="2017-04-12T21:22:12.048-05:00">
                <SystemSpecificResults>
                    <Message code="WARN.SWS.HOST.ERROR_IN_RESPONSE">CHECK ITINERARY</Message>
                </SystemSpecificResults>
            </Warning>
            <Warning type="BusinessLogic" timeStamp="2017-04-12T21:22:12.125-05:00">
                <SystemSpecificResults>
                    <Message code="WARN.SP.PROVIDER_ERROR">ÂPQ RECORD NUMBER NOT VALIDÂ</Message>
                </SystemSpecificResults>
            </Warning>
            <Warning type="BusinessLogic" timeStamp="2017-04-12T21:22:12.156-05:00">
                <SystemSpecificResults>
                    <Message code="WARN.SP.PROVIDER_ERROR">ÂPQ RECORD NUMBER NOT VALIDÂ</Message>
                </SystemSpecificResults>
            </Warning>
            <Warning type="BusinessLogic" timeStamp="2017-04-12T21:22:12.199-05:00">
                <SystemSpecificResults>
                    <Message code="WARN.SWS.HOST.ERROR_IN_RESPONSE">*IM AND CANCEL UNABLE SEGMENTS</Message>
                </SystemSpecificResults>
            </Warning>
        </ApplicationResults>
    </PassengerDetailsRS>
</soap-env:Body>

我真的希望有人能帮助我,谢谢您的宝贵时间。

编辑13/04/2017

我已将请求更改为EnhancedAirBook,添加了HaltOnStatus标签,例如在此问题中建议Wisdoom

要求EnhancedAirBook:

<EnhancedAirBookRQ xmlns="http://services.sabre.com/sp/eab/v3_2" HaltOnError="false" version="3.2.0">
        <OTA_AirBookRQ>
            <HaltOnStatus Code="UC" />
            <HaltOnStatus Code="LL" />
            <HaltOnStatus Code="UN" />
            <HaltOnStatus Code="NO" />
            <HaltOnStatus Code="HL" />
            <OriginDestinationInformation>
                <FlightSegment ArrivalDateTime="2017-04-13T19:03:00" DepartureDateTime="2017-04-13T15:26:00" FlightNumber="914" NumberInParty="2" ResBookDesigCode="N" Status="NN">
                    <DestinationLocation LocationCode="MIA" />
                    <MarketingAirline Code="AA" FlightNumber="914" />
                    <OriginLocation LocationCode="CCS" />
                </FlightSegment>
                <FlightSegment ArrivalDateTime="2017-04-14T11:23:00" DepartureDateTime="2017-04-14T06:25:00" FlightNumber="148" NumberInParty="2" ResBookDesigCode="N" Status="NN">
                    <DestinationLocation LocationCode="JFK" />
                    <MarketingAirline Code="AA" FlightNumber="148" />
                    <OriginLocation LocationCode="MIA" />
                </FlightSegment>
                <FlightSegment ArrivalDateTime="2017-04-19T09:37:00" DepartureDateTime="2017-04-19T06:30:00" FlightNumber="2230" NumberInParty="2" ResBookDesigCode="N" Status="NN">
                    <DestinationLocation LocationCode="MIA" />
                    <MarketingAirline Code="AA" FlightNumber="2230" />
                    <OriginLocation LocationCode="JFK" />
                </FlightSegment>
                <FlightSegment ArrivalDateTime="2017-04-19T14:31:00" DepartureDateTime="2017-04-19T11:04:00" FlightNumber="979" NumberInParty="2" ResBookDesigCode="N" Status="NN">
                    <DestinationLocation LocationCode="CCS" />
                    <MarketingAirline Code="AA" FlightNumber="979" />
                    <OriginLocation LocationCode="MIA" />
                </FlightSegment>
            </OriginDestinationInformation>
            <RedisplayReservation NumAttempts="10" WaitInterval="500" />
        </OTA_AirBookRQ>
        <OTA_AirPriceRQ>
            <PriceRequestInformation Retain="true">
                <OptionalQualifiers>
                    <PricingQualifiers>
                        <ItineraryOptions>
                            <SegmentSelect Number="1" RPH="1" />
                            <SegmentSelect Number="2" RPH="2" />
                            <SegmentSelect Number="3" RPH="3" />
                            <SegmentSelect Number="4" RPH="4" />
                        </ItineraryOptions>
                        <PassengerType Code="ADT" Quantity="2" />
                    </PricingQualifiers>
                </OptionalQualifiers>
            </PriceRequestInformation>
        </OTA_AirPriceRQ>
        <PostProcessing IgnoreAfter="false">
            <RedisplayReservation WaitInterval="500" />
        </PostProcessing>
        <PreProcessing IgnoreBefore="false" />
    </EnhancedAirBookRQ>

这是响应:

<EnhancedAirBookRS xmlns="http://services.sabre.com/sp/eab/v3_2">
        <ApplicationResults xmlns="http://services.sabre.com/STL_Payload/v02_01" status="Complete">
            <Success timeStamp="2017-04-13T12:21:46.907-05:00" />
            <Warning type="BusinessLogic" timeStamp="2017-04-13T12:21:45.187-05:00">
                <SystemSpecificResults>
                    <Message code="WARN.SWS.HOST.ERROR_IN_RESPONSE">UNABLE 00 AVAILABLE</Message>
                    <Message code="0293">UNABLE 00 AVAILABLE</Message>
                    <Message code="0118">SYSTEM UNABLE TO PROCESS</Message>
                </SystemSpecificResults>
            </Warning>
            <Warning type="Application" timeStamp="2017-04-13T12:21:45.774-05:00">
                <SystemSpecificResults>
                    <Message code="WARN.SP.PROVIDER_ERROR">No PNR in AAA, caused by [No PNR in AAA, code: 500306, severity: WARNING]</Message>
                    <Message code="700408">No PNR in AAA, caused by [No PNR in AAA, code: 500306, severity: WARNING]</Message>
                </SystemSpecificResults>
            </Warning>
            <Warning type="BusinessLogic" timeStamp="2017-04-13T12:21:46.348-05:00">
                <SystemSpecificResults>
                    <Message code="WARN.SWS.HOST.ERROR_IN_RESPONSE">FORMAT, CHECK SEGMENT NUMBER-0003</Message>
                </SystemSpecificResults>
            </Warning>
            <Warning type="Application" timeStamp="2017-04-13T12:21:46.905-05:00">
                <SystemSpecificResults>
                    <Message code="WARN.SP.PROVIDER_ERROR">No PNR in AAA, caused by [No PNR in AAA, code: 500306, severity: WARNING]</Message>
                    <Message code="700408">No PNR in AAA, caused by [No PNR in AAA, code: 500306, severity: WARNING]</Message>
                </SystemSpecificResults>
            </Warning>
        </ApplicationResults>
    </EnhancedAirBookRS>

感谢每个花费5分钟的时间阅读此问题的人,我需要使用我的旅行工具来解决此问题,而Sabre的支持确实很糟糕。

您可以使用CreatePassengerNameRQ进行研究,它可以简化消耗量并提供更高级的错误处理。

https://developer.sabre.com/docs/soap_apis/air/book/create_passenger_name_record/

对于使用的NO COMBINABLE FARES FOR CLASS USEDNO COMBINABLE FARES FOR CLASS USED ,这是因为您试图为无法定价的行程定价。

当您请求NN时,该请求将发送给航空公司,因此在他们做出回应之前,您没有确定的行程,这是大多数票价的要求,并且很可能就是这种情况。

现在,如果看到服务响应,您将看到所有段的状态均为UC,无法确认。 这将在定价时触发另一个错误,即“ UC STATUS NOT ALLOWED

请检查我在其他线程中提到的HaltOnStatus: https ://stackoverflow.com/a/42250758/3701641

CHECK ITINERARY错误可能与相同情况(行程中的UC状态)有关。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM