为什么SABRE返回“最小连接时间而不是在腿2之前”

时间:2017-12-13 13:18:14

标签: rest soap sabre

在我的BFM Rest请求中,我可以找到一个航班。在我的BFM Soap请求(Bargain Finder Max RQ)中,我找不到相同的航班。有时BFM Soap Saber正在返回:“最小连接时间不要在腿2之前”。这是发生了什么事?

这是我对BFM SOAP的请求:

    <?xml version="1.0" encoding="utf-16"?>
<OTA_AirLowFareSearchRQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="3.3.0" ResponseType="OTA" ResponseVersion="3.3.0">
  <POS xmlns="http://www.opentravel.org/OTA/2003/05">
    <Source PseudoCityCode="">
      <RequestorID Type="1" ID="1">
        <CompanyName Code="TN" />
      </RequestorID>
    </Source>
  </POS>
  <OriginDestinationInformation RPH="0" Fixed="true" xmlns="http://www.opentravel.org/OTA/2003/05">
    <DepartureDateTime>2018-01-31T06:50:00</DepartureDateTime>
    <OriginLocation LocationCode="BSB" />
    <DestinationLocation LocationCode="CNF" />
    <TPA_Extensions>
      <Flight Number="3349" DepartureDateTime="2018-01-31T06:50:00" ArrivalDateTime="2018-01-31T08:10:00" Type="A">
        <OriginLocation LocationCode="BSB" />
        <DestinationLocation LocationCode="CNF" />
        <Airline Operating="JJ" Marketing="JJ" />
        <Fare BrandID="JJ" />
      </Flight>
      <ConnectionTime Min="115" />
    </TPA_Extensions>
  </OriginDestinationInformation>
  <OriginDestinationInformation RPH="1" Fixed="true" xmlns="http://www.opentravel.org/OTA/2003/05">
    <DepartureDateTime>2018-01-31T10:05:00</DepartureDateTime>
    <OriginLocation LocationCode="CNF" />
    <DestinationLocation LocationCode="GRU" />
    <TPA_Extensions>
      <Flight Number="3345" DepartureDateTime="2018-01-31T10:05:00" ArrivalDateTime="2018-01-31T11:20:00" Type="A">
        <OriginLocation LocationCode="CNF" />
        <DestinationLocation LocationCode="GRU" />
        <Airline Operating="JJ" Marketing="JJ" />
        <Fare BrandID="JJ" />
      </Flight>
      <ConnectionTime Min="60" />
    </TPA_Extensions>
  </OriginDestinationInformation>
  <OriginDestinationInformation RPH="2" Fixed="true" xmlns="http://www.opentravel.org/OTA/2003/05">
    <DepartureDateTime>2018-02-21T16:50:00</DepartureDateTime>
    <OriginLocation LocationCode="GRU" />
    <DestinationLocation LocationCode="GYN" />
    <TPA_Extensions>
      <Flight Number="3546" DepartureDateTime="2018-02-21T16:50:00" ArrivalDateTime="2018-02-21T18:31:00" Type="A">
        <OriginLocation LocationCode="GRU" />
        <DestinationLocation LocationCode="GYN" />
        <Airline Operating="JJ" Marketing="JJ" />
        <Fare BrandID="JJ" />
      </Flight>
      <ConnectionTime Min="169" />
    </TPA_Extensions>
  </OriginDestinationInformation>
  <OriginDestinationInformation RPH="3" Fixed="true" xmlns="http://www.opentravel.org/OTA/2003/05">
    <DepartureDateTime>2018-02-21T21:20:00</DepartureDateTime>
    <OriginLocation LocationCode="GYN" />
    <DestinationLocation LocationCode="BSB" />
    <TPA_Extensions>
      <Flight Number="3854" DepartureDateTime="2018-02-21T21:20:00" ArrivalDateTime="2018-02-21T22:00:00" Type="A">
        <OriginLocation LocationCode="GYN" />
        <DestinationLocation LocationCode="BSB" />
        <Airline Operating="JJ" Marketing="JJ" />
        <Fare BrandID="JJ" />
      </Flight>
      <ConnectionTime Min="60" />
    </TPA_Extensions>
  </OriginDestinationInformation>
  <TravelPreferences xmlns="http://www.opentravel.org/OTA/2003/05">
    <TPA_Extensions>
      <NumTrips Number="1" />
      <TripType />
      <XOFares Value="false" />
    </TPA_Extensions>
  </TravelPreferences>
  <TravelerInfoSummary xmlns="http://www.opentravel.org/OTA/2003/05">
    <SeatsRequested>1</SeatsRequested>
    <AirTravelerAvail>
      <PassengerTypeQuantity Code="ADT" Quantity="1" />
    </AirTravelerAvail>
  </TravelerInfoSummary>
  <TPA_Extensions xmlns="http://www.opentravel.org/OTA/2003/05">
    <IntelliSellTransaction>
      <RequestType Name="50ITINS" />
    </IntelliSellTransaction>
    <DiversityControl>
      <LowFareBucket Options="20%" FareCutOff="25%" />
      <Dimensions>
        <Carrier Weight="1" OnlineIndicator="true" />
      </Dimensions>
    </DiversityControl>
  </TPA_Extensions>
</OTA_AirLowFareSearchRQ>

最小连接时间为60分钟。 航班连接时间大于60分钟。

2 个答案:

答案 0 :(得分:1)

通常具有最小连接根据航空公司和机场,在2个航段的到达和离开之间需要时间。例如。你不能在下午1:30到达并在下午1:35离开。

时间似乎太小了(可以通过VCT *预订Sabre RED中的itin进行检查。)

关于差异,这听起来像是军刀支持的案例。一般来说,我不相信SABRE Rest,所以我相信Soap是正确的。

如果你愿意,你可以给我分段,我会检查军刀工作区。

答案 1 :(得分:1)

在xml OTA_AirLowFareSearchRQ中有一个名为OriginDestinetionInformation的对象,在此对象中有另一个名为OriginDestinetionInformation的属性。如果将“固定”属性设置为false,则可能会解决此错误。我还在测试这个解决方案。