GET api/Voos

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Voo
NameDescriptionTypeAdditional information
Id

integer

None.

Numero

string

None.

AviaoId

integer

None.

OrigemId

integer

None.

DestinoId

integer

None.

Partida

date

None.

Chegada

date

None.

Preco

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Numero": "sample string 2",
    "AviaoId": 1,
    "OrigemId": 1,
    "DestinoId": 1,
    "Partida": "2026-08-26T22:42:45.9117425-05:00",
    "Chegada": "2026-08-26T22:42:45.9117425-05:00",
    "Preco": 8.0
  },
  {
    "Id": 1,
    "Numero": "sample string 2",
    "AviaoId": 1,
    "OrigemId": 1,
    "DestinoId": 1,
    "Partida": "2026-08-26T22:42:45.9117425-05:00",
    "Chegada": "2026-08-26T22:42:45.9117425-05:00",
    "Preco": 8.0
  }
]