Table of contents:

Check out

Parameters

Access. 
/Envelope /Body /ItinReshopRQ /Party /Sender /AgentUserSender

(warning) Use credentials that you received from our technical support. Check out Quick Start for how to get it
#DescriptionMandMultDefaultRef/FormatxPathExample (only for S7)
1PseudoCity(tick)(error)

PseudoCity
<PseudoCity>S7AGN8224</PseudoCity>
2AgentUserID(tick)(error)
ConstantAgentUserID
<AgentUserID>Basic-Auth*</AgentUserID>

*Basic-Auth is the login that you use for authorization in the S7 Agent API.

Main. 

/Envelope /Body /ItinReshopRQ

#

Description

Mand

Mult

Default

Ref/Format/Desc

xPath

Example

1

Version

(tick)

(error)

(error)

Use empty value. Do not affect results. Required by NDC Scheme validation only.

@Version 

<ItinReshopRQ Version="">
2

Document

(tick)

(error)

(error)

Use closed tag. Do not affect results. Required by NDC Scheme validation only.

Document 

<Document/>
3

ActionType

(tick)

(error)

(error)


Query /Reshop /Actions /ActionType

<ActionType/>
4Booking reference ID(tick)(error)(error)Booking PNRQuery /Reshop /Actions /BookingReferences/BookingReference/ID<ID>UXX22O</ID>
5Airline ID(tick)(error)(error)1A PNR airline IDQuery /Reshop /Actions /BookingReferences/BookingReference/AirlineID<AirlineID>S7</AirlineID>
6

OriginDestination

(tick)

(tick)

(error)

One for One Way trip, Two for Round Trip, etc. Check glossary for more info

Check OriginDestination for more input details

(warning) Flight details (excl. pricing) must be identical for all passengers, incl. fare details

Query /Reshop /Actions /OrderItems /OrderItem /FlightItem /OriginDestination

<OriginDestination> ... </OriginDestination>
7FareComponent(tick)(tick)(error)

Check FareComponent for more input details

Must be specified for each Flight (Segment)

Query /Reshop /Actions /OrderItems /OrderItem /FlightItem /FareDetail /FareComponent
<FareComponent> ... </FareComponent>
8Passenger References(tick)(tick)(error)

List of all passenger identifiers specified in Passenger  block

(warning) A multiple value must be entered in a single tag with a space delimiter — " "

Query /Reshop /Actions /OrderItems /OrderItem /Associations /Passengers /PassengerReferences
<PassengerReferences>SH1 SH2</PassengerReferences> 
9Passenger(tick)(tick)(error)Check Passenger for more input detailsQuery /Reshop /Actions /Passengers /Passenger
<Passenger> ... </Passenger> 

OriginDestination (Slice).
/Envelope /Body /ItinReshopRQ /Query /Reshop /Actions /OrderItems /OrderItem /FlightItem /OriginDestination (Multiple)

Use one OriginDestination tag for One Way trip, two for Round Trip and more for MultiCity

#

Description

Mand

Mult

Default

Ref/Format/Desc

xPath

Example

1

Flight (Segment)

(tick)

(tick)

(error)

One or more consecutive legs having the same flight number. Check glossary for more info

Check Flight (Segment) for more input details

Flight

<Flight> ... </Flight>

Flight (Segment). 
/Envelope /Body /ItinReshopRQ /Query /Reshop /Actions /OrderItems /OrderItem /FlightItem /OriginDestination /Flight (Multiple)

Do not specify more than one Flight tag for transit flights. Check glossary for more information about difference between journey, slice, segment and leg

#

Description

Mand

Mult

Default

Ref/Format/Desc

xPath

Example

1

Flight (Segment, FL) ID

(tick)(error)(error)

Use: a-Z, 0-9

Min: 1 char

SegmentKey

<SegmentKey>FL1</SegmentKey> 
2

Departure IATA airport code

(tick)

(error)

