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 | OriginDestination (Slice) | Check 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 | 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> |
Passenger (SH).
/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> |
Flight (Segment).
/Envelope /Body /ItinReshopRS /Response /DataList/FlightSegmentList/FlightSegment
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Flight (Segment, SEG) ID | "SEG" + sequence number of segment tag
| SegmentKey | <SegmentKey>SEG1</SegmentKey> | |||
2 | Departure IATA airport code | IATA airport code | Departure /AirportCode | <AirportCode>DME</AirportCode> | |||
3 | Departure date (local) | Format: YYYY-MM-DD | Departure /Date | <Date>2019-09-20</Date> | |||
4 | Departure time (local) | Format: HH:MM | Departure /Time | <Time>12:25</Time> | |||
5 | Arrival IATA airport code | IATA airport code | Arrival /AirportCode | <AirportCode>KUF</AirportCode> | |||
6 | Arrival date (local) | Format: YYYY-MM-DD | Arrival /Date | <Date>2019-09-20</Date> | |||
7 | Arrival time (local) | Format: HH:MM | Arrival /Time | <Time>15: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> |
OfferPrice (PTC pricing).
/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 | Tax | Shows only if amount of total tax price for 1 of current PTC isn't equal to "0" Check Tax for more input details | RequestedDate /PriceDetail /Taxes /Breakdown /Tax | <Tax> ... </Tax> | |||
18 | Passenger (SH) references | Passenger identifier specified in Passenger (SH) block
| RequestedDate /Associations /AssociatedTraveler /TravelerReferences | <TravelerReferences>SH2</TravelerReferences> | |||
19 | Term (T) references | List of validity identifiers specified in Term (T) block
| RequestedDate /Associations /OfferDetailAssociation /OfferTermReferences | <OfferTermReferences>T1 T2</OfferTermReferences> | |||
20 | FareComponent | Check FareComponent for more input details | FareDetail /FareComponent | <FareComponent> ... </FareComponent> |
Tax.
/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> |
FareComponent.
/Envelope /Body /ItinReshopRS /Response /ReShopOffers /ReShopOffer /ReShopPricedOffer /OfferPrice /FareDetail /FareComponent
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Flight (Segment) reference | Segment identifier specified in Flight (Segment) block | SegmentReference | <SegmentReference>SEG1</SegmentReference> | |||
2 | Fare code | FareBasis /FareBasisCode /Code | <Code>YFLRT</Code> | ||||
3 | Fare basis (RBD) | ||||||
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 | Static Required by NDC Scheme validation only | FareRules /Remarks /Remark | <Remark>UnstructuredFareCalc</Remark> |
Term (T).
/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 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"/> |