POST api/AirlineConfig/AddGeneralAirlineConfig

Request Information

URI Parameters

None.

Body Parameters

GeneralAirlineConfig
NameDescriptionTypeAdditional information
AirlineName

string

None.

Name

string

None.

Value

string

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AirlineName": "sample string 1",
  "Name": "sample string 2",
  "Value": "sample string 3",
  "Id": 4
}

application/xml, text/xml

Sample:
<GeneralAirlineConfig xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cargo.Data.Entities">
  <_x003C_Id_x003E_k__BackingField>4</_x003C_Id_x003E_k__BackingField>
  <AirlineName>sample string 1</AirlineName>
  <Name>sample string 2</Name>
  <Value>sample string 3</Value>
</GeneralAirlineConfig>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.