StructureFareRules (XML)

 

API情報

当該機能は運賃ルール(発券期限、最小最大滞在日数、ペナルティ)を表示する機能です。
本APIリクエストの前には、旅程作成と運賃計算は不要です。

Service Action Code :StructureFareRulesRQ
最新バージョン :1.0.4
プロトコル :XML

更新履歴

StructureFareRulesRQ v1.0.4 on April 21, 2020
  • Version1.0.4をリリースいたしました。
 

XMLタグ定義書

XMLスキーマ

【注意点】
各種XMLスキーマは、Sabre社提供のオリジナル版となるため、「XMLタグ定義書」の記載上、
利用不可の情報が含まれております。
スキーマを利用してアプリケーションを構築される場合の各タグの利用可否は、
必ず「XMLタグ定義書」にてご確認ください。

※弊社にて「XMLタグ定義書」を作成する際、各タグの利用可否確認を行っております。
 

リクエストサンプル

 選択<StructureFareRulesRQ xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="1.0.2" xmlns="http://webservices.sabre.com/sabreXML/2003/07">
  <PriceRequestInformation BuyingDate="2020-04-01T13:46:12" CurrencyCode="JPY">
    <PassengerTypes>
      <PassengerType Code="ADT" Count="01" />
      <PassengerType Code="CNN" Count="01" />
      <PassengerType Code="INF" Count="01" />
    </PassengerTypes>
    <ReturnAllData Value="1" />
    <FreeBaggageSubscriber Ind="true" />
  </PriceRequestInformation>
  <AirItinerary>
    <OriginDestinationOptions>
      <OriginDestinationOption>
        <FlightSegment DepartureDate="2020-07-10T17:45:00" ArrivalDate="2020-07-11T00:30:00" BookingDate="2020-04-01T13:46:12" FlightNumber="871" RealReservationStatus="SS" ResBookDesigCode="U" SegmentNumber="01" SegmentType="A">
          <DepartureAirport LocationCode="NRT" />
          <ArrivalAirport LocationCode="AUH" />
          <MarketingAirline Code="EY" />
          <OperatingAirline Code="EY" />
        </FlightSegment>
        <SegmentInformation SegmentNumber="01" />
        <PaxTypeInformation PassengerType="ADT" FareComponentNumber="1" FareBasisCode="ULWPRJP/YS" />
        <PaxTypeInformation PassengerType="CNN" FareComponentNumber="1" FareBasisCode="ULWPRJPCH/YS" />
        <PaxTypeInformation PassengerType="INF" FareComponentNumber="1" FareBasisCode="ULWPRJPIN/YS" />
      </OriginDestinationOption>
      <OriginDestinationOption>
        <FlightSegment DepartureDate="2020-07-11T02:05:00" ArrivalDate="2020-07-11T06:50:00" BookingDate="2020-04-01T13:46:12" FlightNumber="1" RealReservationStatus="SS" ResBookDesigCode="U" SegmentNumber="02" SegmentType="A">
          <DepartureAirport LocationCode="AUH" />
          <ArrivalAirport LocationCode="FRA" />
          <MarketingAirline Code="EY" />
          <OperatingAirline Code="EY" />
        </FlightSegment>
        <SegmentInformation SegmentNumber="02" />
        <PaxTypeInformation PassengerType="ADT" FareComponentNumber="1" FareBasisCode="ULWPRJP/YS" />
        <PaxTypeInformation PassengerType="CNN" FareComponentNumber="1" FareBasisCode="ULWPRJPCH/YS" />
        <PaxTypeInformation PassengerType="INF" FareComponentNumber="1" FareBasisCode="ULWPRJPIN/YS" />
      </OriginDestinationOption>
      <OriginDestinationOption>
        <FlightSegment DepartureDate="2020-07-20T11:20:00" ArrivalDate="2020-07-20T19:40:00" BookingDate="2020-04-01T13:46:12" FlightNumber="2" RealReservationStatus="SS" ResBookDesigCode="H" SegmentNumber="03" SegmentType="A">
          <DepartureAirport LocationCode="FRA" />
          <ArrivalAirport LocationCode="AUH" />
          <MarketingAirline Code="EY" />
          <OperatingAirline Code="EY" />
        </FlightSegment>
        <SegmentInformation SegmentNumber="03" />
        <PaxTypeInformation PassengerType="ADT" FareComponentNumber="2" FareBasisCode="HLXRTJP/YF" />
        <PaxTypeInformation PassengerType="CNN" FareComponentNumber="2" FareBasisCode="HLXRTJPCH/YF" />
        <PaxTypeInformation PassengerType="INF" FareComponentNumber="2" FareBasisCode="HLXRTJPIN/YF" />
      </OriginDestinationOption>
      <OriginDestinationOption>
        <FlightSegment DepartureDate="2020-07-20T21:50:00" ArrivalDate="2020-07-21T12:55:00" BookingDate="2020-04-01T13:46:12" FlightNumber="878" RealReservationStatus="SS" ResBookDesigCode="H" SegmentNumber="04" SegmentType="A">
          <DepartureAirport LocationCode="AUH" />
          <ArrivalAirport LocationCode="NRT" />
          <MarketingAirline Code="EY" />
          <OperatingAirline Code="EY" />
        </FlightSegment>
        <SegmentInformation SegmentNumber="04" />
        <PaxTypeInformation PassengerType="ADT" FareComponentNumber="2" FareBasisCode="HLXRTJP/YF" />
        <PaxTypeInformation PassengerType="CNN" FareComponentNumber="2" FareBasisCode="HLXRTJPCH/YF" />
        <PaxTypeInformation PassengerType="INF" FareComponentNumber="2" FareBasisCode="HLXRTJPIN/YF" />
      </OriginDestinationOption>
    </OriginDestinationOptions>
  </AirItinerary>
