Skip to main content

Two Pricing Units (Two Round Trips), Four Fare Components – Data Exists in Category 6 for All Fares

Example: Two Pricing Units (Two Round Trips), Four Fare Components – Data Exists in Category 6 for All Fares

This example is in XML2. Customers will be using the OTA StructureFareRules request, which will then be translated into XML2 and sent to Pricing. Then, the XML2 StructureFareRules response will be transformed from Pricing and be passed to the web service.

Pricing request

<PricingRequest Version="1.2.4">
  <AGI A10="USZ" A21="USZ " A80="USZ" A90="SSW" AB2="8697357" B00="1S" C40="USD" N0G="5" />
  <BIL A20="USZ" A22="USZ" A70="WPMUS" AA0="SSW" AD0="0A913A" AE0="YY" C01="291454909022974721" C20="INTLWPI1" S0R="PPSS" />
  <PRO AE0="YY" B05="YY" C40="USD" C45="USD" D07="2015-12-24" D54="0665" N08="B" P0J="T" P69="T" PBB="F" PBK="T" PBZ="F" PPC="T" Q0P="1" Q16="03" RTW="F" S14="WPMUSD$P2ADT+" SEY="T" />
  <PXI B70="ADT" Q0U="02" />
  <SGI Q0C="01">
    <FLI A01="GRU" A02="MEX" B00="YY" B01="YY" B30="T" BB0="OK" BB2="QF" D00="2015-12-24" D01="2016-01-29" D02="2016-01-30" D30="0665" D31="1435" D32="0365" N03="A" Q0B="15" Q0C="01" />
  </SGI>
  <SGI Q0C="02">
    <FLI A01="MEX" A02="JFK" B00="YY" B01="DL" B30="T" BB0="OK" BB2="QF" D00="2015-12-24" D01="2016-01-30" D02="2016-01-30" D30="0665" D31="0910" D32="1255" N03="A" Q0B="5278" Q0C="02" />
  </SGI>
  <SGI Q0C="03">
    <FLI A01="JFK" A02="MEX" B00="YY" B01="DL" B30="T" BB0="OK" BB2="QF" D00="2015-12-24" D01="2016-02-06" D02="2016-02-06" D30="0665" D31="0565" D32="0850" N03="A" Q0B="5279" Q0C="03" />
  </SGI>
  <SGI Q0C="04">
    <FLI A01="MEX" A02="GRU" B00="YY" B01="YY" B30="T" BB0="OK" BB2="QF" D00="2015-12-24" D01="2016-02-06" D02="2016-02-07" D30="0665" D31="1385" D32="0780" N03="A" Q0B="14" Q0C="04" />
  </SGI>
</PricingRequest>

Pricing response

<PricingResponse>
  <AGI A10="USZ" A21="USZ" A90="SSW" N0G="5" A80="USZ" B00="1S" C40="USD" Q01="0" />
  <BIL A20="USZ" AE0="YY" AD0="0A913A" C20="INTLWPI1" A22="USZ" AA0="SSW" A70="WPMUS" />
  <SUM C56="3178.00" C40="USD" D07="2015-12-24" D54="665" S69="SOTO" AO0="USZ" K00="USZ" B00="YY" D00="2015-12-25" D14="2015-12-25" D16="2015-12-25" D60="11:05" PBC="F" PAR="F" S79="pifhli121">
    <PXI B70="ADT" C43="NUC" C5E="1589.00" S85="ADT 2 ADT 0 4 1 1 8 GHIJ12345 YY04 303 T  2 2 8 GHIJ123 YY04 5 T  3 3 8 GHIJ123 YY04 5 T  4 4 8 GHIJ12345 YY04 303 T " PBS="F" USI="1" B71="ADT" Q4P="1" C40="USD" C5A="1589.00" C54="1.00000000000000" Q05="13" C46="USD" C66="1688.40" C65="99.40" C5D="0.00" C5B="0.00" C64="99.40" S66="SAO YY MEX474.50YY NYC320.00YY MEX320.00YY SAO474.50NUC1589.00END ROE1.00 XFJFK4.5" P27="T" NRA="1589.00" P26="F">
