POST api/Airplanes

Creates a new airplane

Request Information

URI Parameters

None.

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

201 Created

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.