</StructureFareRulesRQ>

レスポンスサンプル

 選択<StructureFareRulesRS xmlns="http://webservices.sabre.com/sabreXML/2003/07" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" Version="1.0.2">
  <Success />
  <Summary>
    <Total Price="149200" CurrencyCode="JPY" />
    <PurchaseSummary IATASalesCode="SITI" SalesLocation="TYO" SimultaneousResInd="false" />
    <ValidatingCarrier Code="EY" />
    <PrivateFare Ind="false" />
    <Ancillaries NotGuaranteedInd="true" />
    <PassengerDetails>
      <PassengerDetail PassengerTypeCode="ADT">
        <Endorsements>
          <Text>NON ENDO/ NONREF</Text>
          <Text>NON ENDO/ REF</Text>
        </Endorsements>
        <Warnings>
          <Text>VALIDATING CARRIER - EY</Text>
        </Warnings>
        <PassengerFare>
          <BaseFare CurrencyCode="JPY" Amount="80600" />
          <Commission Percentage="0" Amount="0" />
        </PassengerFare>
        <TicketFareVendor Source="ATPC" />
        <OptionNumber Value="1" />
        <ExchangeRateOne Value="105.954366" NumberOfDecimalPlaces="6" />
        <Cat35 Ind="false" />
        <PenaltiesInfo>
          <Penalty Type="Exchange" Applicability="Before" Changeable="true" Amount="33200" CurrencyCode="JPY" />
          <Penalty Type="Exchange" Applicability="After" Changeable="true" Amount="33200" CurrencyCode="JPY" />
          <Penalty Type="Refund" Applicability="Before" Refundable="false" />
          <Penalty Type="Refund" Applicability="After" Refundable="false" />
        </PenaltiesInfo>
        <FareComponentDataList>
          <FareComponentData FareComponentNumber="1" PricingUnitNumber="1">
            <AdvancedPurchaseData LastDateTimeToBook="2020-07-03T23:59:00" LastDateTimeToPurchase="2020-04-12T23:59:00" />
            <MinimumStayData MinimumStayDateTime="2020-07-13T00:00:00" MinimumStayLocation="FRA" />
            <MaximumStayData LastCommencementDateTime="2020-12-10T23:59:00" RestrictedLocation="TYO" />
            <MaximumStayData LastCommencementDateTime="2020-08-10T23:59:00" RestrictedLocation="FRA" />
          </FareComponentData>
          <FareComponentData FareComponentNumber="2" PricingUnitNumber="1">
            <MaximumStayData LastCommencementDateTime="2021-07-10T23:59:00" RestrictedLocation="FRA" />
          </FareComponentData>
        </FareComponentDataList>
        <PricingUnitDataList>
          <PricingUnitData PricingUnitNumber="1">
            <MinimumStayData MinimumStayDateTime="2020-07-13T00:00:00" MinimumStayLocation="FRA" />
            <MaximumStayData LastCommencementDateTime="2020-12-10T23:59:00" RestrictedLocation="TYO" />
            <MaximumStayData LastCommencementDateTime="2020-08-10T23:59:00" RestrictedLocation="FRA" />
          </PricingUnitData>
        </PricingUnitDataList>
        <JourneyLevelDataList>
          <JourneyLevelData>
            <AdvancedPurchaseData LastDateTimeToBook="2020-07-03T23:59:00" LastDateTimeToPurchase="2020-04-12T23:59:00" />
          </JourneyLevelData>
        </JourneyLevelDataList>
      </PassengerDetail>
      <PassengerDetail PassengerTypeCode="CNN">
        <Endorsements>
          <Text>NON ENDO/ NONREF</Text>
          <Text>NON ENDO/ REF</Text>
        </Endorsements>
        <Warnings>
          <Text>VALIDATING CARRIER - EY</Text>
        </Warnings>
        <PassengerFare>
          <BaseFare CurrencyCode="JPY" Amount="60500" />
          <Commission Percentage="0" Amount="0" />
        </PassengerFare>
        <TicketFareVendor Source="ATPC" />
        <OptionNumber Value="2" />
        <ExchangeRateOne Value="105.954366" NumberOfDecimalPlaces="6" />
        <Cat35 Ind="false" />
        <PenaltiesInfo>
          <Penalty Type="Exchange" Applicability="Before" Changeable="true" Amount="33200" CurrencyCode="JPY" />
          <Penalty Type="Exchange" Applicability="After" Changeable="true" Amount="33200" CurrencyCode="JPY" />
          <Penalty Type="Refund" Applicability="Before" Refundable="false" />
          <Penalty Type="Refund" Applicability="After" Refundable="false" />
        </PenaltiesInfo>
        <FareComponentDataList>
          <FareComponentData FareComponentNumber="1" PricingUnitNumber="1">
            <AdvancedPurchaseData LastDateTimeToBook="2020-07-03T23:59:00" LastDateTimeToPurchase="2020-04-12T23:59:00" />
            <MinimumStayData MinimumStayDateTime="2020-07-13T00:00:00" MinimumStayLocation="FRA" />
            <MaximumStayData LastCommencementDateTime="2020-12-10T23:59:00" RestrictedLocation="TYO" />
            <MaximumStayData LastCommencementDateTime="2020-08-10T23:59:00" RestrictedLocation="FRA" />
          </FareComponentData>
          <FareComponentData FareComponentNumber="2" PricingUnitNumber="1">
            <MaximumStayData LastCommencementDateTime="2021-07-10T23:59:00" RestrictedLocation="FRA" />
          </FareComponentData>
        </FareComponentDataList>
        <PricingUnitDataList>
          <PricingUnitData PricingUnitNumber="1">
            <MinimumStayData MinimumStayDateTime="2020-07-13T00:00:00" MinimumStayLocation="FRA" />
            <MaximumStayData LastCommencementDateTime="2020-12-10T23:59:00" RestrictedLocation="TYO" />
            <MaximumStayData LastCommencementDateTime="2020-08-10T23:59:00" RestrictedLocation="FRA" />
          </PricingUnitData>
        </PricingUnitDataList>
        <JourneyLevelDataList>
          <JourneyLevelData>
            <AdvancedPurchaseData LastDateTimeToBook="2020-07-03T23:59:00" LastDateTimeToPurchase="2020-04-12T23:59:00" />
          </JourneyLevelData>
        </JourneyLevelDataList>
      </PassengerDetail>
      <PassengerDetail PassengerTypeCode="INF">
        <Endorsements>
          <Text>NON ENDO/ NONREF</Text>
          <Text>NON ENDO/ REF</Text>
        </Endorsements>
        <Warnings>
          <Text>REQUIRES ACCOMPANYING ADT PASSENGER</Text>
          <Text>EACH INF REQUIRES ACCOMPANYING ADT PASSENGER</Text>
          <Text>VALIDATING CARRIER - EY</Text>
        </Warnings>
        <PassengerFare>
          <BaseFare CurrencyCode="JPY" Amount="8100" />
          <Commission Percentage="0" Amount="0" />
        </PassengerFare>
        <TicketFareVendor Source="ATPC" />
        <OptionNumber Value="3" />
        <ExchangeRateOne Value="105.954366" NumberOfDecimalPlaces="6" />
        <Cat35 Ind="false" />
        <PenaltiesInfo>
          <Penalty Type="Exchange" Applicability="Before" Changeable="true" Amount="33200" CurrencyCode="JPY" />
          <Penalty Type="Exchange" Applicability="After" Changeable="true" Amount="33200" CurrencyCode="JPY" />
          <Penalty Type="Refund" Applicability="Before" Refundable="false" />
          <Penalty Type="Refund" Applicability="After" Refundable="false" />
        </PenaltiesInfo>
        <FareComponentDataList>
          <FareComponentData FareComponentNumber="1" PricingUnitNumber="1">
            <AdvancedPurchaseData LastDateTimeToBook="2020-07-03T23:59:00" LastDateTimeToPurchase="2020-04-12T23:59:00" />
            <MinimumStayData MinimumStayDateTime="2020-07-13T00:00:00" MinimumStayLocation="FRA" />
            <MaximumStayData LastCommencementDateTime="2020-12-10T23:59:00" RestrictedLocation="TYO" />
            <MaximumStayData LastCommencementDateTime="2020-08-10T23:59:00" RestrictedLocation="FRA" />
          </FareComponentData>
          <FareComponentData FareComponentNumber="2" PricingUnitNumber="1">
            <MaximumStayData LastCommencementDateTime="2021-07-10T23:59:00" RestrictedLocation="FRA" />
          </FareComponentData>
        </FareComponentDataList>
        <PricingUnitDataList>
          <PricingUnitData PricingUnitNumber="1">
            <MinimumStayData MinimumStayDateTime="2020-07-13T00:00:00" MinimumStayLocation="FRA" />
            <MaximumStayData LastCommencementDateTime="2020-12-10T23:59:00" RestrictedLocation="TYO" />
            <MaximumStayData LastCommencementDateTime="2020-08-10T23:59:00" RestrictedLocation="FRA" />
          </PricingUnitData>
        </PricingUnitDataList>
        <JourneyLevelDataList>
          <JourneyLevelData>
            <AdvancedPurchaseData LastDateTimeToBook="2020-07-03T23:59:00" LastDateTimeToPurchase="2020-04-12T23:59:00" />
          </JourneyLevelData>
        </JourneyLevelDataList>
      </PassengerDetail>
    </PassengerDetails>
  </Summary>
</StructureFareRulesRS>