PUT api/Bilhetes

Request Information

URI Parameters

None.

Body Parameters

Bilhete
NameDescriptionTypeAdditional information
Id

integer

None.

VooId

integer

None.

PassageiroId

integer

None.

Lugar

string

None.

DataCompra

date

None.

PrecoPago

decimal number

None.

MetodoPagamento

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "VooId": 1,
  "PassageiroId": 1,
  "Lugar": "sample string 4",
  "DataCompra": "2026-10-22T12:23:17.5882242-05:00",
  "PrecoPago": 6.0,
  "MetodoPagamento": "sample string 7"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.