POST api/AirlineConfig/MapAirlineColumns

Request Information

URI Parameters

None.

Body Parameters

AirlineFileUploadConfigModel
NameDescriptionTypeAdditional information
AirlineName

string

Required

FlightDateTime

string

Required

CallSign_FlightNo

string

None.

FromAirportCode

string

Required

ToAirportCode

string

Required

CargoWeight

string

Required

RateKGM

string

None.

AWBNo

string

Required

CurrencyCode

string

None.

TotalAmount

string

None.

GrossRevenue

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AirlineName": "sample string 1",
  "FlightDateTime": "sample string 2",
  "CallSign_FlightNo": "sample string 3",
  "FromAirportCode": "sample string 4",
  "ToAirportCode": "sample string 5",
  "CargoWeight": "sample string 6",
  "RateKGM": "sample string 7",
  "AWBNo": "sample string 8",
  "CurrencyCode": "sample string 9",
  "TotalAmount": "sample string 10",
  "GrossRevenue": "sample string 11"
}

application/xml, text/xml

Sample:
<AirlineFileUploadConfigModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cargo.Data.Model">
  <AWBNo>sample string 8</AWBNo>
  <AirlineName>sample string 1</AirlineName>
  <CallSign_FlightNo>sample string 3</CallSign_FlightNo>
  <CargoWeight>sample string 6</CargoWeight>
  <CurrencyCode>sample string 9</CurrencyCode>
  <FlightDateTime>sample string 2</FlightDateTime>
  <FromAirportCode>sample string 4</FromAirportCode>
  <GrossRevenue>sample string 11</GrossRevenue>
  <RateKGM>sample string 7</RateKGM>
  <ToAirportCode>sample string 5</ToAirportCode>
  <TotalAmount>sample string 10</TotalAmount>
</AirlineFileUploadConfigModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.