POST api/AirlineConfig/AddGeneralAirlineConfig

Request Information

URI Parameters

None.

Body Parameters

GeneralAirlineConfig
NameDescriptionTypeAdditional information
Id

integer

None.

AirlineName

string

None.

Name

string

None.

Value

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "AirlineName": "sample string 2",
  "Name": "sample string 3",
  "Value": "sample string 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>1</_x003C_Id_x003E_k__BackingField>
  <AirlineName>sample string 2</AirlineName>
  <Name>sample string 3</Name>
  <Value>sample string 4</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.