Document History API Reference

POST

documents/history

Base path:

Note the following base path does not include air and varies from other JSON Air APIs.

Pre-production https://api.pp.travelport.com/11/

Production https://api.travelport.com/11/

Related Content: Air Booking Guide

Document History retrieves the history of up to six documents associated with a record locator code. This request can retrieve this information even after the booking and tickets are purged from the airline's database. The response can return the following documents as applicable:

Request

Query Parameters

None.

Request Body

You can send only the booking locator code, which returns up to six documents associated with that booking, or the locator code plus a specific document number to return only that document.

Response

Th.

The objects returned in documentHistories can vary according to the type of document. See the developer toolkits for the Swagger files for full specifications.

Example Request

For additional examples and scenarios, download the developer toolkits and see Using Postman and Developer Toolkits.

The request payload requires the locator code. Sending one ore more document numbers associated with that locator code is optional.

Example Response

For additional examples and scenarios, download the developer toolkits and see Using Postman and Developer Toolkits.

In response to a request that sends a record locator and a specific ticket number, the following response returns one instance of documentHistories, for the requested document.

In response to a request that sends only a record locator, the following response returns tickets and an invoice associated with that locator.