[cut]
      <CAL A11="SAO" A01="GRU" B08="YY" A12="MEX" A02="MEX" C50="474.50" B50="GHIJ12345" Q04="8" B71="ADT" B02="YY" N00="Y" A41="BR" A51="1" A42="MX" A52="1" C51="474.50" C40="USD" P04="F" P05="T" D00="2016-01-29" N0K="P" P2M="F" PAY="F" PAZ="T" Q4J="1" N1K="R" S70="FR" A60="WH" FTY="00" S53="XEX" PPF="0">
        <CAT>5 6 7 8 10 12</CAT>
        <ERD Q46="5" Q1K="1" D12="2015-10-07" D55="16-18-16.055000" S53="XEX" BJ0="GHIJ12345" D08="2016-01-29" Q04="8" C5A="474.500000000" B70="ADT" />
        <SEG A11="SAO" C6I="GRU" A12="MEX" A02="MEX" D71="2016-01-29" S37="ATP" B09="YY" S89="303" S90="YY04" P72="T" Q0Z="01" S12="WH" C11="BR" C12="MX" C13="I" D06="2016-01-29" D05="2016-01-29" P2F="T" P2I="F" PAW="F" B00="YY" B01="YY" N00="Y" N1L="F" SHR="777" P2M="T" P2H="F" Q0Y="1" B20="02" N0D="P" P26="F" />
      </CAL>
      <CAL A11="MEX" A01="MEX" B08="YY" A12="NYC" A02="JFK" C50="320.00" B50="GHIJ123" Q04="7" B71="ADT" B02="YY" N00="Y" A41="MX" A51="1" A42="US" A52="1" A32="USNY" C51="320.00" C40="USD" P04="F" P05="T" D00="2016-01-29" N0K="P" P2M="F" PAY="F" PAZ="F" Q4J="2" N1K="R" S70="FR" A60="WH" FTY="00" S53="ER" PPF="0">
        <CAT>2 3 4 5 6 7 8 10 12 18</CAT>
        <ERD Q46="1" Q1K="16" D12="2015-11-26" D55="13-19-51.713000" S53="ER" BJ0="GHIJ123" D08="2016-01-30" Q04="7" C5A="320.000000000" B70="ADT" />
        <SEG A11="MEX" C6I="MEX" A12="NYC" A02="JFK" D71="2016-01-30" S37="ATP" B09="YY" S89="5" S90="YY04" P72="T" Q0Z="02" S12="WH" C11="MX" C12="US" C13="I" D06="2016-01-30" D05="2016-01-30" P2F="T" P2I="F" PAW="F" B00="YY" B01="DL" N00="Y" N1L="F" SHR="753" P2M="T" P2H="F" Q0Y="1" B20="02" N0D="P" P26="F" />
      </CAL>
      <CAL A11="NYC" A01="JFK" B08="YY" A12="MEX" A02="MEX" C50="320.00" B50="GHIJ123" Q04="7" B71="ADT" B02="YY" N00="Y" A41="US" A51="1" A31="USNY" A42="MX" A52="1" C51="320.00" C40="USD" P04="F" P05="T" D00="2016-01-29" N0K="P" P2M="F" PAY="F" PAZ="F" Q4J="2" N1K="R" S70="TO" A60="WH" FTY="00" S53="ER" PPF="0">
        <CAT>2 3 4 5 6 7 8 10 12 18</CAT>
        <ERD Q46="1" Q1K="16" D12="2015-11-26" D55="13-19-51.713000" S53="ER" BJ0="GHIJ123" D08="2016-02-06" Q04="7" C5A="320.000000000" B70="ADT" />
        <SEG A11="NYC" C6I="JFK" A12="MEX" A02="MEX" D71="2016-02-06" S37="ATP" B09="YY" S89="5" S90="YY04" P72="T" Q0Z="03" S12="WH" C11="US" C12="MX" C13="I" D06="2016-02-06" D05="2016-02-06" P2F="T" P2I="F" PAW="F" B00="YY" B01="DL" N00="Y" N1L="F" SHR="753" P2M="T" P2H="F" Q0Y="1" B20="02" N0D="P" P26="F" />
      </CAL>
      <CAL A11="MEX" A01="MEX" B08="YY" A12="SAO" A02="GRU" C50="474.50" B50="GHIJ12345" Q04="8" B71="ADT" B02="YY" N00="Y" A41="MX" A51="1" A42="BR" A52="1" C51="474.50" C40="USD" P04="F" P05="T" D00="2016-01-29" N0K="P" P2M="F" PAY="F" PAZ="T" Q4J="1" N1K="R" S70="TO" A60="WH" FTY="00" S53="XEX" PPF="0">
        <CAT>5 6 7 8 10 12</CAT>
        <ERD Q46="5" Q1K="1" D12="2015-10-07" D55="16-18-16.055000" S53="XEX" BJ0="GHIJ12345" D08="2016-02-06" Q04="8" C5A="474.500000000" B70="ADT" />
        <SEG A11="MEX" C6I="MEX" A12="SAO" A02="GRU" D71="2016-02-06" S37="ATP" B09="YY" S89="303" S90="YY04" P72="T" Q0Z="04" S12="WH" C11="MX" C12="BR" C13="I" D06="2016-02-06" D05="2016-02-06" P2F="T" P2I="F" PAW="F" B00="YY" B01="YY" N00="Y" N1L="F" SHR="777" P2M="T" P2H="F" Q0Y="1" B20="02" N0D="P" P26="F" />
      </CAL>
