POST api/avioes/gerarLugares

Gera lugares para um avião com base nos parâmetros fornecidos.

Request Information

URI Parameters

None.

Body Parameters

Parâmetros para geração dos lugares

GerarlugaresRequest
NameDescriptionTypeAdditional information
Id

integer

None.

Economicos

integer

None.

Executivos

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Economicos": 2,
  "Executivos": 3
}

application/xml, text/xml

Sample:
<GerarlugaresRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AeronauticaAPI.Models">
  <Economicos>2</Economicos>
  <Executivos>3</Executivos>
  <Id>1</Id>
</GerarlugaresRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Resultado da operação

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.