PUT api/tickets/{ticketId}/cancel

Cancels a ticket by setting its client assignment and payment information to null, if the flight has not already departed or is imminent.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ticketId

The ID of the ticket to cancel.

integer

Required

Body Parameters

None.

Response Information

Resource Description

Returns an HTTP response indicating the result of the cancellation request.

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.