[cut]
    </PXI>
  </SUM>
  <MSG N06="X" Q0K="3" S18="29JAN DEPARTURE DATE-----LAST DAY TO PURCHASE 25DEC/1105" />
  <MSG N06="X" Q0K="4" S18="       BASE FARE                 TAXES/FEES/CHARGES    TOTAL" />
  <MSG N06="X" Q0K="5" S18=" 2-   USD1589.00                     99.40XT      USD1688.40ADT" />
  <MSG N06="X" Q0K="6" S18="    XT      35.60US        5.50YC        7.00XY        3.96XA " />
  <MSG N06="X" Q0K="7" S18="             5.60AY       37.24BR        4.50XF " />
  <MSG N06="X" Q0K="8" S18="         3178.00                    198.80           3376.80TTL" />
  <MSG N06="X" Q0K="9" S18="ADT-02  GHIJ12345 GHIJ123 GHIJ12345" />
  <MSG N06="X" Q0K="10" S18=" SAO YY MEX474.50YY NYC320.00YY MEX320.00YY SAO474.50NUC1589.00" />
  <MSG N06="X" Q0K="11" S18=" END ROE1.00 XFJFK4.5" />
[cut]
</PricingResponse>

Displaying trip characteristics

<PricingDTLResponse>
  <MSG N06="X" Q0K="000003" S18="WPDF"/>
  <MSG N06="X" Q0K="000004" S18="PSGR TYPE ADT"/>
  <MSG N06="X" Q0K="000005" S18="FARE  USD  1589.00"/>
  <MSG N06="X" Q0K="000006" S18="TAX   USD     99.40XT"/>
  <MSG N06="X" Q0K="000007" S18="TOTAL USD     1688.40"/>
  <MSG N06="X" Q0K="000008" S18="SAO AM MEX474.50AM NYC320.00AM MEX320.00AM SAO474.50NUC1589.00END ROE1.00 XFJFK4.5"/>
  <MSG N06="X" Q0K="000009" S18="XT 35.60US 5.50YC 7.00XY 3.96XA 5.60AY"/>
  <MSG N06="X" Q0K="000010" S18="XT 37.24BR 4.50XFJFK4.5"/>
  <MSG N06="X" Q0K="000011" S18="/////////////// TRAFFIC DOCUMENT ISSUED IN USZ ///////////////"/>
  <MSG N06="X" Q0K="000012" S18="PU -FARE BASIS-CUR  NUC AMT ELEMENT DESCRIPTION ----------- GI"/>
  <MSG N06="X" Q0K="000013" S18="01 GHIJ12345    USD   474.50 SAO-MEX AM /HR RTG              WH"/>
  <MSG N06="X" Q0K="000014" S18="02 GHIJ123     USD   320.00 MEX-NYC AM /HR RTG              WH"/>
  <MSG N06="X" Q0K="000015" S18="02 GHIJ123     USD   320.00 MEX-NYC AM /HR RTG              WH"/>
  <MSG N06="X" Q0K="000016" S18="01 GHIJ12345    USD   474.50 SAO-MEX AM /HR RTG              WH"/>
  <MSG N06="X" Q0K="000017" S18="                    1589.00    -    TOTAL NUC"/>
  <MSG N06="X" Q0K="000018" S18="-TAX AMT/USD/-- CUR  CODES  DESCRIPTION------------------------"/>
  <MSG N06="X" Q0K="000019" S18="       35.60        US/US2 US INTERNATIONAL TRANSPORTATION TAX"/>
  <MSG N06="X" Q0K="000020" S18="          17.80:USD    17.80 *MEX* *AM*"/>
  <MSG N06="X" Q0K="000021" S18="          17.80:USD    17.80 *JFK* *AM*"/>
  <MSG N06="X" Q0K="000022" S18="        5.50        US/YC  US CUSTOMS USER FEE"/>
  <MSG N06="X" Q0K="000023" S18="           5.50:USD     5.50 *MEX* *AM*"/>
  <MSG N06="X" Q0K="000024" S18="        7.00        US/XY  US FEDERAL INSPECTION FEE"/>
  <MSG N06="X" Q0K="000025" S18="           7.00:USD     7.00 *MEX* *AM*"/>
  <MSG N06="X" Q0K="000026" S18="        3.96        US/XA  US APHIS USER FEE"/>
  <MSG N06="X" Q0K="000027" S18="           3.96:USD     3.96 *MEX* *AM*"/>
  <MSG N06="X" Q0K="000028" S18="        5.60        US/AY  US SECURITY FEE"/>
  <MSG N06="X" Q0K="000029" S18="           5.60:USD     5.60 *JFK*     "/>
  <MSG N06="X" Q0K="000030" S18="       37.24        BR/BR3 DOES NOT APPLY TO TRANSIT PASSENGERS"/>
  <MSG N06="X" Q0K="000031" S18="          37.24:USD    37.24 *GRU* *AM*"/>
  <MSG N06="X" Q0K="000032" S18="        4.50        US/XF  PASSENGER FACILITY CHARGES"/>
  <MSG N06="X" Q0K="000033" S18="           4.50:USD     4.50 *JFK*     "/>
  <MSG N06="X" Q0K="000034" S18="-IATA RATES OF EXCHANGE USED IN FARE CALCULATION --------------"/>
  <MSG N06="X" Q0K="000035" S18=" 1.0000000000  USD-ROE  EFF 20SEP01*INDEF"/>
  <MSG N06="X" Q0K="000036" S18="-PRICING UNIT TRIP TYPE ---------------------------------------"/>
  <MSG N06="X" Q0K="000037" S18="  PU 01 - SPECIAL ROUND TRIP"/>
  <MSG N06="X" Q0K="000038" S18="  PU 02 - NORMAL  ROUND TRIP"/>
