Skip to main content

Get Electronic Document

2.0.0
Air
Ticketing
SOAP API
Travel Agency

Not Signed In.

Looks like you may not have access to all of the resources and documentation for this page.
Please log-in or contact your support desk team if you believe you should have access.

The Get Electronic Document API (TKT_ElectronicDocumentServicesRQ) is used to display electronic ticket records (ETRs) and electronic miscellaneous documents records (EMDs) from the validating airline’s database.

Target Audience
Travel Agency
API Version
2.0.0
Authentication
Session Token
Service Action Code
TKT_ElectronicDocumentServicesRQ

Using this API, you can display electronic ticket records (ETRs) and electronic miscellaneous documents records (EMDs) from the validating airline's database. The primary function is to retrieve and display the most up to date information about ETRs and EMDs, such as current coupon status, directly from the airline's database. This API provides the functional equivalent to the Sabre native screen WETR and WEMD displays.

Data that is only present in the Sabre Ticketing Database (WTDB) will not be provided with this service.

Please refer to the GetElectronicDocument Sample Payload responses for additional information.

Sample Request
<?xml version="1.0" encoding="UTF-8"?>
<GetElectronicDocumentRQ Version="2.0.0" xmlns="http://www.sabre.com/ns/Ticketing/EDoc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sabre.com/ns/Ticketing/EDoc TKT_ElectronicDocumentServices_v.2.0.0.xsd">
    <ns1:STL_Header.RQ xmlns:ns1="http://www.sabre.com/ns/Ticketing/EDocStl"/>
    <ns2:POS xmlns:ns2="http://www.sabre.com/ns/Ticketing/EDocStl"/>
    <SearchParameters>
        <DocumentNumber>0451541750279</DocumentNumber>
        <DocumentType>EMD</DocumentType>
        <Traveler>
            <FirstName>YARUWYAXIROP</FirstName>
            <LastName>KDQHFPDLLLBGAAHE</LastName>
        </Traveler>
    </SearchParameters>