(error)

IATA airport code

Departure /AirportCode

<AirportCode>DME</AirportCode>
3

Departure Date

(tick)

(error)

(error)

Format: YYYY-MM-DD

Departure /Date

<Date>2019-09-20</Date>
4Departure Time(tick)(error)(error)Format: HH:MMDeparture /Time
<Time>12:25</Time>
5

Arrival IATA airport code

(tick)

(error)

(error)

IATA airport code

Arrival /AirportCode

<AirportCode>KUF</AirportCode>
6

Arrival Date

(tick)

(error)

(error)

Format: YYYY-MM-DD

Arrival /Date

<Date>2019-09-20</Date>
7Arrival Time(tick)(error) (error)Format: HH:MMArrival /Time
<Time>15:10</Time>
8

Marketing carrier IATA airline ID

(tick)

(error)

(error)

2-char IATA airline code

MarketingCarrier /AirlineID

<AirlineID>S7</AirlineID>
9

Marketing carrier flight number

(tick)

(error)

(error)

Use: 0-9

"0"s before number are accepted

MarketingCarrier /FlightNumber

<FlightNumber>3551</FlightNumber>
10Operating carrier IATA airline ID(tick)(error)(error)2-char IATA airline codeOperatingCarrier /AirlineID
<AirlineID>S7</AirlineID>
11Operating carrier flight number(tick)(error)(error)

Use: 0-9

"0"s before number are accepted

OperatingCarrier /FlightNumber
<FlightNumber>3551</FlightNumber>

FareComponent. 
/Envelope /Body /ItinReshopRQ /Query /Reshop /Actions /OrderItems /OrderItem /FlightItem /FareDetail /FareComponent (Multiple)

Validation note: FareComponent must be specified for every Flight tag in Flight (Segment) block
Fare code and RBD are specified for adult passenger

#

Description

Mand

Mult

Default

Ref/Format/Desc

xPath

Example

1Flight (Segment, SG) reference(tick)(error)(error)Reference to Flight specified in Flight (Segment) block@refs
<FareComponent @refs="FL1"> ... </FareComponent> 
2

Fare code

(tick)

(error)

(error)


Use: A-Z

FareBasis /FareBasisCode /Code

<Code>WFLRT</Code>
3

Class of service code (RBD)

(tick)

(error)

(error)

Use: 1-char A-Z

FareBasis /RBD

<RBD>W</RBD>

Passenger. 
/Envelope /Body /ItinReshopRQ /Query /Reshop /Actions /Passengers /Passenger (Multiple)

#

Description

Mand

Mult

Default

Ref/Format/Desc

xPath

Example

1

Passenger (SH) ID

(tick)

(error)

(error)

 Use: a-Z, 0-9

(warning) Passenger ObjectKey should be matched with OrderCreateRQ

@ObjectKey

<Passenger ObjectKey="SH2">
2

Passenger Type Code 

(tick)

(error)

(error)

  1. ZEA — Adult Employee/Retiree/Spouse
  2. ZEP - Parents
  3. ZES - Siblings
  4. ZEC — Child (2-12) and Infant with a seat
  5. ZEI — Infant (0-2)

Validation note: At least one ADT must be specified

PTC

<PTC Quantity="1">ADT</PTC>
3

Passenger Quantity

(tick)

(error)

"1"

Use: 1-9

Must be entered real quantity of passenger type— a total price depend on this value in reponse

Validation note:

  • ZEA/ZEP/ZES— 1..9
  • ZEC — 1..9
  • ZEI — 1..9
  • ZEA/ZEP/ZES+ZEC <= 9
  • ZEI <= ZEA/ZEP/ZES

PTC /@Quantity


<PTC Quantity="1">ADT</PTC>
4

Passenger Surname

(tick)

(error)

(error)

Use closed tag. Do not affect results. Required by NDC Scheme validation only.

Name /Surname

<Surname/>
  • No labels