</PricingDTLResponse>

Checking Category 6 restrictions for GHIJ12345 fare

<FareDisplayResponse BI0="ALL">
  <MSG N06="X" Q0K="000002" S18="    V FARE BASIS     BK    FARE   TRAVEL-TICKET AP  MINMAX  RTG"/>
  <MSG N06="X" Q0K="000004" S18="  1   GHIJ12345       T R   949.00     ----     21/1 SU/ 6M WH01"/>
  <MSG N06="X" Q0K="000006" S18="PASSENGER TYPE-ADT                 AUTO PRICE-YES              "/>
  <MSG N06="X" Q0K="000008" S18="FROM-SAO TO-MEX    CXR-AM    TVL-29JAN16  RULE-AM04 IPRWI/303"/>
  <MSG N06="X" Q0K="000010" S18="FARE BASIS-GHIJ12345          SPECIAL FARE  DIS-E   VENDOR-ATP"/>
  <MSG N06="X" Q0K="000012" S18="FARE TYPE-XEX      RT-REGULAR EXCURSION"/>
  <MSG N06="X" Q0K="000014" S18="USD   949.00  0812  E08OCT15 D-INFINITY   FC-GHIJ12345  FN-     "/>
  <MSG N06="X" Q0K="000016" S18="SYSTEM DATES - CREATED 07OCT15/1618  EXPIRES INFINITY"/>
  <MSG N06="X" Q0K="000018" S18=" "/>
  <MSG N06="X" Q0K="000020" S18="06.MINIMUM STAY"/>
  <MSG N06="X" Q0K="000022" S18="   TRAVEL FROM LAST INTERNATIONAL SECTOR MUST COMMENCE NO EARLIER THAN THE FIRST SUN AFTER DEPARTURE OF THE FIRST INTERNATIONAL SECTOR."/>
  <ODC A01="SAO" A02="MEX" C46="USD"/>
  <FQD AK0="SAO" AL0="MEX" B00="AM" B01="AM" B30="T" B50="GHIJ12345" B70="ADT" BJ0="GHIJ12345" C46="USD" C50="949.00" C5A="474.5" D12="2015-10-07" D55="16-18-16.055000" PAS="N" PCG=" " Q1K="1" Q3W="303" Q46="5" S37="ATP" S49="WH01" S53="XEX" S86="0812" S90="AM04"/>
</FareDisplayResponse>

Displaying D306/FCGHIJ12345/FMSAOMEX

