POST Airline/SearchAirport

Request Information

URI Parameters

None.

Body Parameters

AirportModel
NameDescriptionTypeAdditional information
Name

string

None.

Code

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Code": "sample string 2"
}

application/xml, text/xml

Sample:
<AirportModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Name>sample string 1</Name>
  <Code>sample string 2</Code>
</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

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.