Void a Ticket (GDS)

The TicketVoid API voids a ticketed GDS PNR. It requires a POST request with the ticketing identifier.

Voiding a ticket cancels the ticket and is based on rules for the market in which the ticket was issued. Generally a ticket can be voided within the same day it was issued, usually up to midnight local agency time. In some instances it may be voided up to midnight of the day after ticketing, or special holiday policies may apply. AirTicketing does not support canceling a GDS itinerary outside the void period.

To cancel an NDC itinerary, see Cancel Ticket for NDC.

In this topic:

TicketVoid Request

The TicketVoid API requires a PUT request with the ticketing identifier and the payload below.

Query Parameters

None.

POST Request

Send the POST request to the following resource:

Put ticket/tickets//updatestatus/{ticketID}

Base path:

Pre-production https://api.pp.travelport.com/9/air/

Production https://api.travelport.com/9/air/

Payload

Send the following payload for the PUT request.

{
  "TicketQueryUpdateTicket" : {
   
  }
}

TicketVoid Response

The TicketVoid response returns a result status and a settlement authorization code.

Object Description

TicketIdResponse

Top level object for response. Returns the following attribute:

  • SettlementAuthorizationCode: The settlement authorization code from ticket issuance.

Contains the Result object

Result

Returns the status of the void request in the status attribute. If the ticket was successfully voided, status returns a value of Complete. If the ticket was not voided, an error message specific to the failure reason is returned.

Example TicketVoid Response

The example below returns a status of Complete. A settlement authorization code may or may not be returned.

{
    "TicketIdResponse": {
        "Result": {
            "status": "Complete"
        },
        "SettlementAuthorizationCode": "125ZBHKCZD3S3"
    }
}