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

Compare with Current View Page History

« Previous Version 4 Next »

Table of contents:

Check out

Parameters

Access. 
/Envelope /Body /AirShoppingRQ /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>test</AgentUserID>

Replace text 'test'  with the login from the authorization to the S7 Agent API service.


Corporate Program credentials. 
/Envelope /Body /FlightPriceRQ/Qualifiers /Qualifier /SpecialFareQualifiers

Available only for Corporate Program with discount scenario or Corporate Program with cashback scenario.

(warning) Use credentials that you received from our technical support. Check out Quick Start for how to get those IDs

#

Description

Mand

Mult

Default

Ref/Format

xPath

Example (only for S7)

1

IATA airline code

(tick) for Corporate Program case
(error) for other cases
(error)(error)Constant

AirlineID="S7"

<AirlineID>S7</AirlineID>
2Client ID(tick) for Corporate Program case
(error) for other cases

(error)

(error)

CompanyIndex

<CompanyIndex>QUW0000</CompanyIndex> or <CompanyIndex>QY000000</CompanyIndex>
3Agent ID(tick)  for Corporate Program case
(error) for other cases
(error)(error)
Account
<Account>12251</Account>

Main. 
/Envelope /Body /FlightPriceRQ

#DescriptionMandMultDefaultRef/Format/DescxPathExample
1

Currency

(error)(error)RUB

IATA currency code

Parameters /CurrCodes /CurrCode

<CurrCodes>
<CurrCode>KZT</CurrCode>
</CurrCodes>
2Result Type(error)(error)BrandedFares
  • LowFare - used to get the cheapest solution in each offer
  • BrandedFares - used to get all available solutions in each offer

  • Include Baggage - used to get solutions with free baggage






  • Fare rules - used to get fare rules in text format

Parameters /ServiceFilters /ServiceFilter[GroupCode="FareOut"] /SubGroupCode


for Include Baggage
Parameters /ServiceFilters /ServiceFilter[GroupCode="Baggage"] /SubGroupCode





Parameters /ServiceFilters /ServiceFilter[GroupCode="FareRules"] /SubGroupCode

<ServiceFilter>
<GroupCode>FareOut</GroupCode>
<SubGroupCode>LowFare</SubGroupCode>
</ServiceFilter>


for Include Baggage

<ServiceFilter>
<GroupCode>Baggage</GroupCode>
<SubGroupCode>Include</SubGroupCode>
</ServiceFilter>

for fare rules
<ServiceFilter>
 <GroupCode>FareRules</GroupCode>
  <SubGroupCode>true</SubGroupCode>
 </ServiceFilter>

3Sorting(error)(error) 
  • arrival
  • carrier
  • departure
  • default
  • destination
  • origin
Parameters /ServiceFilters /ServiceFilter[GroupCode="Sort"] /SubGroupCode
<ServiceFilter>
<GroupCode>Sort</GroupCode>
<SubGroupCode>arrival</SubGroupCode>
</ServiceFilter>
4Traveler(tick)(tick)(error)Traveler types detailsTravalers /Traveler 
<Traveler>
<AnonymousTraveler>
<PTC Quantity="1">CHD</PTC>
</AnonymousTraveler>
</Traveler>
5Itinerary details

(tick)

(tick)(error)
CoreQuery /OriginDestinations /OriginDestination
<OriginDestination>
    <Flight>
        <Departure>
            <AirportCode>OVB</AirportCode>
            <Date>2023-10-28</Date>
        </Departure>
        <Arrival>
            <AirportCode>DME</AirportCode>
            <Date>2023-10-28</Date>
        </Arrival>
        <MarketingCarrier>
            <AirlineID>S7</AirlineID>
            <FlightNumber>2502</FlightNumber>
        </MarketingCarrier>
    </Flight>
</OriginDestination>
6Aircraft Cabin(error)(error)

Returns both cabin types

  • Y - for COACH and PREMIUM-COACH
  • D - for BUSINESS and FIRST
Preferences /Preference /FlightPreferences /Aircraft /Cabins /Cabin /Code
<Cabin>
<Code>Y</Code>
</Cabin>
7Flight types

(error)

(error)Returns all itineraries: direct, transit and transfer
  • Exclude - for all flights (direct + transfer)
  • Preferred - direct flights only
Preferences /Preference /FlightPreferences /Characteristic /DirectPreferences
<FlightPreferences>
<Characteristic>
<DirectPreferences>Preferred</DirectPreferences>
</Characteristic>
</FlightPreferences>

Traveler. 
/Envelope /Body /FlightPriceRQ/Travelers /Traveler (Multiple)

#DescriptionMandMultDefaultRef/Format/DescxPathExample
1

Passenger Type Code

(tick)(error)(error)
  1. ADT — Adult

  2. CHD — Child and Infant with a seat

  3. INF — Infant

AnonymousTraveler /PTC

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

Passenger Quantity

(tick)(error)(error)
  • ADT — 1..9
  • CHD — 1..9
  • INF — 1..9
  • ADT+CHD <= 9
  • INF <= ADT

AnonymousTraveler /PTC /@Quantity

<PTC Quantity="2">CHD</PTC>

OriginDestination. 
/Envelope /Body /FlightPriceRQ/CoreQuery /OriginDestinations /OriginDestination/Flight(Multiple)

#DescriptionMandMultDefaultRef/Format/DescxPathExample
1

Departure IATA airport or city code

(tick)(error)(error)

IATA airpot/city code

Departure /AirportCode

<AirportCode>OVB</AirportCode>
2

Departure Date

(tick)(error)(error)YYYY-MM-DD

Departure /Date

<Date>2017-07-20</Date>
3

Arrival IATA airport or city code

(tick)(error)(error)

IATA airpot/city code

Arrival /AirportCode

<AirportCode>DME</AirportCode>
4

Arrival Date

(tick)(error)(error)YYYY-MM-DD

Arrival /Date

<Date>2017-07-20</Date>
5

Marketing Carrier 

(tick)(error)(error)Marketing carrier IATA airline code

Marketing carrier flight number    

MarketingCarrier/AirlineID



MarketingCarrier/FlightNumber

 <AirlineID>S7</AirlineID>


<FlightNumber>2502</FlightNumber>
6

ClassOfService

(error)(error)(error)

Letter (RBD)


Fare code

ClassOfService/Code


ClassOfService/MarketingName

<Code>Y</Code>


<MarketingName>YBSOW</MarketingName>

  • No labels