Ticket Cancel

This guide will help you understand the NDC API workflow for cancelling the ticket issued against the booking. You can cancel your ticket after they are issued and a ticket number is allotted.

What do you need to start?

You need various payload data that you can obtain from the responses you receive during the booking process.

Visit our Ticket user guide, if you haven’t yet learned how to create a booking and getting your ticket.

Step 1. Cancelling the Ticket

You can cancel the ticket after it is issued. You need to provide OrderID, GdsBookingReference, and the TicketNumber for this request.

Visit AirTicketVoid endpoint to know more about Air ticket void and the relevant parameters.

 curl --location --request POST 'http://newapi.tltid.com/AirTicketVoid' \
--header 'Content-Type: application/json' \
--header 'Authorization: <$auth_token>' \
--data-raw '{
    "AirTicketVoidRQ": {
        "Query": {
            "OrderID": "P45OWWVA",
            "GdsBookingReference": [
                "QCOMGE"
            ],
            "TicketNumber": [
                "6073737614808"
            ],
            "NeedToCancelBooking": "N"
        }
    }
}'

What will you get in return?

As a result of this request you will get the ticket number and type in return.

Parameters: While passing the request payload, you must provide values for the parameters like OrderID, GDSBookingReference, and the TicketNumber.

This way you can complete the Ticket cancel workflow.