Parameters
Main.
/result
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Result identificatior | 25-letter hash | /@id | <result id="23ab39b5-6c65-4cd5-88e5-1cb03bec9c67"> | |||
2 | Session identificatior | 25-letter hash | /@session | <session="3fb36527-e461-4ec7-965a-95ed5153bfc5"> | |||
3 | Solution count | Integer | /@solutionCount | <solutionCount="12"> | |||
4 | Solution set identificatior | 23-letter hash | /@solutionSet | <solutionSet="ae5267e5-a4fe-4208-9241-570421cae3a1"> | |||
5 | Itinerary solution | Check Itinerary solution for more details | /solutions/itinerary/solution/@id | <solution id="beada5dd-3800-45bd-8e5e-22d495e4c071"> | |||
6 | Baggage solution | Check Baggage solution for more details | /includedBaggage/solution/@id | <solution id="53d6d4ad-84e2-4b09-91bd-4f043ef33730" | |||
7 | Fares solution | Check Fares solution for more details | /fares/solution/@id | <solution id="8bdb16b9-940d-4df3-8f11-f283325c6324"> |
Anchor | ||||
---|---|---|---|---|
|
/result /solutions / itinerary /solution (Multiple)
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Solution identificatior | Use it to find the same solution in other summarizers for extra details | /@id | <solution id="beada5dd-3800-45bd-8e5e-22d495e4c071"> | |||
2 | Sale price for all passengers | 3-char currency ISO code + amount | /@saleTotal | <solution saleTotal="RUB20000"> | |||
3 | Deeplink to the S7 site | To redirect user to selected solutions on S7 website | ext /@link | <ext link="https://ibe.s7.ru/mseDeeplink.action?LAN=RU&partner=test&TA=2&TC=1&TI=1&SUP=XO&CP=F&CUR=RUB&TF=20000&FLC=1&FSC1=1&FN1=2048&AC1=S7&DD1=2023-12-02&DT1=18:10:00&AD1=2023-12-02&AT1=21:45:00&DA1=AER&AA1=DME&SC1=N&utm_campaign=test&utm_source=test&utm_medium=metasearch&FF1=B"> | |||
4 | Pricing for 1 adult | Check Itinerary solution pricing for more details | ext | ||||
5 | Adult count | Integer | pricing[ext[pax[@adults]]] /@paxCount | <pricing paxCount="2"> | |||
6 | Pricing for 1 adult | Check Itinerary solution pricing for more details | pricing[ext[pax[@adults]]] | ||||
7 | Adult count | Integer | pricing/ext/pax/@adults | <pax adults="2"/> | |||
8 | Count of children | Integer | pricing[ext[pax[@children]]] /@paxCount | <pricing paxCount="1"> | |||
9 | Pricing for 1 child | Check Itinerary solution pricing for more details | pricing[ext[pax[@children]]] | ||||
10 | Count of children | Integer | pricing /ext /pax /@children | <pax children="1"/> | |||
11 | Count of Infants in a lap | Integer | pricing[ext[not(pax)]] /@paxCount | <pricing paxCount="1"> | |||
12 | Pricing for 1 infant in a lap | Check Itinerary solution pricing for more details | pricing[ext[not(pax)]] |
Anchor | ||||
---|---|---|---|---|
|
/result /solutions / itinerary /solution (Multiple)
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Sale price amount without YQ taxes for 1 passenger | Decimal | SalePriceWithoutYQ /@amount | <SalePriceWithoutYQ amount="86200"/> | |||
2 | Sale price currency without YQ taxes for 1 passenger | RUB | 3-char currency ISO code | SalePriceWithoutYQ /@currency | <SalePriceWithoutYQ currency="RUB"/> | ||
3 | Sale price amount without YQ and YR taxes for 1 passenger | Decimal | SalePriceWithoutYQAndYR /@amount | <SalePriceWithoutYQAndYR amount="83200"/> | |||
4 | Sale price currency without YQ and YR taxes for 1 passenger | RUB | 3-char currency ISO code | SalePriceWithoutYQAndYR /@currency | <SalePriceWithoutYQAndYR currency="RUB"/> | ||
5 | Sale price amount without YR taxes for 1 passenger | Decimal | SalePriceWithoutYR /@amount | <SalePriceWithoutYR amount="86200"/> | |||
6 | Sale price currency without YR taxes for 1 passenger | RUB | 3-char currency ISO code | SalePriceWithoutYR /@currency | <SalePriceWithoutYR currency="RUB"/> |
Anchor | ||||
---|---|---|---|---|
|
/result /solutions / itinerary /slice (Multiple)
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Segment | Check Itinerary solution segment for more details | segment |
Anchor | ||||
---|---|---|---|---|
|
/result /solutions / itinerary /slice /segment (Multiple)
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Arrival datetime (local) | YYYY-MM-DDTHH:MM+HH:MM | @arrival | <segment arrival="2017-12-02T12:10+07:00"> | |||
2 | Cabin type |
| @cabin | <segment cabin="BUSINESS"> | |||
3 | Marketing carrier IATA airline ID | 2-letter IATA airline code | @carrier | <segment carrier="S7"> | |||
4 | Departure datetime (local) | YYYY-MM-DDTHH:MM+HH:MM | @departure | <segment departure="2017-12-02T10:30+11:00"> | |||
5 | Arrival IATA airport code | 3-char IATA airport code | @destination | <segment destination="OVB"> | |||
6 | Flight duration | In minutes | @duration | <segment duration="340"> | |||
7 | Marketing carrier IATA airline ID with flight number | 2-letter IATA airline code + flight number | @flight | <segment flight="S73514"> | |||
8 | Departure IATA airport code | 3-char IATA airport code | @origin | <segment origin="GDX"> | |||
9 | Fare code | String | @fareCode | <segment fareCode="DBSRT"> | |||
10 | Class of service code | 1-char | @bookingCode | <segment bookingCode="D"> |
Anchor | ||||
---|---|---|---|---|
|
/result /baggage /solution (Multiple)
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Solution identificatior | Use it to find the same solution in other summarizers for extra details | @id | <solution id="8c1fvuBiKfMVby8CWoukaG001"> | |||
2 | Adult count | Integer | pricing[@adults] /@adults | <pricing adults="2"> | |||
3 | Pricing for 1 adult | Check Baggage solution pricing for more details | pricing[@adults] | ||||
4 | Children count | Integer | pricing[@children] /@children | <pricing children="1"> | |||
5 | Pricing for 1 child | Check Baggage solution pricing for more details | pricing[@children] | ||||
6 | Count of Infants in a lap | Integer | pricing[@infantsInLap] /@infantsInLap | <pricing infantsInLap="1"> | |||
7 | Pricing for 1 infant in a lap | Check Baggage solution pricing for more details | pricing[@infantsInLap] | ||||
8 | Slice | Check Baggage solution slice for more details | slice |
Anchor | ||||
---|---|---|---|---|
|
/result /baggage /solution /pricing (Multiple)
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Carry on baggage allowance | Check Baggage allowance for more details | carryOnBaggageAllowance | ||||
2 | Checked baggage allowance | Check Baggage allowance for more details | checkedBaggageAllowance | ||||
3 | Extra baggage option | Check Baggage optional service for more details | optionalService |
Anchor | ||||
---|---|---|---|---|
|
/result /baggage /solution /pricing /carryOnBaggageAllowance (Multiple)
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Max weight of 1 piece | Integer | freeBaggageAllowance /@kilos | <freeBaggageAllowance kilos="15"> | |||
2 | Bags count | Integer If @pieces doesn’t exist for:
All carries, that can appear in the API results, applies one of the baggage allowance concepts:
Check Glossary for more info. | freeBaggageAllowance /@pieces | <freeBaggageAllowance pieces="2"> | |||
3 | Baggage descriptor | Check Baggage descriptor for more details | freeBaggageAllowance /bagDescriptor | ||||
4 | Segment hash | To check segments on which current baggage allowance is available. Multiplicity of segments means that service applied for all listed segments (not separately for each one) | segment /@hash | <segment hash="GVVNljGjEDQQv7Ge"/> |
Anchor | ||||
---|---|---|---|---|
|
/result /baggage /solution /pricing /carryOnBaggageAllowance /freeBaggageAllowance /bagDescriptor (Multiple)
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Commercial name | String | @commercialName | <bagDescriptor commercialName="GOLF EQUIPMENT"> | |||
2 | Bags count | Integer, "0" for uncountable | @count | <bagDescriptor count="1"> | |||
3 | ATPCO service code | 3-letter ATPCO service code | @subcode | <bagDescriptor subcode="0DC"> | |||
4 | Service group code | 3-letter group code | @subgroup | <bagDescriptor subgroup="SP"> | |||
5 | Description |
| description | <description>Up to 80 li/203 lcm</description> |
Anchor | ||||
---|---|---|---|---|
|
/result /baggage /solution /pricing /optionalService (Multiple)
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Commercial name | String | @commercialName | <optionalService commercialName="UPTO50LB 23KG AND80LI 203LCM"> | |||
2 | ATPCO service code | 3-letter ATPCO service code | @subcode | <optionalService subcode="0GP"> | |||
3 | Bag sequence number | Integer | @bagNumber | <optionalService bagNumber="2"> | |||
4 | Amount of sale price with applied discount | Decimal | salePrice /@amount | <salePrice amount="2400"/> | |||
5 | Currency of sale price with applied discount | RUB | 3-char currency ISO code | salePrice /@currency | <salePrice currency="RUB"/> | ||
6 | Amount of applied discount | Decimal | saleDiscount /@amount | <saleDiscount amount="600"/> | |||
7 | Currency of applied discount | RUB | 3-char currency ISO code | saleDiscount /@currency | <saleDiscount currency="RUB"/> | ||
8 | Segment hash | To check segments on which current service is available. Multiplicity of segments means that service applied for all listed segments (not separately for each one) | segment /@hash | <segment hash="GVVNljGjEDQQv7Ge"/> |
Anchor | ||||
---|---|---|---|---|
|
/result /baggage /solution /slice (Multiple)
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Segment | Check Baggage solution segment for more details | segment |
Anchor | ||||
---|---|---|---|---|
|
/result /baggage /solution /slice /segment (Multiple)
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Arrival IATA airport code | 3-char IATA airport code | @destination | <segment destination="OVB"> | |||
2 | Marketing carrier IATA airline ID with flight number | 2-letter IATA airline code + flight number | @flight | <segment flight="S73514"> | |||
3 | Segment hash | 16-letter hash | @hash | <segment hash="GlZGdXqQ-J8e9i+N"/> | |||
4 | Departure IATA airport code | 3-char IATA airport code | @origin | <segment origin="GDX"> |
Fares solution.
Anchor | ||||
---|---|---|---|---|
|
/result /fares /solution (Multiple)
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Slice | Check Fares solution slice for more details | slice |
Anchor | ||||
---|---|---|---|---|
|
/result /mso /solution /slice (Multiple)
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Segment | Check Fares solution segment for more details | segment |
Anchor | ||||
---|---|---|---|---|
|
/result /mso /solution /slice /segment (Multiple)
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Arrival IATA airport code | 3-char IATA airport code | @destination | <segment destination="OVB"> | |||
2 | Fare code | String | @fareCode | <segment fareCode="DBSRT"/> | |||
3 | Class of service code | 1-char | @bookingCode | <segment bookingCode="D"/> | |||
4 | Fare family name |
| @brandText | <segment brandText="BASIC BUSINESS"/> | |||
5 | Marketing carrier IATA airline ID with flight number | 2-letter IATA airline code + flight number | @flight | <segment flight="S73514"> | |||
6 | Segment hash | 16-letter hash | @hash | <segment hash="GlZGdXqQ-J8e9i+N"/> | |||
7 | Departure IATA airport code | 3-char IATA airport code | @origin | <segment origin="GDX"> |