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 | /ext/SalePriceWithoutYQ/@amount | <SalePriceWithoutYQ amount="86200"/> | |||
2 | Sale price currency without YQ taxes for 1 passenger | RUB | 3-char currency ISO code | /ext/SalePriceWithoutYQ/@currency | <SalePriceWithoutYQ currency="RUB"/> | ||
3 | Sale price amount without YQ and YR taxes for 1 passenger | Decimal | /ext/SalePriceWithoutYQAndYR/@amount | <SalePriceWithoutYQAndYR amount="83200"/> | |||
4 | Sale price currency without YQ and YR taxes for 1 passenger | RUB | 3-char currency ISO code | /ext/SalePriceWithoutYQAndYR/@currency | <SalePriceWithoutYQAndYR currency="RUB"/> | ||
5 | Sale price amount without YR taxes for 1 passenger | Decimal | /ext/SalePriceWithoutYR/@amount | <SalePriceWithoutYR amount="86200"/> | |||
6 | Sale price currency without YR taxes for 1 passenger | RUB | 3-char currency ISO code | /ext/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="20172023-1211-02T1210T21:1045+0703: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="20172023-1211-02T1010T18:3010+1103:00"> | |||
5 | Arrival IATA airport code | 3-char IATA airport code | @destination | <segment destination="OVBDME"> | |||
6 | Flight duration | In minutes | @duration | <segment duration="340215"> | |||
7 | Marketing carrier IATA airline ID with flight number | 2-letter IATA airline code + flight number | @flight | <segment flight="S73514S72048"> | |||
8 | Departure IATA airport code | 3-char IATA airport code | @origin | <segment origin="GDXAER"> | |||
9 | Fare code | String | @fareCode | <segment fareCode="DBSRTDBSOW"> | |||
10 | Class of service code | 1-char | @bookingCode | <segment bookingCode="D"> |
Anchor | ||||
---|---|---|---|---|
|
/result /
baggageincludedBaggage /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"83149e72-3ae0-4aa0-99be-ac52e22436a1"> | |||
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
includedBaggage /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 | 3Extra baggage option | Check Baggage optional service for more details | optionalService |
Anchor | ||||
---|---|---|---|---|
|
/result /baggage
includedBaggage /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="GVVNljGjEDQQv7Gec82f1e6b-efe9-451c-a178-efc83b237bda"/> |
Anchor |
---|
|
/result /baggage
includedBaggage /solution /pricing /carryOnBaggageAllowance /freeBaggageAllowance /bagDescriptor (Multiple)
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Commercial name | String | @commercialName | <bagDescriptor commercialName=" | GOLF EQUIPMENTCARRY ON UPTO15KG 55X40X23CM"> | |||||||||||
2 | Bags count | Integer, "0" for uncountable | @count | <bagDescriptor count="1"> | 3 | ATPCO service code | 3-letter ATPCO service code | @subcode | <bagDescriptor subcode=" | 0DC0L5"> | ||||||
4 | Service group code | 3-letter group code | @subgroup | <bagDescriptor subgroup="SP"> | ||||||||||||
5 | Description |
| description | <description>Up to 80 li/203 lcm</description> |
/result /baggage /solution /pricing /optionalService (Multiple)
Anchor | ||||
---|---|---|---|---|
|
/result /includedBaggage /solution /pricing /checkedBaggageAllowance /freeBaggageAllowance /bagDescriptor (Multiple)
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Commercial name | String | @commercialName | <commercialName="UPTO70LB 32KG AND80LI 203LCM"> | |||
2 | ATPCO service |
<optionalService commercialName="UPTO50LB 23KG AND80LI 203LCM">
<optionalService subcode="0GP">
<optionalService bagNumber="2">
<salePrice amount="2400"/>
<salePrice currency="RUB"/>
<saleDiscount amount="600"/>
<saleDiscount currency="RUB"/>
Multiplicity of segments means that service applied for all listed segments (not separately for each one)
<segment hash="GVVNljGjEDQQv7Ge"/>
/result /baggage /solution /slice (Multiple)
/result /baggage /solution /slice /segment (Multiple)
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example | ||||
---|---|---|---|---|---|---|---|---|---|---|---|
1 | Arrival IATA airportcode | 3- | char IATA airportletter ATPCO service code | @destination@subcode | <segment destination<subcode=" | OVB0FN"> | 2 | Marketing carrier IATA airline ID with flight number||||
3 | Count of services. | 2-letter IATA airline code + flight number | @flight | <segment flight="S73514Integer | @count | <count="2"> | 3|||||
4 | Segment hashDescription | 16-letter hash | @hash | <segment hash="GlZGdXqQ-J8e9i+N"/> | 4 | Departure IATA airport codeString | sbagDescriptor /description | <description>Up to 80 li/203 lcm</description> | |||
5 | Segment hash | 3-char IATA airport code | @origin | <segment origin="GDX"> |
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="4b31eeab-1169-4e13-a1b8-3505eca1fecd"/> |
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
fares /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
fares /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<destination="OVB"> | |||||
2 | Fare code | String | @fareCode | <segment fareCode<fareCode="DBSRT"/> | |||||
3 | Cabin | @cabin | <cabin="BUSINESS"> | ||||||
4 | Class of service code | 1-char | @bookingCode | <segment bookingCode<bookingCode="D"/> | 4|||||
5 | Fare family name |
| FLEX
|
| @brandText | <segment brandText<brandText="BASIC BUSINESS"/> | 5|||
6 | Marketing carrier IATA airline ID with flight number | 2-letter IATA airline code + flight number | @flight | <segment flight<flight="S73514"> | 6|||||
7 | Segment hash | 16-letter hash | @hash | <segment hash<hash=" | GlZGdXqQ-J8e9i+N2bfc755f-a84d-48ba-ad60-e0be9f335f71"/> | 7||||
8 | Departure IATA airport code | 3-char IATA airport code | @origin | <segment origin<origin="GDX"> |