Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


DemandTicket operation is for ticketing passengers from existing booking. Returns ticket number for a specified a passenger specified in the request passenger.

Use cases

The following list of cases supported by the Shopping API and provides their required inputs as well as a list of common inputs used with that case:

  1. Standard demandTickets flow — allows to issue ticket for a all passengers in existing booking.

  2. Corporate Program demandTickets flow — allows to issue ticket for a all passengers in existing booking (сonsidering corporate discount or corporate cashback).

  3. Per-Pax demandTickets flow - allows to issue ticket for a specific passenger from existing booking.

Table of contents

Table of Contents

Request (AirDocIssueRQ)

Required inputs

DemandTicket

Anchorstandard demandstandard demand

Standard demandTicket

Required inputs
#


Name

Format/Reference

xPath

1

Block of access parameters

Use credentials that you received from our technical support. Check out Quick Start for how to get it andReferences for more details

/Envelope /Body /AirDocIssueRQ /Party /Sender /AgentUserSender

2
Information on the issued ticketContains information about passengers, payment system, PNR and RPH

Passenger information

Passenger name, surname and type

/Envelope/Body /AirDocIssueRQ /Query /TicketDocInfo /TravelerInfo

3
PaymentsContains information on the payment system

Booking information

PNR and passenger object key

/Envelope/Body /AirDocIssueRQ /Query /TicketDocInfo /BookingReference

4

Payment information

Payment details

/Envelope /Body /AirDocIssueRQ /Query /TicketDocInfo /Payments

4List of allowed LuggageContains information on the baggage with reference to a flight segmen

Optional parameters


Name

Format/Reference

xPath

1

Corporate Program credentials

Available only for Corporate Program with discount scenario or Corporate Program with cashback scenario. Use credentials that you received from our technical support. Check out Quick Start for how to get those IDs

/Envelope /Body /AirDocIssueRQ /Query /DataLists

/CheckedBagAllowanceList 5Data on tariff plans

/InstructionsList /Instruction[@ListKey="CC"] /SpecialBookingInstruction

Response ( AirDocDisplayRS)


Name

Format/Reference

xPath

1

Passenger information

Passenger name, surname and type

/Envelope/Body /AirDocDisplayRS /Response /TicketDocInfos /TicketDocInfo /TravelerInfo

2

Booking information

PNR and passenger object key

/Envelope/Body /AirDocDisplayRS /Response /TicketDocInfos /TicketDocInfo /BookingReference

3

Total price

Total price

/Envelope/Body /AirDocDisplayRS /Response /TicketDocInfos /TicketDocInfo /Payments

4

Journey information

Origin and destination airports

/Envelope/Body /AirDocDisplayRS /Response /TicketDocInfos /TicketDocInfo /OriginDestination

5

Pricing information

Information about fares, taxes and endorsements

Сontains information about Taxes, Endorsements, Fare Basis Code and Base Amount

/Envelope/Body /

AirDocIssueRQ

AirDocDisplayRS /Response /

Query

TicketDocInfos /

DataLists

TicketDocInfo /

FareList

FareInfo

6
Flight Segment ListContains information on flight segments

Issued document information

Document number, type, date of issue and status

/Envelope/Body /AirDocDisplayRS /

AirDocIssueRQ

Response /

Query

TicketDocInfos /

DataLists

TicketDocInfo /

FlightSegmentList 

TicketDocument

7
Terms List

Coupons information

Contains information on the timing of departure with reference to a flight

Coupons information by segment

/Envelope/Body

/AirDocIssueRQ/Query/DataLists/TermsList
Optional parameters
#NameFormat/ReferencexPath123

3D agreement demandTicket

Required inputs
#NameFormat/ReferencexPath1

Client ID code

QUW1725

/Envelope/Body/AirDocIssueRQ/Query/DataLists/InstructionsList/Instruction[@ListKey="CC"]/SpecialBookingInstruction/Code2

Agent ID code

918/Envelope/Body/AirDocIssueRQ/Query/DataLists/InstructionsList/Instruction[@ListKey="CC"]/SpecialBookingInstruction/Definition
Note
iconfalse

(lightbulb) 3D demand operation available only for ADT type passengers

(lightbulb) Other Required inputs like described in Standard demandTicket

This method using for payment the booked ticket. Payment is made separately for each passenger.

The issuance of tickets to passengers is carried out in two types: 
1) ADT or CHD – adult or child.
2) INF – infant.
In order to write a ticket for an adult passenger, we must watch the sequence of passengers output in booking 
(Order Create RS). In our example, the ADT was first, i.e. Object Key="SH1".
Consequently, for the issue of the ticket, you must specify 
RPH1. 
So for CHD it is necessary to specify RPH2, because he was output second and have Object Key="SH2".
For INF always indicate the RPH1,because this is a different type.
If there were two INF, then for issue the ticket for the second baby, it is necessary to specify RPH2.

