GET api/ticket/flight/{flightId}
List of every Ticket in a given Flight
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| flightId |
Flight ID |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Action Result
Collection of Ticket| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| IDTicket | string |
None. |
|
| FlightID | integer |
None. |
|
| BookingID | integer |
None. |
|
| PassengerID | integer |
None. |
|
| Seat | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"IDTicket": "sample string 2",
"FlightID": 1,
"BookingID": 1,
"PassengerID": 1,
"Seat": "sample string 6"
},
{
"Id": 1,
"IDTicket": "sample string 2",
"FlightID": 1,
"BookingID": 1,
"PassengerID": 1,
"Seat": "sample string 6"
}
]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.