PUT api/Voos
Request Information
URI Parameters
None.
Body Parameters
Voo| Name | Description | Type | Additional 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. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Numero": "sample string 2",
"AviaoId": 1,
"OrigemId": 1,
"DestinoId": 1,
"Partida": "2026-08-27T03:49:13.1863739-05:00",
"Chegada": "2026-08-27T03:49:13.1863739-05:00",
"Preco": 8.0
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.