<PricingResponse>
  <MSG N06="X" Q0K="3" S18="CATEGORY 06 - MIN STAY APPLICATION DIAGNOSTICS" />
  <MSG N06="X" Q0K="4" S18="PHASE: FARE VALIDATOR    R3 ITEM NUMBER: 6969" />
  <MSG N06="X" Q0K="5" S18="GRU MEX GHIJ12345     R2:FARERULE    :  ATP 303 YY YY04" />
  <MSG N06="X" Q0K="6" S18="CATEGORY 6 RULE DATA" />
  <MSG N06="X" Q0K="7" S18="MINSTAY - 1 SUN ORIGIN DOW: NONE" />
  <MSG N06="X" Q0K="8" S18="MINSTAY DATE - N/A FROM GEO - 3429  TO GEO - 3427" />
  <MSG N06="X" Q0K="9" S18="TABLE 994 - 0    EARLIER/LATER IND - N/A TIME -  N/A" />
  <MSG N06="X" Q0K="10" S18="CALCULATED MINIMUM STAY DATES" />
  <MSG N06="X" Q0K="11" S18="RETURN DATE  -  2016-01-31" />
  <MSG N06="X" Q0K="12" S18="RETURN TIME  -  23:55" />
  <MSG N06="X" Q0K="13" S18="VALIDATE AGAINST   -  2016-01-31 00:00" />
  <MSG N06="X" Q0K="14" S18="ITINERARY DEPARTURE DATE AND TIMES" />
  <MSG N06="X" Q0K="15" S18="DEPARTURE      - MEX 2016-02-06 23:05 PASS" />
  <MSG N06="X" Q0K="16" S18="DAY OF WEEK    - SAT" />
  <MSG N06="X" Q0K="17" S18="ITINERARY DEPARTURE DATE AND TIMES" />
  <MSG N06="X" Q0K="18" S18="DEPARTURE      - JFK 2016-02-06 09:25 PASS" />
  <MSG N06="X" Q0K="19" S18="DAY OF WEEK    - SAT" />
  <MSG N06="X" Q0K="20" S18="ITINERARY DEPARTURE DATE AND TIMES" />
  <MSG N06="X" Q0K="21" S18="DEPARTURE      - MEX 2016-01-30 15:10 FAIL" />
  <MSG N06="X" Q0K="22" S18="DAY OF WEEK    - SAT" />
  <MSG N06="X" Q0K="23" S18="MINSTAY SOFTPASS: NEED REVALIDATION FOR PRICING UNIT" />
  <MSG N06="X" Q0K="24" S18="***************************************************************" />
  <MSG N06="X" Q0K="25" S18="CATEGORY 06 - MIN STAY APPLICATION DIAGNOSTICS" />
  <MSG N06="X" Q0K="26" S18="PHASE: FARE VALIDATOR    R3 ITEM NUMBER: 6969" />
  <MSG N06="X" Q0K="27" S18="MEX GRU GHIJ12345     R2:FARERULE    :  ATP 303 YY YY04" />
  <MSG N06="X" Q0K="28" S18="MINSTAY SOFTPASS: FAREMARKET DIRECTIONALITY NOT OUTBOUND - NEED REVALIDATION" />
  <MSG N06="X" Q0K="29" S18="***************************************************************" />
  <MSG N06="X" Q0K="30" S18="CATEGORY 06 - MIN STAY APPLICATION DIAGNOSTICS" />
  <MSG N06="X" Q0K="31" S18="PHASE: FARE PATH    R3 ITEM NUMBER: 6969" />
  <MSG N06="X" Q0K="32" S18="GRU MEX GHIJ12345     R2:FARERULE    :  ATP 303 YY YY04" />
  <MSG N06="X" Q0K="33" S18="CATEGORY 6 RULE DATA" />
  <MSG N06="X" Q0K="34" S18="MINSTAY - 1 SUN ORIGIN DOW: NONE" />
  <MSG N06="X" Q0K="35" S18="MINSTAY DATE - N/A FROM GEO - 3429  TO GEO - 3427" />
  <MSG N06="X" Q0K="36" S18="TABLE 994 - 0    EARLIER/LATER IND - N/A TIME -  N/A" />
  <MSG N06="X" Q0K="37" S18="CALCULATED MINIMUM STAY DATES" />
  <MSG N06="X" Q0K="38" S18="RETURN DATE  -  2016-01-31" />
  <MSG N06="X" Q0K="39" S18="RETURN TIME  -  23:55" />
  <MSG N06="X" Q0K="40" S18="VALIDATE AGAINST   -  2016-01-31 00:00" />
  <MSG N06="X" Q0K="41" S18="ITINERARY DEPARTURE DATE AND TIMES" />
  <MSG N06="X" Q0K="42" S18="DEPARTURE      - MEX 2016-02-06 23:05 PASS" />
  <MSG N06="X" Q0K="43" S18="DAY OF WEEK    - SAT" />
  <MSG N06="X" Q0K="44" S18="***************************************************************" />
  <MSG N06="X" Q0K="45" S18="CATEGORY 06 - MIN STAY APPLICATION DIAGNOSTICS" />
  <MSG N06="X" Q0K="46" S18="PHASE: FARE PATH    R3 ITEM NUMBER: 6969" />
  <MSG N06="X" Q0K="47" S18="MEX GRU GHIJ12345     R2:FARERULE    :  ATP 303 YY YY04" />
  <MSG N06="X" Q0K="48" S18="CATEGORY 6 RULE DATA" />
  <MSG N06="X" Q0K="49" S18="MINSTAY - 1 SUN ORIGIN DOW: NONE" />
  <MSG N06="X" Q0K="50" S18="MINSTAY DATE - N/A FROM GEO - 3429  TO GEO - 3427" />
  <MSG N06="X" Q0K="51" S18="TABLE 994 - 0    EARLIER/LATER IND - N/A TIME -  N/A" />
  <MSG N06="X" Q0K="52" S18="CALCULATED MINIMUM STAY DATES" />
  <MSG N06="X" Q0K="53" S18="RETURN DATE  -  2016-01-31" />
  <MSG N06="X" Q0K="54" S18="RETURN TIME  -  23:55" />
  <MSG N06="X" Q0K="55" S18="VALIDATE AGAINST   -  2016-01-31 00:00" />
  <MSG N06="X" Q0K="56" S18="ITINERARY DEPARTURE DATE AND TIMES" />
  <MSG N06="X" Q0K="57" S18="DEPARTURE      - MEX 2016-02-06 23:05 PASS" />
  <MSG N06="X" Q0K="58" S18="DAY OF WEEK    - SAT" />
  <MSG N06="X" Q0K="59" S18="***************************************************************" />
