POST api/AirlineData/ReceiveAirlineData

Request Information

URI Parameters

None.

Body Parameters

Collection of AirlineDataAPIModel
NameDescriptionTypeAdditional information
Id

integer

None.

CallSignFlightNo

string

Required

FlightDateTime

date

Required

OperatorName

string

Required

OperatorDesignator

string

Required

OperatorAccountingCode

string

None.

AWBDate

date

Required

AWBIssuingAirline

string

Required

AWBSerialNumber

string

Required

AWBCheckDigit

integer

Required

Range: inclusive between 0 and 1.79769313486232E+308

BilledWeight

decimal number

Required

RatePerKGNetofSalesTax

decimal number

Required

AircraftRegistrationNo

string

Required

FromAirportCode

string

Required

ToAirportCode

string

Required

TaxableAmount

decimal number

Required

Range: inclusive between 0 and 1.79769313486232E+308

TaxAmount

decimal number

None.

CurrencyCode

string

Required

Min length: 3

String length: inclusive between 0 and 3

TotalAWBRevenue

decimal number

None.

OtherCharges

decimal number

None.

TotalRevenue

decimal number

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "CallSignFlightNo": "sample string 2",
    "FlightDateTime": "2025-08-29T02:17:27.5131278+00:00",
    "OperatorName": "sample string 3",
    "OperatorDesignator": "sample string 4",
    "OperatorAccountingCode": "sample string 5",
    "AWBDate": "2025-08-29T02:17:27.5131278+00:00",
    "AWBIssuingAirline": "sample string 6",
    "AWBSerialNumber": "sample string 7",
    "AWBCheckDigit": 8,
    "BilledWeight": 1.0,
    "RatePerKGNetofSalesTax": 1.0,
    "AircraftRegistrationNo": "sample string 9",
    "FromAirportCode": "sample string 10",
    "ToAirportCode": "sample string 11",
    "TaxableAmount": 12.0,
    "TaxAmount": 13.0,
    "CurrencyCode": "sample string 14",
    "TotalAWBRevenue": 15.0,
    "OtherCharges": 16.0,
    "TotalRevenue": 17.0
  },
  {
    "Id": 1,
    "CallSignFlightNo": "sample string 2",
    "FlightDateTime": "2025-08-29T02:17:27.5131278+00:00",
    "OperatorName": "sample string 3",
    "OperatorDesignator": "sample string 4",
    "OperatorAccountingCode": "sample string 5",
    "AWBDate": "2025-08-29T02:17:27.5131278+00:00",
    "AWBIssuingAirline": "sample string 6",
    "AWBSerialNumber": "sample string 7",
    "AWBCheckDigit": 8,
    "BilledWeight": 1.0,
    "RatePerKGNetofSalesTax": 1.0,
    "AircraftRegistrationNo": "sample string 9",
    "FromAirportCode": "sample string 10",
    "ToAirportCode": "sample string 11",
    "TaxableAmount": 12.0,
    "TaxAmount": 13.0,
    "CurrencyCode": "sample string 14",
    "TotalAWBRevenue": 15.0,
    "OtherCharges": 16.0,
    "TotalRevenue": 17.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfAirlineDataAPIModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cargo.Data.Model">
  <AirlineDataAPIModel>
    <AWBCheckDigit>8</AWBCheckDigit>
    <AWBDate>2025-08-29T02:17:27.5131278+00:00</AWBDate>
    <AWBIssuingAirline>sample string 6</AWBIssuingAirline>
    <AWBSerialNumber>sample string 7</AWBSerialNumber>
    <AircraftRegistrationNo>sample string 9</AircraftRegistrationNo>
    <BilledWeight>1</BilledWeight>
    <CallSignFlightNo>sample string 2</CallSignFlightNo>
    <CurrencyCode>sample string 14</CurrencyCode>
    <FlightDateTime>2025-08-29T02:17:27.5131278+00:00</FlightDateTime>
    <FromAirportCode>sample string 10</FromAirportCode>
    <Id>1</Id>
    <OperatorAccountingCode>sample string 5</OperatorAccountingCode>
    <OperatorDesignator>sample string 4</OperatorDesignator>
    <OperatorName>sample string 3</OperatorName>
    <OtherCharges>16</OtherCharges>
    <RatePerKGNetofSalesTax>1</RatePerKGNetofSalesTax>
    <TaxAmount>13</TaxAmount>
    <TaxableAmount>12</TaxableAmount>
    <ToAirportCode>sample string 11</ToAirportCode>
    <TotalAWBRevenue>15</TotalAWBRevenue>
    <TotalRevenue>17</TotalRevenue>
  </AirlineDataAPIModel>
  <AirlineDataAPIModel>
    <AWBCheckDigit>8</AWBCheckDigit>
    <AWBDate>2025-08-29T02:17:27.5131278+00:00</AWBDate>
    <AWBIssuingAirline>sample string 6</AWBIssuingAirline>
    <AWBSerialNumber>sample string 7</AWBSerialNumber>
    <AircraftRegistrationNo>sample string 9</AircraftRegistrationNo>
    <BilledWeight>1</BilledWeight>
    <CallSignFlightNo>sample string 2</CallSignFlightNo>
    <CurrencyCode>sample string 14</CurrencyCode>
    <FlightDateTime>2025-08-29T02:17:27.5131278+00:00</FlightDateTime>
    <FromAirportCode>sample string 10</FromAirportCode>
    <Id>1</Id>
    <OperatorAccountingCode>sample string 5</OperatorAccountingCode>
    <OperatorDesignator>sample string 4</OperatorDesignator>
    <OperatorName>sample string 3</OperatorName>
    <OtherCharges>16</OtherCharges>
    <RatePerKGNetofSalesTax>1</RatePerKGNetofSalesTax>
    <TaxAmount>13</TaxAmount>
    <TaxableAmount>12</TaxableAmount>
    <ToAirportCode>sample string 11</ToAirportCode>
    <TotalAWBRevenue>15</TotalAWBRevenue>
    <TotalRevenue>17</TotalRevenue>
  </AirlineDataAPIModel>
</ArrayOfAirlineDataAPIModel>

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 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.