POST api/Airport/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",
  "CountryCode": "sample string 4",
  "IsLocal": true,
  "StateCode": "sample string 5",
  "StateName": "sample string 6",
  "Latitude": "sample string 7",
  "Longitude": "sample string 8",
  "NameAndCode": "sample string 2 (sample string 3) ",
  "IsRegional": true
}

application/xml, text/xml

Sample:
<AirportModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AviationData.Logic.Models">
  <Code>sample string 3</Code>
  <CountryCode>sample string 4</CountryCode>
  <Id>1</Id>
  <IsLocal>true</IsLocal>
  <IsRegional>true</IsRegional>
  <Latitude>sample string 7</Latitude>
  <Longitude>sample string 8</Longitude>
  <Name>sample string 2</Name>
  <StateCode>sample string 5</StateCode>
  <StateName>sample string 6</StateName>
</AirportModel>

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 'AirportModel'.

Response Information

No documentation available.

Response body formats

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

Sample:

Sample not available.