</PricingResponse>

Checking Category 6 restrictions for GHIJ123 fare

<FareDisplayResponse BI0="ALL">
  <MSG N06="X" Q0K="000002" S18="    V FARE BASIS     BK    FARE   TRAVEL-TICKET AP  MINMAX  RTG"/>
  <MSG N06="X" Q0K="000004" S18="  1   GHIJ123        T$R   640.00        T05JA 14/3 $$/  - WH01"/>
  <MSG N06="X" Q0K="000006" S18="PASSENGER TYPE-ADT                 AUTO PRICE-YES              "/>
  <MSG N06="X" Q0K="000008" S18="FROM-MEX TO-NYC    CXR-YY    TVL-30JAN16  RULE-YY04 IPRW/5"/>
  <MSG N06="X" Q0K="000010" S18="FARE BASIS-GHIJ123           NORMAL FARE  DIS-E   VENDOR-ATP"/>
  <MSG N06="X" Q0K="000012" S18="FARE TYPE-ER      RT-ECONOMY RESTRICTED"/>
  <MSG N06="X" Q0K="000014" S18="USD   640.00  0035  E27NOV15 D-INFINITY   FC-GHIJ123  FN-     "/>
  <MSG N06="X" Q0K="000016" S18="SYSTEM DATES - CREATED 26NOV15/1319  EXPIRES 05JAN16/1536"/>
  <MSG N06="X" Q0K="000018" S18=" "/>
  <MSG N06="X" Q0K="000020" S18="06.MINIMUM STAY"/>
  <MSG N06="X" Q0K="000022" S18="   TRAVEL FROM LAST INTERNATIONAL SECTOR MUST COMMENCE NO EARLIER THAN 3 DAYS AFTER DEPARTURE OF THE FIRST INTERNATIONAL SECTOR 
OR – 
TRAVEL FROM LAST INTERNATIONAL SECTOR MUST COMMENCE NO EARLIER THAN THE FIRST SUN AFTER DEPARTURE OF THE FIRST INTERNATIONAL SECTOR."/>
  <ODC A01="MEX" A02="NYC" C46="USD"/>
  <FQD AK0="MEX" AL0="NYC" B00="YY" B01="YY" B30="T$" B50="GHIJ123" B70="ADT" BJ0="GHIJ123" C46="USD" C50="640.00" C5A="320" D12="2015-11-26" D55="13-19-51.713000" PAS="N" PCG=" " Q1K="16" Q3W="5" Q46="1" S37="ATP" S49="WH01" S53="ER" S86="0035" S90="YY04"/>
</FareDisplayResponse>

Displaying D306/FCGHIJ123/FMMEXNYC

