Parameters
Main.
/Envelope /Body /ItinReshopRS
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Version | NULL | Static
| @Version | <ItinReshopRS Version=""> | ||
2 | Document Name | 1.0 | Static Required by NDC Scheme validation only | Document /Name |
| ||
3 | Success flag | Shows in case of success (If there're no errors in RS) | Success | <Success/> | |||
4 | ItinReshopProcessing flag | Shows in case of success (If there're no errors in RS) | Response /ItinReshopProcessing | <ItinReshopProcessing/> | |||
5 | Passenger (SH) | Check Passenger (SH) for more output details | Response /Passengers /Passenger | <Passenger ObjectKey="SH1"> ... </Passenger> | |||
6 | 1165066241OriginDestination (Slice) | Check 1165066241 OriginDestination (Slice) for more output details | Response /Order /OrderItems /OrderItem /FlightItem /OriginDestination | <OriginDestination> ... </OriginDestination> | |||
7 | ReShopOffer (RO) ID | Static Required by NDC Scheme validation only | Response /ReShopOffers /ReShopOffer /@ObjectKey | <ReShopOffer ObjectKey="RO1"> | |||
8 | Offer ID | Static Required by NDC Scheme validation only | Response /ReShopOffers /ReShopOffer /OfferID | <OfferID Owner="S7">Offer</OfferID> | |||
9 | Offer Owner | Static Required by NDC Scheme validation only | Response /ReShopOffers /ReShopOffer /OfferID /@Owner="S7" | <OfferID Owner="S7">Offer</OfferID> | |||
10 | Total price for all passengers in sale currency, amount | Decimal Fare + Tax + Service fee | Response /ReShopOffers /ReShopOffer /TotalPrice /DetailCurrencyPrice /Total | <Total Code="RUB">37317</Total> | |||
11 | Total price for all passengers in sale currency, currency code | "RUB" | 3-char ISO 4217 currency code "RUB" — the only sale currency for S7 | Response /ReShopOffers /ReShopOffer /TotalPrice /DetailCurrencyPrice /Total /@Code | <Total Code="RUB">37317</Total> | ||
12 | Total fare price for all passengers in sale currency, amount | Decimal | Response /ReShopOffers /ReShopOffer /TotalPrice /DetailCurrencyPrice /Details /Detail /SubTotal | <SubTotal Code="RUB">23030</SubTotal> | |||
13 | Total fare price for all passengers in sale currency, currency code | "RUB" | 3-char ISO 4217 currency code "RUB" — the only sale currency for S7 | Response /ReShopOffers /ReShopOffer /TotalPrice /DetailCurrencyPrice /Details /Detail /SubTotal /@Code | <SubTotal Code="RUB">23030</SubTotal> | ||
14 | Total tax price for all passengers in sale currency, amount | Decimal | Response /ReShopOffers /ReShopOffer /TotalPrice /DetailCurrencyPrice /Taxes /Total | <Total Code="RUB">12807</Total> | |||
15 | Total tax price for all passengers in sale currency, currency code | "RUB" | 3-char ISO 4217 currency code "RUB" — the only sale currency for S7 | Response /ReShopOffers /ReShopOffer /TotalPrice /DetailCurrencyPrice /Taxes /Total /@Code | <Total Code="RUB">12807</Total> | ||
16 | Total service fee price for all passengers in sale currency, amount | Decimal | Response /ReShopOffers /ReShopOffer /TotalPrice /DetailCurrencyPrice /Fees /Total | <Total Code="RUB">0</Total> | |||
17 | Total service fee price for all passengers in sale currency, currency code | "RUB" | 3-char ISO 4217 currency code "RUB" — the only sale currency for S7 | Response /ReShopOffers /ReShopOffer /TotalPrice /DetailCurrencyPrice /Fees /Total /@Code | <Total Code="RUB">0</Total> | ||
18 | OfferPrice (PTC pricing) | Pricing for each PTC Check OfferPrice (PTC pricing) for more output details | Response /ReShopOffers /ReShopOffer /ReShopPricedOffer /OfferPrice | <OfferPrice> ... </OfferPrice> | |||
19 | TermsList (TL) ID | Static Required by NDC Scheme validation only | Response /DataList /TermsList /@ListKey | <TermsList ListKey="TL1"> ... </TermsList> | |||
20 | 1165066241 | Ticket validity for each PTC and each Segment (used in request of ticket issuing)
Check 1165066241 for more output details | Response /DataList /TermsList /Term | <Term> ... </Term> |
FlightSegmentList | List of flight segments. Check Flight (Segment) for more input details | DataList/FlightSegmentList | <FlightSegmentList> ... </FlightSegmentList> | ||||
20 | OriginDestinationList | Check OriginDestination (Slice) for more output details | DataList/OriginDestinationList | <OriginDestinationList> ... </OriginDestinationList> | |||
21 | TermsList (TL) ID | Static Required by NDC Scheme validation only | Response /DataList /TermsList /@ListKey | <TermsList ListKey="TL1"> ... </TermsList> | |||
22 | Term (T) | Ticket validity for each PTC and each Segment (used in request of ticket issuing)
Check Term (T) for more output details | Response /DataList /TermsList /Term | <Term> ... </Term> |
Anchor | ||||
---|---|---|---|---|
|
/Envelope /Body /ItinReshopRS /Response /Passengers /Passenger (Multiple)
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Passenger (SH) ID | "SH" + sequence number of passenger tag
| @ObjectKey | <Passenger ObjectKey="SH1"> | |||
2 | Passenger Type Code |
If several Passenger tags with the same PTC were specified in request — they will be merged into one with summed quantity in response | PTC | <PTC Quantity="1">ADT</PTC> | |||
3 | Passenger Quantity | "1" | Quantity of passengers with the same PTC value | PTC /@Quantity | <PTC Quantity="1">ADT</PTC> | ||
4 | Passenger Surname | "Anonymous" | Static Required by NDC Scheme validation only | Name /Surname | <Surname>Anonymous</Surname> |
/Envelope /Body /ItinReshopRS /Response /Passengers /Passenger (Multiple)
"SH" + sequence number of passenger tag
Note: It will be mismatched with the request identifiers and used a different sequence of Passenger tags
<Passenger ObjectKey="SH1">
ADT — Adult
CHD — Child
INF — Infant in a Lap
If several Passenger tags with the same PTC were specified in request — they will be merged into one with summed quantity in response
<PTC Quantity="1">ADT</PTC>
<PTC Quantity="1">ADT</PTC>
Static
Required by NDC Scheme validation only
<Surname>Anonymous</Surname>
/Envelope /Body /ItinReshopRS /Response /Order /OrderItems /OrderItem /FlightItem /OriginDestination (Multiple)
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | 1165066241 | One or more consecutive legs having the same flight number. Check glossary for more info. Check 1165066241 for more input details | Flight | <Flight> ... </Flight> |
Anchor | ||||
---|---|---|---|---|
|
/Envelope /Body /ItinReshopRS /Response /Order
DataList/
OrderItems /OrderItem /FlightItem /OriginDestination /Flight (Multiple)FlightSegmentList/FlightSegment
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example | |
---|---|---|---|---|---|---|---|---|
1 | Flight (Segment, SEG) ID | "SGSEG" + sequence number of segment tag
| SegmentKey | <SegmentKey>SG1<<SegmentKey>SEG1</SegmentKey> | ||||
2 | Departure IATA airport code | IATA airport code | Departure /AirportCode | <AirportCode>OVB<<AirportCode>DME</AirportCode> | ||||
3 | Departure date (local) | Format: YYYY-MM-DD | Departure /Date | <Date>2016<Date>2019-0809-21<20</Date> | ||||
4 | Departure time (local) | "00:00" | Format: HH:MM Static Required by NDC Scheme validation only | Departure /Time | <Time>00<Time>12:00<25</Time> | |||
5 | Arrival IATA airport code | IATA airport code | Arrival /AirportCode | <AirportCode>KHV<<AirportCode>KUF</AirportCode> | ||||
6 | Arrival date (local) | Format: YYYY-MM-DD | Arrival /Date | <Date>2016<Date>2019-0809-24<20</Date> | ||||
7 | Arrival time (local) | "00:00" | Format: HH:MM Static Required by NDC Scheme validation only | Arrival /Time | <Time>00<Time>15:00<10</Time> | |||
8 | Marketing carrier IATA airline code | IATA airline code | MarketingCarrier /AirlineID | <AirlineID>S7</AirlineID> | ||||
9 | Marketing carrier flight number | Integer All "0"s before the number will be excluded | MarketingCarrier /FlightNumber | <FlightNumber>3507</FlightNumber> | ||||
10 | Operating carrier IATA airline code | IATA airline code | OperatingCarrier /AirlineID | <AirlineID>S7</AirlineID> | ||||
11 | Operating carrier flight number | Integer All "0"s before the number will be excluded | OperatingCarrier/FlightNumber | <FlightNumber>3507</FlightNumber> |
Anchor | |||
---|---|---|---|
| |||
Anchor | |||
|
/Envelope /Body /ItinReshopRS /Response /ReShopOffers /ReShopOffer /ReShopPricedOffer /OfferPrice
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Total price for all quantity of current PTC in sale currency, amount | Decimal Fare + Tax + Service fee | RequestedDate /PriceDetail /TotalAmount /DetailCurrencyPrice /Total | <Total Code="RUB">37317</Total> | |||
2 | Total price for all quantity of current PTC in sale currency, currency code | "RUB" | 3-char ISO 4217 currency code "RUB" — the only sale currency for S7 | RequestedDate /PriceDetail /TotalAmount /DetailCurrencyPrice /Total /@Code | <Total Code="RUB">37317</Total> | ||
3 | Total fare price for all quantity of current PTC in sale currency, amount | Decimal | RequestedDate /PriceDetail /TotalAmount /DetailCurrencyPrice /Details /Detail /SubTotal | <SubTotal Code="RUB">23030</SubTotal> | |||
4 | Total fare price for all quantity of current PTC in sale currency, currency code | "RUB" | 3-char ISO 4217 currency code "RUB" — the only sale currency for S7 | RequestedDate /PriceDetail /TotalAmount /DetailCurrencyPrice /Details /Detail /SubTotal /@Code | <SubTotal Code="RUB">23030</SubTotal> | ||
5 | Total tax price for all quantity of current PTC in sale currency, amount | Decimal | RequestedDate /PriceDetail /TotalAmount /DetailCurrencyPrice /Taxes /Total | <Total Code="RUB">12807</Total> | |||
6 | Total tax price for all quantity of current PTC in sale currency, currency code | "RUB" | 3-char ISO 4217 currency code "RUB" — the only sale currency for S7 | RequestedDate /PriceDetail /TotalAmount /DetailCurrencyPrice /Taxes /Total /@Code | <Total Code="RUB">12807</Total> | ||
7 | Total service fee price for all quantity of current PTC in sale currency, amount | Decimal | RequestedDate /PriceDetail /TotalAmount /DetailCurrencyPrice /Fees /Total | <Total Code="RUB">0</Total> | |||
8 | Total service fee price for all quantity of current PTC in sale currency, currency code | "RUB" | 3-char ISO 4217 currency code "RUB" — the only sale currency for S7 | RequestedDate /PriceDetail /TotalAmount /DetailCurrencyPrice /Fees /Total /@Code | <Total Code="RUB">0</Total> | ||
9 | Total fare price for 1 of current PTC in sale currency, amount | Decimal | RequestedDate /PriceDetail /BaseAmount | <BaseAmount Code="RUB">6300</BaseAmount> | |||
10 | Total fare price for 1 of current PTC in sale currency, currency code | "RUB" | 3-char ISO 4217 currency code "RUB" — the only sale currency for S7 | RequestedDate /PriceDetail /BaseAmount /@Code | <BaseAmount Code="RUB">6300</BaseAmount> | ||
11 | Total fare price for 1 of current PTC in original (filed) currency, amount | Decimal | RequestedDate /PriceDetail /FareFiledIn /BaseAmount | <BaseAmount Code="RUB">6300</BaseAmount>11 | |||
12 | Total fare price for 1 of current PTC in original (filed) currency, currency code | "RUB" | 3-char ISO 4217 currency code "RUB" — the only sale currency for S7 | RequestedDate /PriceDetail /FareFiledIn /BaseAmount /@Code | <BaseAmount Code="RUB">6300</BaseAmount>11 | ||
13 | Total service fee price for 1 of current PTC, amount | Decimal | RequestedDate /PriceDetail /Surcharges /Surcharge /Total | <Total Code="RUB">0</Total> | |||
14 | Total service fee price for 1 of current PTC, currency code | "RUB" | 3-char ISO 4217 currency code "RUB" — the only sale currency for S7 | RequestedDate /PriceDetail /Surcharges /Surcharge /Total /@Code | <Total Code="RUB">0</Total> | ||
15 | Total tax price for 1 of current PTC, amount | Decimal | RequestedDate /PriceDetail /Taxes /Total | <Total Code="RUB">12807</Total> | |||
16 | Total tax price for 1 of current PTC, currency code | "RUB" | 3-char ISO 4217 currency code "RUB" — the only sale currency for S7 | RequestedDate /PriceDetail /Taxes /Total /@Code | <Total Code="RUB">12807</Total> | ||
17 | 1165066241Tax | Shows only if amount of total tax price for 1 of current PTC isn't equal to "0" Check 1165066241Tax for more input details | RequestedDate /PriceDetail /Taxes /Breakdown /Tax | <Tax> ... </Tax> | |||
18 | 1165066241Passenger (SH) references | Passenger identifier specified in 1165066241 Passenger (SH) block
| RequestedDate /Associations /AssociatedTraveler /TravelerReferences | <TravelerReferences>SH2</TravelerReferences> | |||
19 | 1165066241Term (T) references | List of validity identifiers specified in 1165066241 Term (T) block
| RequestedDate /Associations /OfferDetailAssociation /OfferTermReferences | <OfferTermReferences>T1 T2</OfferTermReferences> | |||
20 | 1165066241FareComponent | Check 1165066241FareComponent for more input details | FareDetail /FareComponent | <FareComponent> ... </FareComponent> |
Anchor | ||||
---|---|---|---|---|
|
/Envelope /Body /ItinReshopRS /Response /ReShopOffers /ReShopOffer /ReShopPricedOffer /OfferPrice /RequestedDate /PriceDetail /Taxes /Breakdown /Tax
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Tax price in original (filed) currency, amount | Decimal | Amount | <Amount Code="RUB">1500</Amount> | |||
2 | Tax price in original (filed) currency, currency code | 3-char ISO 4217 currency code | Amount /@Code | <Amount Code="RUB">1500</Amount> | |||
3 | Tax code | 2-char, A-Z | TaxCode | <TaxCode>YR</TaxCode> |
/Envelope /Body /ItinReshopRS /Response /ReShopOffers /ReShopOffer /ReShopPricedOffer /OfferPrice /FareDetail /FareComponent
<SegmentReference>SG1</SegmentReference>
Can be replaced by another code in some cases:
- expiration/launching of fare in the moment between searching for itinerary solutions and reprice operation, e.g. you found a transfer solution with two one-way fare for each segment, but transfer fare had been launched for this route just before repricing
- the fare was sold out, so the reservation system suggests the cheapest combinable fare for requested itinerary
In that case you must to use:
- the new fare codes and price details for ticket issue
- and the new total price for payment charge
<Code>CBSOW</Code>
Used for ticket issuing
Decimal
<TicketDesig Application="IN">90</TicketDesig>
Used for ticket issuing
- IN — for Infant in a lap
- CH — for Child
<TicketDesig Application="IN">90</TicketDesig>
Used for ticket issuing
Shows only of restrictions are exist
The same for the whole itinerary (will be changed to the single value)
In case the previous tag isn't displayed, the sequence of current tag will decrease
Known issue: the value duplicates as many segments in the itinerary
<Endorsement>s7 only/non-ref/chng/restr</Endorsement>
Used for ticket issuing
Shows only for domestic S7 flights
The same for the whole itinerary (will be changed to the single value)
In case the previous tag isn't displayed, the sequence of current tag will decrease
Known issue: the value duplicates as many segments in the itinerary
<Endorsement>INCL VAT 4136.36RUB</Endorsement>
Used for ticket issuing
Shows only if fare original (filed) currency (e.g. "EUR") not equal to S7 sale currency ("RUB")
The same for the whole itinerary (will be changed to the single value)
In case the previous tag isn't displayed, the sequence of current tag will decrease
Known issue: the value duplicates as many segments in the itinerary
<Endorsement>1EUR-70RUB</Endorsement>
Unstructured fare calculation line
Allows to see fare construction
Used for ticket issuing
The same for the whole itinerary (will be changed to the single value)
<Remark>ovb s7 khv44000rub44000end</Remark>
1 | Tax price in original (filed) currency, amount | Decimal | Amount | <Amount Code="RUB">1500</Amount> | |||
2 | Tax price in original (filed) currency, currency code | 3-char ISO 4217 currency code | Amount /@Code | <Amount Code="RUB">1500</Amount> | |||
3 | Tax code | 2-char, A-Z | TaxCode | <TaxCode>YR</TaxCode> |
Anchor | ||||
---|---|---|---|---|
|
.
/Envelope /Body /ItinReshopRS
/Response /DataList /CheckedBagAllowanceList /CheckedBagAllowance/Response /ReShopOffers /ReShopOffer /ReShopPricedOffer /OfferPrice /FareDetail /FareComponent
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Checked baggage allowanceFlight ( | BGSegment) | IDreference | "BG" + sequence number of CheckedBagAllowance tag | @ListKey | <CheckedBagAllowance refs="SG1" ListKey="BG1"> | Segment identifier specified in Flight (Segment) block | SegmentReference | <SegmentReference>SEG1</SegmentReference> | ||||
2 | Fare code | FareBasis /FareBasisCode /Code | <Code>YFLRT</Code> | ||||||||||
3 | Fare basis (RBD) | 2 | Flight (Segment) reference | Segment identifier specified in 1165066241 block | @refs | <CheckedBagAllowance refs="SG1" ListKey="BG1"> | |||||||
3 | Application | "Traveller" | Static Describes for whom the baggage allowance quantity applies | PieceAllowance /ApplicableParty | <ApplicableParty>Traveller</ApplicableParty> | ||||||||
4 | Checked baggage quantity | Integer | PieceAllowance /TotalQuantity | <TotalQuantity>1</TotalQuantity> | |||||||||
5 | Checked baggage quantity with unit of measure (UOM) | Integer + "PC"
| PieceAllowance /Descriptions /Description /Text | <Text>1PC</Text> | |||||||||
4 | Child/infant discount, amount (Ticket designator) | Used for ticket issuing Decimal | TicketDesig | <TicketDesig Application="IN">90</TicketDesig> | |||||||||
5 | Child/infant discount, code (Ticket designator) | Used for ticket issuing
| TicketDesig /@Application | <TicketDesig Application="IN">90</TicketDesig> | |||||||||
6 | Restrictions of fare application | Static Required by NDC Scheme validation only | FareRules /Ticketing /Endorsements /Endorsement | <Endorsement>ENDO</Endorsement> | |||||||||
7 | Unstructured fare calculation line | 6 | Checked baggage quantityInteger
| PieceAllowance /PieceMeasurements /@Quantity | <PieceMeasurements Quantity="1"/>Static Required by NDC Scheme validation only | FareRules /Remarks /Remark | <Remark>UnstructuredFareCalc</Remark> |
Anchor | ||||
---|---|---|---|---|
|
/Envelope /Body /ItinReshopRS /Response /DataList /TermsList /Term
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Term (T) ID | "T" + sequence number of Term tag | @ObjectKey | <Term refs="SG1" ObjectKey="T1"> | |||
2 | Flight (Segment) reference | Segment identifier specified in 1165066241 Flight (Segment) block | @refs | <Term refs="SG1" ObjectKey="T1"> | |||
3 | Start date of ticket validity | Used for fare rules application In case value isn't specified shows closed Earliest tag without params | AvailablePeriod /Earliest /@ShortDate | <Earliest ShortDate="2018-12-09"/> | |||
4 | End date of ticket validity | Used for fare rules application In case value isn't specified shows closed Latest tag without params | AvailablePeriod /Latest /@ShortDate | <Latest ShortDate="2018-12-09"/> |