# | 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 | Order ID | ![]() | ![]() | "Order" | Static Required by NDC Scheme validation only | Response /Order /OrderID | <OrderID Owner="S7">Order</OrderID> |
7 | Order Owner | ![]() | ![]() | "S7" | Static Required by NDC Scheme validation only | Response /Order /OrderID /@Owner | <OrderID Owner="S7">Order</OrderID> |
8 | BookingReference ID | ![]() | ![]() | ![]() | Booking PNR | Response/Order/BookingReferences/BookingReference/ID | <ID>N39VQH</ID> |
9 | Airline ID | ![]() | ![]() | "S7" | 1A PNR airline ID | Response/Order/BookingReferences/BookingReference/AirlineID |
|
10 | OrderItem ID | ![]() | ![]() | "OrderItem" | Static Required by NDC Scheme validation only | Response /Order /OrderItems /OrderItem /OrderItemID | <OrderItemID Owner="S7">OrderItem</OrderItemID> |
11 | OrderItem Owner | ![]() | ![]() | "S7" | Static Required by NDC Scheme validation only | Response /Order /OrderItems /OrderItem /OrderItemID /@Owner="S7" | <OrderItemID Owner="S7">OrderItem</OrderItemID> |
12 | ReShopOffer (RO) ID | ![]() | ![]() | ![]() | Static Required by NDC Scheme validation only | Response /ReShopOffers /ReShopOffer /@ObjectKey | <ReShopOffer ObjectKey="RO1"> |
13 | Offer ID | ![]() | ![]() | ![]() | Static Required by NDC Scheme validation only | Response /ReShopOffers /ReShopOffer /OfferID | <OfferID Owner="S7">Offer</OfferID> |
14 | Offer Owner | ![]() | ![]() | ![]() | Static Required by NDC Scheme validation only | Response /ReShopOffers /ReShopOffer /OfferID /@Owner="S7" | <OfferID Owner="S7">Offer</OfferID> |
15 | 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> | |||
16 | 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> | ||
17 | Total fare price for all passengers in sale currency, amount | Decimal | Response /ReShopOffers /ReShopOffer /TotalPrice /DetailCurrencyPrice /Details /Detail /SubTotal | <SubTotal Code="RUB">23030</SubTotal> | |||
18 | 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> | ||
19 | Total tax price for all passengers in sale currency, amount | Decimal | Response /ReShopOffers /ReShopOffer /TotalPrice /DetailCurrencyPrice /Taxes /Total | <Total Code="RUB">12807</Total> | |||
20 | 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> | ||
21 | Total service fee price for all passengers in sale currency, amount | Decimal | Response /ReShopOffers /ReShopOffer /TotalPrice /DetailCurrencyPrice /Fees /Total | <Total Code="RUB">0</Total> | |||
22 | 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> | ||
23 | OfferPrice (PTC pricing) | Pricing for each PTC Check OfferPrice (PTC pricing) for more output details | Response /ReShopOffers /ReShopOffer /ReShopPricedOffer /OfferPrice | <OfferPrice> ... </OfferPrice> | |||
24 | FlightSegmentList | List of flight segments. Check Flight (Segment) for more input details | DataList/FlightSegmentList | <FlightSegmentList> ... </FlightSegmentList> | |||
25 | OriginDestinationList | Check OriginDestination (Slice) for more output details | DataList/OriginDestinationList | <OriginDestinationList> ...</OriginDestinationList> | |||
26 | TermsList (TL) ID | ![]() | ![]() | ![]() | Static Required by NDC Scheme validation only | Response /DataList /TermsList /@ListKey | <TermsList ListKey="TL1"> ... </TermsList> |
27 | 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> |
# | 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> |
# | 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 | ItinReshopRS | v0.52 | reprice with PNR operation#FareComponent | Check FareComponent for more input details | FareDetail /FareComponent | <FareComponent> ... </FareComponent> |
# | 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> |
# | 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 |
| |
7 | Unstructured fare calculation line | ![]() | ![]() | ![]() | Static Required by NDC Scheme validation only | FareRules /Remarks /Remark |
|
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Flight (Segment, SEG) reference | ![]() | ![]() | ![]() | "SEG" + sequence number of segment tag
| @SegmentKey | <FlightSegment @SegmentKey="SEG1"> |
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> |
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | OriginDestination (Slice) reference | ![]() | ![]() | ![]() | "OD" + sequence number of slice | @OriginDestinationKey | <OriginDestination OriginDestinationKey="OD1"> |
2 | Departure IATA airport code | ![]() | ![]() | ![]() | IATA airport code | OriginDestination /DepartureCode | <AirportCode>DME</AirportCode> |
3 | Arrival IATA airport code | ![]() | ![]() | ![]() | IATA airport code | OriginDestination /DepartureCode | <AirportCode>KUF</AirportCode> |
4 | FlightReferences | ![]() | ![]() | ![]() | OperatingCarrier/ArrivalCode | <FlightReferences>SEG1</FlightReferences> |
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Term (T) ID | ![]() | ![]() | ![]() | "T" + sequence number of Term tag | @ObjectKey | <Term refs="SEG1" ObjectKey="T1"> |
2 | Flight (Segment) reference | ![]() | ![]() | ![]() | Segment identifier specified in Flight (Segment) block | @refs | <Term refs="SEG1" ObjectKey="T1"> |
3 | Start date of ticket validity | Static Required by NDC Scheme validation only | AvailablePeriod /Earliest |
| |||
4 | End date of ticket validity | Static Required by NDC Scheme validation only | AvailablePeriod /Latest |
|