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
Name | Description | Type | Additional 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.
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.