<PricingResponse>
  <MSG N06="X" Q0K="3" S18="CATEGORY 06 - MIN STAY APPLICATION DIAGNOSTICS" />
  <MSG N06="X" Q0K="4" S18="PHASE: FARE VALIDATOR    R3 ITEM NUMBER: 5636" />
  <MSG N06="X" Q0K="5" S18="MEX JFK GHIJ123     R2:FARERULE    :  ATP 5 YY YY04" />
  <MSG N06="X" Q0K="6" S18="CATEGORY 6 RULE DATA" />
  <MSG N06="X" Q0K="7" S18="MINSTAY - 3 DAY ORIGIN DOW: NONE" />
  <MSG N06="X" Q0K="8" S18="MINSTAY DATE - N/A FROM GEO - 3429  TO GEO - 3427" />
  <MSG N06="X" Q0K="9" S18="TABLE 994 - 0    EARLIER/LATER IND - N/A TIME -  N/A" />
  <MSG N06="X" Q0K="10" S18="CALCULATED MINIMUM STAY DATES" />
  <MSG N06="X" Q0K="11" S18="RETURN DATE  -  2016-02-02" />
  <MSG N06="X" Q0K="12" S18="RETURN TIME  -  15:10" />
  <MSG N06="X" Q0K="13" S18="VALIDATE AGAINST   -  2016-02-02 00:00" />
  <MSG N06="X" Q0K="14" S18="ITINERARY DEPARTURE DATE AND TIMES" />
  <MSG N06="X" Q0K="15" S18="DEPARTURE      - MEX 2016-02-06 23:05 PASS" />
  <MSG N06="X" Q0K="16" S18="DAY OF WEEK    - SAT" />
  <MSG N06="X" Q0K="17" S18="ITINERARY DEPARTURE DATE AND TIMES" />
  <MSG N06="X" Q0K="18" S18="DEPARTURE      - JFK 2016-02-06 09:25 PASS" />
  <MSG N06="X" Q0K="19" S18="DAY OF WEEK    - SAT" />
  <MSG N06="X" Q0K="20" S18="***************************************************************" />
  <MSG N06="X" Q0K="21" S18="CATEGORY 06 - MIN STAY APPLICATION DIAGNOSTICS" />
  <MSG N06="X" Q0K="22" S18="PHASE: FARE VALIDATOR    R3 ITEM NUMBER: 5636" />
  <MSG N06="X" Q0K="23" S18="JFK MEX GHIJ123     R2:FARERULE    :  ATP 5 YY YY04" />
  <MSG N06="X" Q0K="24" S18="MINSTAY SOFTPASS: FAREMARKET DIRECTIONALITY NOT OUTBOUND - NEED REVALIDATION" />
  <MSG N06="X" Q0K="25" S18="***************************************************************" />
  <MSG N06="X" Q0K="26" S18="CATEGORY 06 - MIN STAY APPLICATION DIAGNOSTICS" />
  <MSG N06="X" Q0K="27" S18="PHASE: FARE VALIDATOR    R3 ITEM NUMBER: 6969" />
  <MSG N06="X" Q0K="28" S18="JFK MEX GHIJ123     R2:FARERULE    :  ATP 5 YY YY04" />
  <MSG N06="X" Q0K="29" S18="MINSTAY SOFTPASS: FAREMARKET DIRECTIONALITY NOT OUTBOUND - NEED REVALIDATION" />
  <MSG N06="X" Q0K="30" S18="***************************************************************" />
  <MSG N06="X" Q0K="31" S18="CATEGORY 06 - MIN STAY APPLICATION DIAGNOSTICS" />
  <MSG N06="X" Q0K="32" S18="PHASE: FARE PATH    R3 ITEM NUMBER: 5636" />
  <MSG N06="X" Q0K="33" S18="MEX JFK GHIJ123     R2:FARERULE    :  ATP 5 YY YY04" />
  <MSG N06="X" Q0K="34" S18="CATEGORY 6 RULE DATA" />
  <MSG N06="X" Q0K="35" S18="MINSTAY - 3 DAY ORIGIN DOW: NONE" />
  <MSG N06="X" Q0K="36" S18="MINSTAY DATE - N/A FROM GEO - 3429  TO GEO - 3427" />
  <MSG N06="X" Q0K="37" S18="TABLE 994 - 0    EARLIER/LATER IND - N/A TIME -  N/A" />
  <MSG N06="X" Q0K="38" S18="CALCULATED MINIMUM STAY DATES" />
  <MSG N06="X" Q0K="39" S18="RETURN DATE  -  2016-02-02" />
  <MSG N06="X" Q0K="40" S18="RETURN TIME  -  15:10" />
  <MSG N06="X" Q0K="41" S18="VALIDATE AGAINST   -  2016-02-02 00:00" />
  <MSG N06="X" Q0K="42" S18="ITINERARY DEPARTURE DATE AND TIMES" />
  <MSG N06="X" Q0K="43" S18="DEPARTURE      - JFK 2016-02-06 09:25 PASS" />
  <MSG N06="X" Q0K="44" S18="DAY OF WEEK    - SAT" />
  <MSG N06="X" Q0K="45" S18="***************************************************************" />
  <MSG N06="X" Q0K="46" S18="CATEGORY 06 - MIN STAY APPLICATION DIAGNOSTICS" />
  <MSG N06="X" Q0K="47" S18="PHASE: FARE PATH    R3 ITEM NUMBER: 5636" />
  <MSG N06="X" Q0K="48" S18="JFK MEX GHIJ123     R2:FARERULE    :  ATP 5 YY YY04" />
  <MSG N06="X" Q0K="49" S18="CATEGORY 6 RULE DATA" />
  <MSG N06="X" Q0K="50" S18="MINSTAY - 3 DAY ORIGIN DOW: NONE" />
  <MSG N06="X" Q0K="51" S18="MINSTAY DATE - N/A FROM GEO - 3429  TO GEO - 3427" />
  <MSG N06="X" Q0K="52" S18="TABLE 994 - 0    EARLIER/LATER IND - N/A TIME -  N/A" />
  <MSG N06="X" Q0K="53" S18="CALCULATED MINIMUM STAY DATES" />
  <MSG N06="X" Q0K="54" S18="RETURN DATE  -  2016-02-02" />
  <MSG N06="X" Q0K="55" S18="RETURN TIME  -  15:10" />
  <MSG N06="X" Q0K="56" S18="VALIDATE AGAINST   -  2016-02-02 00:00" />
  <MSG N06="X" Q0K="57" S18="ITINERARY DEPARTURE DATE AND TIMES" />
  <MSG N06="X" Q0K="58" S18="DEPARTURE      - JFK 2016-02-06 09:25 PASS" />
  <MSG N06="X" Q0K="59" S18="DAY OF WEEK    - SAT" />
  <MSG N06="X" Q0K="60" S18="***************************************************************" />
</PricingResponse>

