GET api/tickets/availableByFlightAndSeat?flightId={flightId}&seatId={seatId}

Gets an available ticket for a given flight and seat that is not assigned to any client.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
flightId

The flight ID to search tickets for.

integer

Required

seatId

The seat ID to search tickets for.

integer

Required

Body Parameters

None.

Response Information

Resource Description

Returns the available ticket if found, or a not found response.

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.