GET api/voos
Obtém todos os voos existentes.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Lista de voos
Collection of VooName | Description | Type | Additional information |
---|---|---|---|
IdVoo | integer |
None. |
|
IdAeroportoPartida | integer |
None. |
|
IdAeroportoDestino | integer |
None. |
|
IdAviao | integer |
None. |
|
DataPartida | date |
None. |
|
HoraPartida | time interval |
None. |
|
DataChegada | date |
None. |
|
HoraChegada | time interval |
None. |
|
RefeicaoIncluida | string |
None. |
|
PrecoEconomico | decimal number |
None. |
|
PrecoExecutivo | decimal number |
None. |
|
Avioe | Avioe |
None. |
Response Formats
application/json, text/json
Sample:
[ { "IdVoo": 1, "IdAeroportoPartida": 1, "IdAeroportoDestino": 1, "IdAviao": 1, "DataPartida": "2025-06-16T10:49:02.5364188-05:00", "HoraPartida": "00:00:00.1234567", "DataChegada": "2025-06-16T10:49:02.5364188-05:00", "HoraChegada": "00:00:00.1234567", "RefeicaoIncluida": "sample string 9", "PrecoEconomico": 10.0, "PrecoExecutivo": 11.0, "Avioe": { "IdAviao": 1, "Nome": "sample string 2", "Modelo": "sample string 3", "Estado": "sample string 4" } }, { "IdVoo": 1, "IdAeroportoPartida": 1, "IdAeroportoDestino": 1, "IdAviao": 1, "DataPartida": "2025-06-16T10:49:02.5364188-05:00", "HoraPartida": "00:00:00.1234567", "DataChegada": "2025-06-16T10:49:02.5364188-05:00", "HoraChegada": "00:00:00.1234567", "RefeicaoIncluida": "sample string 9", "PrecoEconomico": 10.0, "PrecoExecutivo": 11.0, "Avioe": { "IdAviao": 1, "Nome": "sample string 2", "Modelo": "sample string 3", "Estado": "sample string 4" } } ]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.