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

Compare with Current View Page History

« Previous Version 7 Next »

Table of contents:

Check out

Parameters

Access. 
/Envelope /Body /ServicePriceRQ /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.


Main. 
/Envelope /Body /ServicePriceRQ

#

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

<ServicePriceRQ Version="">
2

Document

(tick)

(error)

(error)

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

Document

<Document/>
3Service group filter(error)(tick)(tick)

Possible values:

  • bag (for hand luggage, checked baggage, pets and special equipment)
  • seat
  • meal

By default used all possible service groups (you will receive all available services)

Not case-sensitive

Parameters /ServiceFilters /ServiceFilter<ServiceFilter>
    <GroupCode>bag</GroupCode>
</ServiceFilter>
4Currency(error)(error)(tick)

Currency of ancillaries services

By default used RUB

Parameters/CurrCodes/CurrCode<Parameters>
    <CurrCodes>
        <CurrCode>UZS</CurrCode>
    </CurrCodes>
</Parameters>
5PTC(tick)(tick)(error)

Passenger types specified in reservation (some services depend on passenger type in booking and their combination)

Possible values:

  • ADT — adult
  • CHD — child
  • INF — infant in a lap

Not case-sensitive

Travelers /Traveler<Traveler>
   <AnonymousTraveler>
      <PTC>ADT</PTC>
   </AnonymousTraveler>
</Traveler>
6

ServicePriceRQ | v0.47 | servicePrice operation

(tick)

(tick)

(error)

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

Check ServicePriceRQ | v0.47 | servicePrice operation for more input details

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

Query /OriginDestination

<OriginDestination> ... </OriginDestination>
7

FareInfo

(tick)

(tick)

(error)

FareInfo include FareFamily and FareBasicCode for any segments

Available FareFamily:

  • BASICECONOMY
  • STANDARDECONOMY
  • PLUSECONOMY
  • BASICBUSINESS
  • STANDARDBUSINESS
  • PLUSBUSINESS

DataList/FareList

<FareList>
    <FareGroup refs="SEG1" ListKey="FG1">
        <Fare>
            <FareCode>
                <Code>BASICECONOMY</Code>
            </FareCode>
        </Fare>
        <FareBasisCode>
            <Code>YBSOW</Code>
        </FareBasisCode>
    </FareGroup>
</FareList>

OriginDestination (Slice). 
/Envelope /Body /ServicePriceRQ /Query /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

ServicePriceRQ | v0.47 | servicePrice operation

(tick)

(tick)

(error)

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

Check ServicePriceRQ | v0.47 | servicePrice operation for more input details

Flight

<Flight> ... </Flight>

Flight (Segment). 
/Envelope /Body /ServicePriceRQ /Query /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

Departure IATA airport code

(tick)

(error)

(error)

IATA airport code

Departure /AirportCode

<AirportCode>OVB</AirportCode>
2

Departure Date

(tick)

(error)

(error)

Format: YYYY-MM-DD

Departure /Date

<Date>2016-08-21</Date>
3

Arrival IATA airport code

(tick)

(error)

(error)

IATA airport code

Arrival /AirportCode

<AirportCode>KHV</AirportCode>
4

Marketing carrier IATA airline ID

(tick)

(error)

(error)

IATA airline code

MarketingCarrier /AirlineID

<AirlineID>S7</AirlineID>
5

Marketing carrier flight number

(tick)

(error)

(error)

Use: 0-9

"0"s before number are accepted

MarketingCarrier /FlightNumber

<FlightNumber>3507</FlightNumber>

FareInfo

/Envelope /Body /ServicePriceRQ /DataList/FareList/FareGroup(Multiple)

Specify FareGroup for each segment

FareGroup include reference refs on Flight (Segment), for example, refs="SEG1"

FareGroup include attribute ListKey with index number of FareGroup, for example, ListKey="FG1"

#

Description

Mand

Mult

Default

Ref/Format/Desc

xPath

Example

1

FareFamily

(tick)

(error)

(error)

Available FareFamily:

  • BASICECONOMY
  • STANDARDECONOMY
  • PLUSECONOMY
  • BASICBUSINESS
  • STANDARDBUSINESS
  • PLUSBUSINESS

FareGroup/Fare/FareCode/Code

<Code>BASICECONOMY</Code>
2

FareBasisCode

(tick)

(error)

(error)

Format: YYYY-MM-DD

FareGroup/FareBasis/Code/

<Code>YBSOW</Code>


  • No labels