VoidTicket operation Allows to void existing ETK by ETK number in XML.

The following case supported by the Shopping API and allows to void ETK\EMD as well as returns confirmation of cancellation

  • voidTicket flow — Allows to void existing ETK by ETK number in XML.

Table of contents

Request (AirDocVoidRQ)

Required inputs

#

Name

Format/Reference

xPath

1

Block of access parameters

Use credentials that you received from our technical support. Check out Quick Start | S7 Agent API for how to get it and References for more details

Envelope/Body/AirDocVoidRQ/Party/Sender/AgentUserSender

2

Electronic ticket number information

ETK number from ticketing method RS

Envelope/Body/AirDocVoidRQ/Query/TicketDocument/TicketDocNbr

3

Document type

ETK type

Envelope/Body/AirDocVoidRQ/Query/TicketDocument/Type/Code

Response (AirDocVoidRS)

#

Name

Format/Reference

xPath

1

ETK number information

ETK number

Envelope/Body/AirDocVoidRS/Response/TicketDocument/TicketDocNbr

2

Document type

ETK type

Envelope/Body/AirDocVoidRS/Response/TicketDocument/Type/Code

Samples

v0.52 | voidTicket operаtion

Check out

  • operation overview, their main purpose and use cases

  • references with detailed explanation of input&output parameters and possible errors



<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <Header />
    <Body>
        <AirDocVoidRQ xmlns="http://www.iata.org/IATA/EDIST" Version="1.0">
            <Document />
            <Party>
                <Sender>
                    <AgentUserSender>
                        <Name>S7-AIDL</Name>
                        <OtherIDs>
                            <OtherID Description="POS_Type">1</OtherID>
                            <OtherID Description="requestorType">U</OtherID>
                        </OtherIDs>
                        <PseudoCity>OVBS728AB</PseudoCity>
                        <AgentUserID>S7AgentAPI</AgentUserID>
                        <UserRole>AS</UserRole>
                    </AgentUserSender>
                </Sender>
            </Party>
            <Query>
                <TicketDocQuantity>1</TicketDocQuantity>
                <TicketDocument>
                    <TicketDocNbr>2402034323</TicketDocNbr>
                    <Type>
                        <Code>702</Code>
                    </Type>
                </TicketDocument>
            </Query>
        </AirDocVoidRQ>
    </Body>
</Envelope>
<?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:AirDocVoidRS Version="">
            <ns3:Document>
                <ns3:Name>1.0</ns3:Name>
            </ns3:Document>
            <ns3:Success />
            <ns3:Response>
                <ns3:TicketDocument>
                    <ns3:TicketDocNbr>4212402034323</ns3:TicketDocNbr>
                    <ns3:Type>
                        <ns3:Code>702</ns3:Code>
                    </ns3:Type>
                </ns3:TicketDocument>
            </ns3:Response>
        </ns3:AirDocVoidRS>
    </ns2:Body>
</ns2:Envelope>


BLOCKCHAIN | voidTicket operаtion

Unable to render {include} The included page could not be found.

EMD | voidTicket operаtion

Check out

  • operation overview, their main purpose and use cases

  • references with detailed explanation of input&output parameters and possible errors



<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <Header />
    <Body>
        <AirDocVoidRQ xmlns="http://www.iata.org/IATA/EDIST" Version="1.0">
            <Document />
            <Party>
                <Sender>
                    <AgentUserSender>
                        <Name>S7-AIDL</Name>
                        <OtherIDs>
                            <OtherID Description="POS_Type">1</OtherID>
                            <OtherID Description="requestorType">U</OtherID>
                        </OtherIDs>
                        <PseudoCity>OVBS728AB</PseudoCity>
                        <AgentUserID>S7AgentAPI</AgentUserID>
                        <UserRole>AS</UserRole>
                    </AgentUserSender>
                </Sender>
            </Party>
            <Query>
                <TicketDocQuantity>1</TicketDocQuantity>
                <TicketDocument>
                    <TicketDocNbr>4218206116552</TicketDocNbr>
                    <Type>
                        <Code>Y</Code>
                    </Type>
                </TicketDocument>
            </Query>
        </AirDocVoidRQ>
    </Body>
</Envelope>
<?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:AirDocVoidRS Version="">
            <ns3:Document>
                <ns3:Name>1.0</ns3:Name>
            </ns3:Document>
            <ns3:Success />
            <ns3:Response>
                <ns3:TicketDocument>
                    <ns3:TicketDocNbr>4218206116552</ns3:TicketDocNbr>
                    <ns3:Type>
                        <ns3:Code>Y</ns3:Code>
                    </ns3:Type>
                </ns3:TicketDocument>
            </ns3:Response>
        </ns3:AirDocVoidRS>
    </ns2:Body>
</ns2:Envelope>


  • No labels