PUT api/Airplanes/{id}

Update an existing airplane

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Airplane
NameDescriptionTypeAdditional information
Id

integer

None.

Brand

string

None.

Model

string

None.

EconomySeats

integer

None.

BusinessSeats

integer

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Brand": "sample string 2",
  "Model": "sample string 3",
  "EconomySeats": 4,
  "BusinessSeats": 5,
  "IsActive": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

200 OK

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.