/AirDocDisplayRS /Response /TicketDocInfos /TicketDocInfo /TicketDocument /CouponInfo /SoldAirlineInfo

8

Transfer inscriptions and restrictions

Transfer inscriptions and restrictions

/Envelope/Body /AirDocDisplayRS /Response /TicketDocInfos /TicketDocInfo /Commission

9

Passenger document number

Passenger document number

/Envelope/Body /AirDocDisplayRS /Response /TicketDocInfos /TicketDocInfo /PassengerSpecificData

Samples

1A | OW + 1xADT + Direct + S7 flight | v0.52 | demandTickets operation

Include Page
1A | OW + 1xADT + Direct + S7 flight | v0.52 | demandTickets operation
1A | OW + 1xADT + Direct + S7 flight | v0.52 | demandTickets operation

1A | OW + 1xADT + Direct + S7 flight | TKT + EMD baggage | v0.52 | demandTickets operation

Include Page
1A | OW + 1xADT + Direct + S7 flight | TKT + EMD baggage | v0.52 | demandTickets operation
1A | OW + 1xADT + Direct + S7 flight | TKT + EMD baggage | v0.52 | demandTickets operation

1A | 2ADT+1CHD+1INF+Domestic+RT+DIRECT | v0.52 | demandTickets operation

Include Page
1A | 2ADT+1CHD+1INF+Domestic+RT+DIRECT | v0.52 | demandTickets operation
1A | 2ADT+1CHD+1INF+Domestic+RT+DIRECT | v0.52 | demandTickets operation

OW + 1xADT + Direct + S7 flight | TKT + EMD baggage | v0.52 | demandTickets operation

Include Page
OW + 1xADT + Direct + S7 flight | TKT + EMD baggage&seat | v0.52 | demandTickets operation
OW + 1xADT + Direct + S7 flight | TKT + EMD baggage&seat | v0.52 | demandTickets operation

OW + 1xADT + Direct + S7 flight | TKT + EMD seat | v0.52 | demandTickets operation

Include Page
OW + 1xADT + Direct + S7 flight | TKT + EMD seat | v0.52 | demandTickets operation
OW + 1xADT + Direct + S7 flight | TKT + EMD seat | v0.52 | demandTickets operation

OW + 1xADT + Direct + S7 flight | TKT + EMD baggage&seat | v0.52 | demandTickets operation

Include Page
OW + 1xADT + Direct + S7 flight | TKT + EMD baggage&seat | v0.52 | demandTickets operation
OW + 1xADT + Direct + S7 flight | TKT + EMD baggage&seat | v0.52 | demandTickets operation

Corporate Program | v0.52 | demandTickets operation

Check out

Expand
titleRequest
Code Block
languagexml
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <Header/>
    <Body>
        <AirDocIssueRQ xmlns="http://www.iata.org/IATA/EDIST" Version="1.0">
            <Document/>
            <Party>
                <Sender>
                    <AgentUserSender>
                        <PseudoCity>S7AGN8224</PseudoCity>
                        <AgentUserID>gaia</AgentUserID>
                    </AgentUserSender>
                </Sender>
            </Party>
            <Query>
                <TicketDocQuantity>1</TicketDocQuantity>
                <TicketDocInfo>
                    <TravelerInfo>
                        <Surname>ANY</Surname>
                        <Given>ANY</Given>
                    </TravelerInfo>
                    <BookingReference>
                        <ID>MZTCS0</ID>
                        <AirlineID>S7</AirlineID>
                    </BookingReference>
                    <Payments>
                        <Payment ObjectKey="ETK">
                            <Type>
                                <Code>MS</Code>
                            </Type>
                            <Other>
                                <Remarks>
                                    <Remark>*QY124656</Remark>
                                </Remarks>
                            </Other>
                        </Payment>
                    </Payments>
                </TicketDocInfo>
                <DataLists>
                    <InstructionsList>
                        <Instruction ListKey="CC">
                            <SpecialBookingInstruction>
                                <Code>QY124656</Code>
                                <Definition>699</Definition>
                            </SpecialBookingInstruction>
                        </Instruction>
                    </InstructionsList>
                </DataLists>
            </Query>
        </AirDocIssueRQ>
    </Body>
</Envelope>


