POST api/Airline/Save

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
model
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Code": "sample string 3",
  "AviationCode": "sample string 4",
  "IsLocal": true,
  "Carrier": true,
  "TicketFormat": "sample string 5",
  "AirlineSisId": "sample string 6",
  "ShortName": "sample string 7",
  "NameAndCode": "sample string 2 (sample string 3)",
  "ExpectedMinPax": 8,
  "ExpectedMaxPax": 9,
  "ExpectedMinFlights": 10,
  "ExpectedMaxFlights": 11
}

application/xml, text/xml

Sample:
<AirlineModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AviationData.Logic.Models">
  <AirlineSisId>sample string 6</AirlineSisId>
  <AviationCode>sample string 4</AviationCode>
  <Carrier>true</Carrier>
  <Code>sample string 3</Code>
  <ExpectedMaxFlights>11</ExpectedMaxFlights>
  <ExpectedMaxPax>9</ExpectedMaxPax>
  <ExpectedMinFlights>10</ExpectedMinFlights>
  <ExpectedMinPax>8</ExpectedMinPax>
  <Id>1</Id>
  <IsLocal>true</IsLocal>
  <Name>sample string 2</Name>
  <ShortName>sample string 7</ShortName>
  <TicketFormat>sample string 5</TicketFormat>
</AirlineModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AirlineModel'.

Response Information

No documentation available.

Response body formats

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

Sample:

Sample not available.