Skip to main content

Get Travel Agency Document Api

Ticketing
REST API
Travel Agency
Try Now

What is it?

The Get Travel Agency Document API is designed to provide a quick and easy way for travel agency customers to request the Sabre and/or airline copy of an electronic ticket or Electronic Miscellaneous Document (EMD). The API will retrieve data from the Sabre Ticketing Database (WTDB) and/or the airline’s database (WETR/WEMD). It will return data elements equivalent to those returned in the following ticket/EMD displays.

  • WTDB*T[Ticket/EMD Number or PNR *T reference number]

  • WTDB*T[Ticket/EMD Number or PNR *T reference number]/H

  • WTDB*T[Ticket/EMD Number or PNR *T reference number]/A

  • WTDB*T[Ticket or PNR *T reference number]/N

  • WTDB*T[Ticket or PNR *T reference number]/OB

  • WTDB*T[Ticket or PNR *T reference number]/BAG

  • WETR*T[Ticket Number or PNR *T reference number]

  • WEMD*T[EMD Number or PNR *T reference number]

  • WEMD*T[EMD Number or PNR *T reference number]-[LASTNAME]/[FIRSTNAME]

The API also provides the capability to request a list of ticket/EMD numbers issued for a given Passenger Name Record (PNR).

Why use it?

The Get Travel Agency Document API provides travel agency customers with the capability of retrieving ticket or EMD data from a single service. It also has a powerful feature that provides a list of all tickets and EMDs issued by PNR reference, which brings forth an alternative means of obtaining ticket/EMD numbers to the current method of extraction from the PNR *T line.

How it works

Authenticated users can request for ticket or EMD data issued in their home or branch locations. Based on the request type, data will be returned from the Sabre Ticketing Database (WTDB) and/or the validating carrier’s ticketing database (WETR/WEMD). Note: The data returned when requesting data from the carrier’s database (WETR/WEMD) is the same as that returned in TKT_ElectronicDocumentServicesRQ, but in JSON. The PNR list function interrogates the Sabre Ticketing Database and returns a list of all ticket/EMD numbers for the provided PNR record locator.

How to use

When using this service, a session token is required and it must be embedded within GET request. Only one ticket/EMD number may be entered per request.

Start with an authentication token You must create authentication session to access all endpoints within the Get Travel Agency Document API.

Use the Create Session service for scenarios with a stateful token (ATH). The response from this session generation service (SessionCreateRS) also contains the BinarySecurityToken.

Access The security attribute 'OpenSystemUser' is required for the Employee Profile Record (EPR) to access the API. To request the SIM attribute 'OpenSystemUser' for web services EPR please contact Sabre account manager and for agent EPR please write to Sabre system support (system.support@sabre.com).

The Get Travel Agency Document API supports the following request options:

Important Notes - Agency Managed Commission (AMC)

When AMC has been filed for a given carrier/routing, then the AMC data elements will always be returned, even when AMC is overridden during ticket issuance.

When the ticket is issued with the AMC value that was filed, then the "appliedCommissionMethod" will contain the value “AMC”. When the AMC commission is overridden, then the "appliedCommissionMethod" will contain the value “MANUAL”.

AMC data will be returned per coupon in the “commissionDetails” data elements within each “ServiceCoupons” data section.

Two commission amounts will also be returned. The first, “commission”, under the “otherAmounts” data section will contain the commission applied to the ticket (either the AMC value or the value used to override the AMC value). The second, “commissionAmount”, will contain the AMC commission value that has been filed.

Example - AMC Applied at Issuance

"indicators": {
  "appliedCommissionMethod": "AMC"
  }

  "commissionDetails": {
    "currencyCode": "USD",
    "decimalPlaces": 2,
    "amount": 547.92,
    "providerCode": "AA",
    "ruleIdentifier": "25076",
    "methodIdentifier": "78624",
    "contractIdentifier": "8638",
    "ruleFamilyIdentifier": "25076",
    "contractFamilyIdentifier": "8540"
   }

"otherAmounts": {
  "commission": {
    "currencyCode": "USD",
    "decimalPlaces": 2,
    "amount": 547.92
  },
 }

"commissionAmount": {
  "agency": {
    "decimalPlaces": 2,
    "amount": 547.92,
    "provider": "AA",
    "sourcePcc": "8OBJ"
  },
 }

Example - AMC Overridden at Issuance

"indicators": {
  "appliedCommissionMethod": "MANUAL"
 }

"commissionDetails": {
  "currencyCode": "USD",
  "decimalPlaces": 2,
  "amount": 547.92,
  "providerCode": "AA",
  "ruleIdentifier": "25076",
  "methodIdentifier": "78624",
  "contractIdentifier": "8638",
  "ruleFamilyIdentifier": "25076",
  "contractFamilyIdentifier": "8540"
 }

"otherAmounts": {
  "commission": {
    "currencyCode": "USD",
    "decimalPlaces": 2,
    "amount": 1027.35,
    "percentageRate": 7.5
   },
  }

"commissionAmount": {
  "agency": {
    "decimalPlaces": 2,
    "amount": 547.92,
    "provider": "AA",
    "sourcePcc": "8OBJ"
   },
  }