Expand
titleResponse
Code Block
languagexml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:Envelope xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.iata.org/IATA/EDIST">
    <ns2:Body>
        <ns3:AirDocDisplayRS Version="">
            <ns3:Document>
                <ns3:Name>1.0</ns3:Name>
            </ns3:Document>
            <ns3:Success/>
            <ns3:Response>
                <ns3:TicketDocInfos>
                    <ns3:TicketDocInfo>
                        <ns3:Traveler>
                            <ns3:Surname>MARKO</ns3:Surname>
                            <ns3:Given>CAIN</ns3:Given>
                            <ns3:PTC>ADT</ns3:PTC>
                        </ns3:Traveler>
                        <ns3:IssuingAirlineInfo>
                            <ns3:AirlineName>S7</ns3:AirlineName>
                        </ns3:IssuingAirlineInfo>
                        <ns3:BookingReferences>
                            <ns3:BookingReference>
                                <ns3:ID>MZTCS0</ns3:ID>
                                <ns3:AirlineID>S7</ns3:AirlineID>
                            </ns3:BookingReference>
                        </ns3:BookingReferences>
                        <ns3:Payments>
                            <ns3:Payment>
                                <ns3:Method/>
                                <ns3:Amount Code="RUB">31089.0</ns3:Amount>
                            </ns3:Payment>
                        </ns3:Payments>
                        <ns3:OriginDestination>
                            <ns3:Origin>OVB</ns3:Origin>
                            <ns3:Destination>KJA</ns3:Destination>
                        </ns3:OriginDestination>
                        <ns3:FareInfo>
                            <ns3:BaseFare>
                                <ns3:Amount Code="RUB">30520.0</ns3:Amount>
                            </ns3:BaseFare>
                            <ns3:EquivFare>
                                <ns3:Amount Code="RUB">30520.0</ns3:Amount>
                            </ns3:EquivFare>
                            <ns3:Total>
                                <ns3:Amount Code="RUB">31089.0</ns3:Amount>
                            </ns3:Total>
                            <ns3:Taxes>
                                <ns3:Total Code="RUB">569.0</ns3:Total>
                                <ns3:Breakdown>
                                    <ns3:Tax>
                                        <ns3:Amount Code="RUB">346.00</ns3:Amount>
                                        <ns3:TaxCode>RI</ns3:TaxCode>
                                    </ns3:Tax>
                                    <ns3:Tax>
                                        <ns3:Amount Code="RUB">173.00</ns3:Amount>
                                        <ns3:TaxCode>RI</ns3:TaxCode>
                                    </ns3:Tax>
                                    <ns3:Tax>
                                        <ns3:Amount Code="RUB">50.00</ns3:Amount>
                                        <ns3:TaxCode>YQ</ns3:TaxCode>
                                    </ns3:Tax>
                                </ns3:Breakdown>
                            </ns3:Taxes>
                            <ns3:UnstructuredFareCalcInfo>
                                <ns3:Info>OVB S7 KJA30520RUB30520END</ns3:Info>
                            </ns3:UnstructuredFareCalcInfo>
                        </ns3:FareInfo>
                        <ns3:TicketDocument>
                            <ns3:TicketDocNbr>4212115863652</ns3:TicketDocNbr>
                            <ns3:Type>
                                <ns3:Code>702</ns3:Code>
                            </ns3:Type>
                            <ns3:NumberofBooklets>1</ns3:NumberofBooklets>
                            <ns3:DateOfIssue>2025-01-16</ns3:DateOfIssue>
                            <ns3:CouponInfo>
                                <ns3:CouponNumber>1</ns3:CouponNumber>
                                <ns3:FareBasisCode>
                                    <ns3:Code>YSTOW</ns3:Code>
                                </ns3:FareBasisCode>
                                <ns3:CouponValid>
                                    <ns3:EffectiveDatePeriod>
                                        <ns3:Expiration>2026-01-16</ns3:Expiration>
                                    </ns3:EffectiveDatePeriod>
                                </ns3:CouponValid>
                                <ns3:Status>
                                    <ns3:Code>OPEN FOR USE</ns3:Code>
                                </ns3:Status>
                                <ns3:SoldAirlineInfo>
                                    <ns3:Departure>
                                        <ns3:AirportCode>OVB</ns3:AirportCode>
                                        <ns3:Date>2025-02-13</ns3:Date>
                                        <ns3:Time>02:30</ns3:Time>
                                    </ns3:Departure>
                                    <ns3:Arrival>
                                        <ns3:AirportCode>KJA</ns3:AirportCode>
                                        <ns3:Date>2025-02-13</ns3:Date>
                                        <ns3:Time>03:50</ns3:Time>
                                    </ns3:Arrival>
                                    <ns3:OperatingCarrier>
                                        <ns3:ResBookDesigCode>Y</ns3:ResBookDesigCode>
                                    </ns3:OperatingCarrier>
                                    <ns3:MarketingCarrier>
                                        <ns3:AirlineID>S7</ns3:AirlineID>
                                        <ns3:FlightNumber>5309</ns3:FlightNumber>
                                    </ns3:MarketingCarrier>
                                    <ns3:TicketedBaggageAllowance>
                                        <ns3:AllowableBag Type="PC" Number="1"/>
                                    </ns3:TicketedBaggageAllowance>
                                </ns3:SoldAirlineInfo>
                            </ns3:CouponInfo>
                        </ns3:TicketDocument>
                        <ns3:Price>
                            <ns3:Total Code="RUB">31089.0</ns3:Total>
                            <ns3:Details>
                                <ns3:Detail>
                                    <ns3:Application>discount</ns3:Application>
                                    <ns3:Amount>6</ns3:Amount>
                                </ns3:Detail>
                            </ns3:Details>
                        </ns3:Price>
                        <ns3:Commission>
                            <ns3:Amount>0</ns3:Amount>
                            <ns3:Remarks>
                                <ns3:Remark>S7 ONLY/REF/CHNG/RESTR/ST</ns3:Remark>
                                <ns3:Remark>2025-01-16T18:11</ns3:Remark>
                            </ns3:Remarks>
                        </ns3:Commission>
                        <ns3:PassengerSpecificData>1111111112</ns3:PassengerSpecificData>
                    </ns3:TicketDocInfo>
                </ns3:TicketDocInfos>
            </ns3:Response>
        </ns3:AirDocDisplayRS>
    </ns2:Body>
