Ticket List API Reference
Get |
receipt/reservations/{LocatorCode}/receipts For {LocatorCode} send the locator code of the reservation to retrieve (returned in the workbench commit in Confirmation/Locator/value). Base path: Pre-production https://api.pp.travelport.com/11/air/ Production https://api.travelport.com/11/air/ |
Related Content: Ticket Cancel, Refund, & Exchange Guide
Send a ticket list request to return a list of all ticket numbers on a reservation. Does not return ticket details.
Also see:
-
To return ticket details for one individual ticket, send aTicket Retrieve request.
-
To retrieve all reservation details by ticket number, send a Reservation Retrieve request with the ticket number.
Request
Also see Authorization and Common Headers.
The Ticket List API requires a GET request with the ticket number to the endpoint above. There are no query parameters or message payload.
Response
For each ticket on the requested reservation, the response returns the traveler name and the ticket number, returning the objects detailed in the table below.
Object |
Description |
---|---|
ReceiptListResponse |
Top level object. Includes the ReceiptID object. |
ReceiptID |
Contains all ticketing details. One instance is returned for each ticket on the reservation. |
Document |
Top level object. |
Number |
Ticket number. |
Example Request
There is no message payload. The GET request looks like:
Example Response
The response returns the ticket number for each ticket on the requested reservation. The following examples returns two ticket numbers.
{
"ReceiptListResponse": {
"ReceiptID": [
{
"@type": "ReceiptPayment",
"Document": [
{
"@type": "Document",
"Number": "0163767353086"
},
{
"@type": "Document",
"Number": "0163767353087"
}
]
}
]
}
}