Structured rule request (Fare component number Q6D, Fare basis code B50)

<STRUCTUREDRULEREQUEST>
<AGI A10="USZ" A21="USZ " A80="USZ" A90="SSW" AB2="8697357" B00="1S" C40="USD" N0G="5"/>
 <BIL A20="USZ" A22="USZ" A70="WPMUS" AA0="SSW" AD0="0A913A" AE0="YY" C01="291454909022974721" C20="INTLWPI1" S0R="PPSS"/>
 <PRO AE0="YY" B05="YY" C40="USD" C45="USD" D07="2015-12-24" D54="0665" N08="B" P0J="T" P69="T" PBB="F" PBK="T" PBZ="F" PPC="T" Q0P="1" Q16="03" RTW="F" S14="WPMUSD$P2ADT+" SEY="T"/>
 <PXI B70="ADT" Q0U="02"/>
 <SGI Q0C="01" Q6D="1" B50="GHIJ12345">
  <FLI A01="GRU" A02="MEX" B00="YY" B01="YY" B30="T" BB0="OK" BB2="QF" D00="2015-12-24" D01="2016-01-29" D02="2016-01-30" D30="0665" D31="1435" D32="0365" N03="A" Q0B="15" Q0C="01"/>
 </SGI>
 <SGI Q0C="02" Q6D="2" B50="GHIJ123">
  <FLI A01="MEX" A02="JFK" B00="YY" B01="DL" B30="T" BB0="OK" BB2="QF" D00="2015-12-24" D01="2016-01-30" D02="2016-01-30" D30="0665" D31="0910" D32="1255" N03="A" Q0B="5278" Q0C="02"/>
 </SGI>
 <SGI Q0C="03" Q6D="3" B50="GHIJ123">
  <FLI A01="JFK" A02="MEX" B00="YY" B01="DL" B30="T" BB0="OK" BB2="QF" D00="2015-12-24" D01="2016-02-06" D02="2016-02-06" D30="0665" D31="0565" D32="0850" N03="A" Q0B="5279" Q0C="03"/>
 </SGI>
 <SGI Q0C="04" Q6D="4" B50="GHIJ12345">
  <FLI A01="MEX" A02="GRU" B00="YY" B01="YY" B30="T" BB0="OK" BB2="QF" D00="2015-12-24" D01="2016-02-06" D02="2016-02-07" D30="0665" D31="1385" D32="0780" N03="A" Q0B="14" Q0C="04"/>
 </SGI>
</STRUCTUREDRULEREQUEST>

Structured rule response

<StructuredRuleResponse>
  <SUM C56="3178.00" C40="USD" S69="SOTO" AO0="USZ" B00="YY" PBC="F" PAR="F" S79="pifhli121" ANG="T">
    <PXI B70="ADT" C43="NUC" C5E="1589.00" B71="ADT" Q4P="1" C40="USD" C5A="1589.00" C54="1.00000000000000" Q05="13" C46="USD" C66="1589.00" C65="0.00" C5D="0.00" C5B="0.00" P26="F">
      <MSG N06="N" Q0K="0" B00="YY" S18="NONEND/NONREF/CHG/CXL - FEE APPLIES" />
      <MSG N06="W" Q0K="0" S18="VALIDATING CARRIER SPECIFIED - YY" />
      <PEN>
        <CPB MPA="200.00" MPC="USD" />
        <CPA MPA="200.00" MPC="USD" />
        <RPB NON="T" />
        <RPA NON="T" />
      </PEN>
      <FCD Q6D="1" PUN="1">
        <MIN MSD="2016-01-31" MST="00:00" LOC="MEX" />
      </FCD>
      <FCD Q6D="2" PUN="2">
        <MIN MSD="2016-02-02" MST="00:00" LOC="NYC" />
      </FCD>
      <FCD Q6D="3" PUN="2">
        <MIN MSD="2016-02-02" MST="00:00" LOC="NYC" />
      </FCD>
      <FCD Q6D="4" PUN="1">
        <MIN MSD="2016-01-31" MST="00:00" LOC="MEX" />
      </FCD>
      <PUD PUN="1">
        <MIN MSD="2016-01-31" MST="00:00" LOC="MEX" />
      </PUD>
      <PUD PUN="2">
        <MIN MSD="2016-02-02" MST="00:00" LOC="NYC" />
      </PUD>
    </PXI>
  </SUM>
</StructuredRuleResponse>

The following table describes the data in the response:

Data

Description

FCD

Fare component data.

FCD/@Q6D

Fare component number.

FCD/@PUN

Pricing unit number that covers this fare component.

FCD/MIN/@MSD

Minimum stay date.

FCD/MIN/@MST

Minimum stay time.

FCD/MIN/@LOC

Location to which the MSD and MST applies.

PUD

Pricing unit data.

PUD/@PUN

Pricing unit number.

PUD/MIN

Minimum Stay Most restrictive (the latest date/time for a given location).