You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1

Table of contents:

Check out

Parameters

Main. 
/Envelope /Body /ItinReshopRS

#DescriptionMandMultDefaultRef/Format/DescxPathExample
1Version(tick)(error)NULL

Static

@Version
<ItinReshopRS Version="">
2Document Name(tick)(error)1.0

Static

Required by NDC Scheme validation only

Document /Name
<Name>1.0</Name>
3Success flag(tick)(error)(error)Shows in case of success (If there're no errors in RS)Success
<Success/>
4ItinReshopProcessing flag(tick)(error)(error)Shows in case of success (If there're no errors in RS)Response /ItinReshopProcessing
<ItinReshopProcessing/>
5Passenger (SH)(tick)(tick)(error)Check Passenger (SH) for more output detailsResponse /Passengers /Passenger
<Passenger ObjectKey="SH1"> ... </Passenger>
6ReShopOffer (RO) ID(tick)(error)(error)

Static

Required by NDC Scheme validation only

Response /ReShopOffers /ReShopOffer /@ObjectKey
<ReShopOffer ObjectKey="RO1">
7Offer ID(tick)(error)(error)

Static

Required by NDC Scheme validation only

Response /ReShopOffers /ReShopOffer /OfferID
<OfferID Owner="S7">Offer</OfferID>
8Offer Owner(tick)(error)(error)

Static

Required by NDC Scheme validation only

Response /ReShopOffers /ReShopOffer /OfferID /@Owner="S7"
<OfferID Owner="S7">Offer</OfferID>
9Total price for all passengers in sale currency, amount(tick)(error)(error)

Decimal

Fare + Tax + Service fee

Response /ReShopOffers /ReShopOffer /TotalPrice /DetailCurrencyPrice /Total
<Total Code="RUB">37317</Total>
10Total price for all passengers in sale currency, currency code(tick)(error)"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>
11Total fare price for all passengers in sale currency, amount(tick)(error)(error)DecimalResponse /ReShopOffers /ReShopOffer /TotalPrice /DetailCurrencyPrice /Details /Detail /SubTotal
<SubTotal Code="RUB">23030</SubTotal>
12Total fare price for all passengers in sale currency, currency code(tick)(error)"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>
13Total tax price for all passengers in sale currency, amount(tick)(error)(error)DecimalResponse /ReShopOffers /ReShopOffer /TotalPrice /DetailCurrencyPrice /Taxes /Total
<Total Code="RUB">12807</Total>
14Total tax price for all passengers in sale currency, currency code(tick)(error)"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>
15Total service fee price for all passengers in sale currency, amount(tick)(error)(error)DecimalResponse /ReShopOffers /ReShopOffer /TotalPrice /DetailCurrencyPrice /Fees /Total
<Total Code="RUB">0</Total>
16Total service fee price for all passengers in sale currency, currency code(tick)(error)"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>
17OfferPrice (PTC pricing)(tick)(tick)(error)

Pricing for each PTC

Check OfferPrice (PTC pricing) for more output details

Response /ReShopOffers /ReShopOffer /ReShopPricedOffer /OfferPrice
<OfferPrice> ... </OfferPrice>
18FlightSegmentList(tick)(tick)(error)List of flight segments.

Check Flight (Segment) for more input details

DataList/FlightSegmentList<FlightSegmentList> ... </FlightSegmentList>
19OriginDestinationList(tick)(tick)(error)Check OriginDestination (Slice) for more output detailsDataList/OriginDestinationList<OriginDestinationList> ... </OriginDestinationList>
20TermsList (TL) ID(tick)(error)(error)

Static

Required by NDC Scheme validation only

Response /DataList /TermsList /@ListKey
<TermsList ListKey="TL1"> ... </TermsList>
21Term (T)(tick)(tick)(error)

Ticket validity for each PTC and each Segment (used in request of ticket issuing)

(warning) Number of tags will be reduced to number of segments

Check Term (T) for more output details

Response /DataList /TermsList /Term
<Term> ... </Term>

Passenger (SH). 
/Envelope /Body /ItinReshopRS /Response /Passengers /Passenger (Multiple)

#DescriptionMandMultDefaultRef/Format/DescxPathExample
1Passenger (SH) ID(tick)(error)(error)

"SH" + sequence number of passenger tag

(warning) Note: It will be mismatched with the request identifiers and used a different sequence of Passenger tags

@ObjectKey
<Passenger ObjectKey="SH1">
2Passenger Type Code(tick)(error)(error)
  • ADT — Adult

  • CHD — Child and Infant with a seat

  • 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
<PTC Quantity="1">ADT</PTC>
3Passenger Quantity(tick)(error)"1"Quantity of passengers with the same PTC valuePTC /@Quantity
<PTC Quantity="1">ADT</PTC>
4Passenger Surname(tick)(error)"Anonymous"

Static

Required by NDC Scheme validation only

Name /Surname
<Surname>Anonymous</Surname>

OfferPrice (PTC pricing)
/Envelope /Body /ItinReshopRS /Response /ReShopOffers /ReShopOffer /ReShopPricedOffer /OfferPrice

#DescriptionMandMultDefaultRef/Format/DescxPathExample
1Total price for all quantity of current PTC in sale currency, amount(tick)(error)(error)

Decimal

Fare + Tax + Service fee

RequestedDate /PriceDetail /TotalAmount /DetailCurrencyPrice /Total
<Total Code="RUB">37317</Total>
2Total price for all quantity of current PTC in sale currency, currency code(tick)(error)"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>
3Total fare price for all quantity of current PTC in sale currency, amount(tick)(error)(error)DecimalRequestedDate /PriceDetail /TotalAmount /DetailCurrencyPrice /Details /Detail /SubTotal
<SubTotal Code="RUB">23030</SubTotal>
4Total fare price for all quantity of current PTC in sale currency, currency code(tick)(error)"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>
5Total tax price for all quantity of current PTC in sale currency, amount(tick)(error)(error)DecimalRequestedDate /PriceDetail /TotalAmount /DetailCurrencyPrice /Taxes /Total
<Total Code="RUB">12807</Total>
6Total tax price for all quantity of current PTC in sale currency, currency code(tick)(error)"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>
7Total service fee price for all quantity of current PTC in sale currency, amount(tick)(error)(error)DecimalRequestedDate /PriceDetail /TotalAmount /DetailCurrencyPrice /Fees /Total
<Total Code="RUB">0</Total>
8Total service fee price for all quantity of current PTC in sale currency, currency code(tick)(error)"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>
9Total fare price for 1 of current PTC in sale currency, amount(tick)(error)(error)DecimalRequestedDate /PriceDetail /BaseAmount
<BaseAmount Code="RUB">6300</BaseAmount>
10Total fare price for 1 of current PTC in sale currency, currency code(tick)(error)"RUB"

3-char ISO 4217 currency code

"RUB" — the only sale currency for S7

RequestedDate /PriceDetail /BaseAmount /@Code
<BaseAmount Code="RUB">6300</BaseAmount>
11Total fare price for 1 of current PTC in original (filed) currency, amount(tick)(error)(error)DecimalRequestedDate /PriceDetail /FareFiledIn /BaseAmount
<BaseAmount Code="RUB">6300</BaseAmount>11
12Total fare price for 1 of current PTC in original (filed) currency, currency code(tick)(error)"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
13Total service fee price for 1 of current PTC, amount(tick)(error)(error)DecimalRequestedDate /PriceDetail /Surcharges /Surcharge /Total
<Total Code="RUB">0</Total>
14Total service fee price for 1 of current PTC, currency code(tick)(error)"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>
15Total tax price for 1 of current PTC, amount(tick)(error)(error)DecimalRequestedDate /PriceDetail /Taxes /Total
<Total Code="RUB">12807</Total>
16Total tax price for 1 of current PTC, currency code(tick)(error)"RUB"

3-char ISO 4217 currency code

"RUB" — the only sale currency for S7

RequestedDate /PriceDetail /Taxes /Total /@Code
<Total Code="RUB">12807</Total>
17Tax(error)(tick)(error)

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>
18Passenger (SH) references(tick)(tick)(error)

Passenger identifier specified in Passenger (SH) block

(warning) Passenger IDs will be mismatched with the request identifiers and used a different sequence of Passenger tags

RequestedDate /Associations /AssociatedTraveler /TravelerReferences
<TravelerReferences>SH2</TravelerReferences>
19Term (T) references


List of validity identifiers specified in Term (T) block

(warning) A multiple value shows as a single tag with a space delimiter — " "

(warning) The same for all PTC — Number of tags will be reduced to number of segments

RequestedDate /Associations /OfferDetailAssociation /OfferTermReferences
<OfferTermReferences>T1 T2</OfferTermReferences>
20FareComponent (tick)(tick)(error)Check FareComponent for more input detailsFareDetail /FareComponent
<FareComponent> ... </FareComponent>

Tax
/Envelope /Body /ItinReshopRS /Response /ReShopOffers /ReShopOffer /ReShopPricedOffer /OfferPrice /RequestedDate /PriceDetail /Taxes /Breakdown /Tax

#DescriptionMandMultDefaultRef/Format/DescxPathExample
1Tax price in original (filed) currency, amount(tick)(error)(error)DecimalAmount
<Amount Code="RUB">1500</Amount>
2Tax price  in original (filed) currency, currency code(tick)(error)(error)3-char ISO 4217 currency codeAmount /@Code
<Amount Code="RUB">1500</Amount>
3Tax code(tick)(error)(error)2-char, A-ZTaxCode
<TaxCode>YR</TaxCode>

FareComponent
/Envelope /Body /ItinReshopRS /Response /ReShopOffers /ReShopOffer /ReShopPricedOffer /OfferPrice /FareDetail /FareComponent

#DescriptionMandMultDefaultRef/Format/DescxPathExample
1Flight (Segment) reference(tick)(error)(error)Segment identifier specified in Flight (Segment) blockSegmentReference
<SegmentReference>SEG1</SegmentReference>
2Fare code(tick)(error)(error)
FareBasis /FareBasisCode /Code
<Code>YFLRT</Code>
3Fare basis (RBD)(tick)(error)(error)


4Child/infant discount, amount (Ticket designator)(error)(error)(error)

Used for ticket issuing

Decimal

TicketDesig
<TicketDesig Application="IN">90</TicketDesig>
5Child/infant discount, code (Ticket designator)(error)(error)(error)

Used for ticket issuing

  • IN — for Infant in a lap
  • CH — for Child
TicketDesig /@Application
<TicketDesig Application="IN">90</TicketDesig>
6Restrictions of fare application(error)(error)(error)

Static

Required by NDC Scheme validation only

FareRules /Ticketing /Endorsements /Endorsement


<Endorsement>ENDO</Endorsement>
7

Unstructured fare calculation line

(tick)(error)(error)

Static

Required by NDC Scheme validation only

FareRules /Remarks /Remark


<Remark>UnstructuredFareCalc</Remark>

Flight (Segment)
/Envelope /Body /ItinReshopRS /Response /DataList/FlightSegmentList/FlightSegment

#DescriptionMandMultDefaultRef/Format/DescxPathExample
1Flight (Segment, SEG) reference(tick)(error)(error)

"SEG" + sequence number of segment tag

(warning) Note: It will be mismatched with the request identifiers

@SegmentKey
<FlightSegment  @SegmentKey="SEG1">
2Departure IATA airport code(tick)(error)(error)IATA airport codeDeparture /AirportCode
<AirportCode>DME</AirportCode>
3Departure date (local)(tick)(error)(error)Format: YYYY-MM-DDDeparture /Date
<Date>2019-09-20</Date>
4Departure time (local)(tick)(error)(error)

Format: HH:MM

Departure /Time
<Time>12:25</Time>
5Arrival IATA airport code(tick)(error)(error)IATA airport codeArrival /AirportCode
<AirportCode>KUF</AirportCode>
6Arrival date (local)(tick)(error)(error)Format: YYYY-MM-DDArrival /Date
<Date>2019-09-20</Date>
7Arrival time (local)(tick)(error)(error)

Format: HH:MM

Arrival /Time
<Time>15:10</Time>
8Marketing carrier IATA airline code(tick)(error)(error)

IATA airline code

MarketingCarrier /AirlineID
<AirlineID>S7</AirlineID>
9Marketing carrier flight number(tick)(error)(error)

Integer

All "0"s before the number will be excluded

MarketingCarrier /FlightNumber
<FlightNumber>3507</FlightNumber>
10Operating carrier IATA airline code(tick)(error)(error)IATA airline codeOperatingCarrier /AirlineID<AirlineID>S7</AirlineID>
11Operating carrier flight number(tick)(error)(error)

Integer

All "0"s before the number will be excluded

OperatingCarrier/FlightNumber<FlightNumber>3507</FlightNumber>

OriginDestination (Slice)
/Envelope /Body /ItinReshopRS /Response /DataList/OriginDestinationList/OriginDestination 

#DescriptionMandMultDefaultRef/Format/DescxPathExample
1OriginDestination  (Slice) reference(tick)(error)(error)

"OD" + sequence number of slice

@OriginDestinationKey
<OriginDestination OriginDestinationKey="OD1">
2Departure IATA airport code(tick)(error)(error)IATA airport codeOriginDestination /DepartureCode
<AirportCode>DME</AirportCode>
3Arrival IATA airport code(tick)(error)(error)IATA airport codeOriginDestination /DepartureCode
<AirportCode>KUF</AirportCode>
4FlightReferences(tick)(error)(error)


OperatingCarrier/ArrivalCode<FlightReferences>SEG1</FlightReferences>

Term (T).
/Envelope /Body /ItinReshopRS /Response /DataList /TermsList /Term

#DescriptionMandMultDefaultRef/Format/DescxPathExample
1Term (T) ID(tick)(error)(error)"T" + sequence number of Term tag@ObjectKey
<Term refs="SEG1" ObjectKey="T1">
2Flight (Segment) reference(tick)(error)(error)Segment identifier specified in Flight (Segment) block@refs
<Term refs="SEG1" ObjectKey="T1">
3Start date of ticket validity(error)(error)(error)

Static

Required by NDC Scheme validation only

AvailablePeriod /Earliest 
<Earliest/>
4End date of ticket validity(error)(error)(error)

Static

Required by NDC Scheme validation only

AvailablePeriod /Latest 

<Latest/>
  • No labels