</ns2:Envelope>


1A | OW + 1xADT + Direct + S7 flight+BLOCKCHAIN | v0.52 | demandTickets operation

Include Page
1A | OW + 1xADT + Direct + S7 flight+BLOCKCHAIN | v0.52 | demandTickets operation
1A | OW + 1xADT + Direct + S7 flight+BLOCKCHAIN | v0.52 | demandTickets operation

OW + 1xADT + Direct + Meal | v0.52 | demandTickets operation

Include Page
OW + 1xADT + Direct + Meal | v0.52 | demandTickets operation
OW + 1xADT + Direct + Meal | v0.52 | demandTickets operation

2ADT+1CHD+1INF+RT+DIRECT+Meal+Free meal for CHD | v0.52 | demandTickets operation

Include Page
2ADT+1CHD+1INF+RT+DIRECT+Meal+Free meal for CHD | v0.52 | demandTickets operation
2ADT+1CHD+1INF+RT+DIRECT+Meal+Free meal for CHD | v0.52 | demandTickets operation

1ADT+RT+DIRECT+Meal+Seat | v0.52 | demandTickets operation

Include Page
1ADT+RT+DIRECT+Meal+Seat | v0.52 | demandTickets operation
1ADT+RT+DIRECT+Meal+Seat | v0.52 | demandTickets operation

Subsidised fare+RT+1xYTR+1CHD+1INF+Transfer | v0.52 | demandTickets operation

Include Page
Subsidised fare+RT+1xYTR+1CHD+1INF+Transfer | v0.52 | demandTickets operation
Subsidised fare+RT+1xYTR+1CHD+1INF+Transfer | v0.52 | demandTickets operation

1ADT+1INF with a seat+Domestic+OW+DIRECT | v0.52 | demandTickets operation

Include Page
1ADT+1INF with a seat+Domestic+OW+DIRECT | v0.52 | demandTickets operation
1ADT+1INF with a seat+Domestic+OW+DIRECT | v0.52 | demandTickets operation

ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+Public fares | v0.52 | demandTickets operation

Include Page
ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+Public fares | v0.52 | demandTickets operation
ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+Public fares | v0.52 | demandTickets operation

ВПД МО 1ADT+1CHD+1INF+Domestic+OW+DIRECT | v0.52 | demandTickets operation

Include Page
ВПД МО 1ADT+1CHD+1INF+Domestic+OW+DIRECT | v0.52 | demandTickets operation
ВПД МО 1ADT+1CHD+1INF+Domestic+OW+DIRECT | v0.52 | demandTickets operation

ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+М fare | v0.52 | demandTickets operation

Include Page
ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+М fare | v0.52 | demandTickets operation
ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+М fare | v0.52 | demandTickets operation

1CHD+Domestic+OW+DIRECT | v0.52 | demandTickets operation

Include Page
1CHD+Domestic+OW+DIRECT | v0.52 | demandTickets operation
1CHD+Domestic+OW+DIRECT | v0.52 | demandTickets operation

1ADT+RT+DIRECT+free seat for 3d client | v0.52 | demandTickets operation

Include Page
1ADT+RT+DIRECT+free seat for 3d client | v0.52 | demandTickets operation
1ADT+RT+DIRECT+free seat for 3d client | v0.52 | demandTickets operation

1ADT+OW+DIRECT+baggage+BLOCKCHAIN | v0.52 | demandTickets operation

Include Page
1ADT+OW+DIRECT+baggage+BLOCKCHAIN | v0.52 | demandTickets operation
1ADT+OW+DIRECT+baggage+BLOCKCHAIN | v0.52 | demandTickets operation