POST api/Flight/PrefferdAirline

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
pfa
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Action": 0,
  "pfa": {
    "Id": 1,
    "OriginCity": "sample string 2",
    "DestinationCity": "sample string 3",
    "Airlines": "sample string 4",
    "Active": true
  }
}

application/xml, text/xml

Sample:
<PrefferdAirlineModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Action>add</Action>
  <pfa>
    <Id>1</Id>
    <OriginCity>sample string 2</OriginCity>
    <DestinationCity>sample string 3</DestinationCity>
    <Airlines>sample string 4</Airlines>
    <Active>true</Active>
  </pfa>
</PrefferdAirlineModel>

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