</GetElectronicDocumentRQ>
Sample Response
<?xml version="1.0" encoding="UTF-8"?>
<GetElectronicDocumentRS Version="2.0.0" xmlns="http://www.sabre.com/ns/Ticketing/EDoc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sabre.com/ns/Ticketing/EDoc TKT_ElectronicDocumentServices_v.2.0.0.xsd">
    <STL:STL_Header.RS timeStamp="2021-12-03T01:03:46" xmlns:STL="http://www.sabre.com/ns/Ticketing/EDocStl">
        <STL:OrchestrationID seq="0">LTXLD_TKT_05-22014-961633647-1638515026319-15361-edoc:0</STL:OrchestrationID>
        <STL:Results>
            <STL:Success>
                <STL:System>TKT-DS</STL:System>
                <STL:Source>EDOC</STL:Source>
            </STL:Success>
        </STL:Results>
    </STL:STL_Header.RS>
    <Agent sine="G01" type="GDS">
        <TicketingProvider>EY</TicketingProvider>
        <WorkLocation>61N1</WorkLocation>
        <HomeLocation>LON</HomeLocation>
        <IsoCountryCode>GB</IsoCountryCode>
        <IataNumber>91263712</IataNumber>
        <CRSCode>0011</CRSCode>
    </Agent>
    <TransactionInfo sequence="1">
        <LocalDateTime>2021-12-03T01:03:48.183-06:00</LocalDateTime>
        <SystemDateTime>2021-12-03T01:03:48.183-06:00</SystemDateTime>
        <SystemProvider>1S</SystemProvider>
    </TransactionInfo>
    <DocumentDetailsDisplay>
        <Ticket number="6079552322544" type="TKT">
            <Details>
                <Reservation>
                    <Sabre>VYZGZQ</Sabre>
                </Reservation>
                <LocalIssueDateTime>2021-12-03T00:00:00.000-00:00</LocalIssueDateTime>
                <AgencyBillingNumber>3700802122</AgencyBillingNumber>
                <InvoiceNumber>0014693</InvoiceNumber>
                <FareCalculationPricing>3</FareCalculationPricing>
            </Details>
            <Customer>
                <Traveler>
                    <Name>TFPPT MS ZSPSF</Name>
                    <FirstName>TFPPT MS</FirstName>
                    <LastName>ZSPSF</LastName>
                </Traveler>
            </Customer>
            <ServiceCoupon coupon="1">
                <MarketingProvider>EY</MarketingProvider>
                <MarketingFlightNumber>37</MarketingFlightNumber>
                <OperatingProvider>EY</OperatingProvider>
                <ClassOfService name="Y">Y</ClassOfService>
                <FareBasis>YYYADT</FareBasis>
                <StartLocation>AUH</StartLocation>
                <StartDate>2021-12-22</StartDate>
                <StartTime>07:25:00</StartTime>
                <EndLocation>CDG</EndLocation>
                <NotValidBeforeDate>2021-12-22</NotValidBeforeDate>
                <NotValidAfterDate>2021-12-22</NotValidAfterDate>
                <BookingStatus>OK</BookingStatus>
                <CurrentStatus>OPEN</CurrentStatus>
                <CurrentStatusCodeSetValue>I</CurrentStatusCodeSetValue>
            </ServiceCoupon>
            <ServiceCoupon coupon="2">
                <MarketingProvider>EY</MarketingProvider>
                <MarketingFlightNumber>38</MarketingFlightNumber>
                <OperatingProvider>EY</OperatingProvider>
                <ClassOfService name="Y">Y</ClassOfService>
                <FareBasis>YYYADT</FareBasis>
                <StartLocation>CDG</StartLocation>
                <StartDate>2022-01-21</StartDate>
                <StartTime>13:15:00</StartTime>
                <EndLocation>AUH</EndLocation>
                <NotValidBeforeDate>2022-01-21</NotValidBeforeDate>
                <NotValidAfterDate>2022-01-21</NotValidAfterDate>
                <BookingStatus>OK</BookingStatus>
                <CurrentStatus>OPEN</CurrentStatus>
                <StopOver>O</StopOver>
                <CurrentStatusCodeSetValue>I</CurrentStatusCodeSetValue>
            </ServiceCoupon>
            <Amounts>
                <New>
                    <Base>
                        <Amount currencyCode="GBP" decimalPlace="2">749.00</Amount>
                        <Text>749.00</Text>
                    </Base>
                    <Total>
                        <Amount currencyCode="GBP" decimalPlace="2">901.94</Amount>
                        <Text>901.94</Text>
                    </Total>
                </New>
                <Other>
                    <Commission>
                        <Amount currencyCode="GBP" decimalPlace="2">37.45</Amount>
                        <PercentageRate>5.00</PercentageRate>
                        <Text>00500</Text>
                    </Commission>
                </Other>
            </Amounts>
            <Taxes>
                <New>
                    <Tax code="AA">
                        <Amount currencyCode="GBP" decimalPlace="2">79.91</Amount>
                    </Tax>
                    <Tax code="F1">
                        <Amount currencyCode="GBP" decimalPlace="2">47.58</Amount>
                    </Tax>
                    <Tax code="XY">
                        <Amount currencyCode="GBP" decimalPlace="2">25.45</Amount>
                    </Tax>
                </New>
            </Taxes>
            <Payment sequence="1" type="CC">
                <Total>
                    <Amount currencyCode="GBP" decimalPlace="2">100.90</Amount>
                </Total>
                <Card cardType="AX">
                    <MaskedCardNumber>XXXXXXXXXXX0015</MaskedCardNumber>
                    <ExpireDate>1103</ExpireDate>
                    <ApprovalCode source="M">12345</ApprovalCode>
                </Card>
            </Payment>
            <FareCalculation>
                <New>FARE CALC END</New>
            </FareCalculation>
        </Ticket>
    </DocumentDetailsDisplay>
</GetElectronicDocumentRS>