POST api/AirlineData/Save
Request Information
URI Parameters
None.
Body Parameters
Collection of AirlineDataModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
OperatorName | string |
Required |
|
FlightDate | date |
Required |
|
CallSignFlightNo | string |
Required |
|
FromAirportCode | string |
Required |
|
ToAirportCode | string |
Required |
|
CargoWeight | decimal number |
Required |
|
RateKGM | decimal number |
Required |
|
AWBDate | date |
Required |
|
AwbNo | string |
Required Min length: 5 |
|
AircraftTypeCodeICAO | string |
None. |
|
AircraftRegisteration | string |
None. |
|
CurrencyCode | string |
Required Min length: 3 String length: inclusive between 0 and 3 |
Request Formats
application/json, text/json
Sample:
[ { "Id": 1, "OperatorName": "sample string 2", "FlightDate": "2025-08-29T02:11:12.2680852+00:00", "CallSignFlightNo": "sample string 3", "FromAirportCode": "sample string 4", "ToAirportCode": "sample string 5", "CargoWeight": 1.0, "RateKGM": 1.0, "AWBDate": "2025-08-29T02:11:12.2680852+00:00", "AwbNo": "sample string 6", "AircraftTypeCodeICAO": "sample string 7", "AircraftRegisteration": "sample string 8", "CurrencyCode": "sample string 9" }, { "Id": 1, "OperatorName": "sample string 2", "FlightDate": "2025-08-29T02:11:12.2680852+00:00", "CallSignFlightNo": "sample string 3", "FromAirportCode": "sample string 4", "ToAirportCode": "sample string 5", "CargoWeight": 1.0, "RateKGM": 1.0, "AWBDate": "2025-08-29T02:11:12.2680852+00:00", "AwbNo": "sample string 6", "AircraftTypeCodeICAO": "sample string 7", "AircraftRegisteration": "sample string 8", "CurrencyCode": "sample string 9" } ]
application/xml, text/xml
Sample:
<ArrayOfAirlineDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cargo.Data.Model"> <AirlineDataModel> <AWBDate>2025-08-29T02:11:12.2680852+00:00</AWBDate> <AircraftRegisteration>sample string 8</AircraftRegisteration> <AircraftTypeCodeICAO>sample string 7</AircraftTypeCodeICAO> <AwbNo>sample string 6</AwbNo> <CallSignFlightNo>sample string 3</CallSignFlightNo> <CargoWeight>1</CargoWeight> <CurrencyCode>sample string 9</CurrencyCode> <FlightDate>2025-08-29T02:11:12.2680852+00:00</FlightDate> <FromAirportCode>sample string 4</FromAirportCode> <Id>1</Id> <OperatorName>sample string 2</OperatorName> <RateKGM>1</RateKGM> <ToAirportCode>sample string 5</ToAirportCode> </AirlineDataModel> <AirlineDataModel> <AWBDate>2025-08-29T02:11:12.2680852+00:00</AWBDate> <AircraftRegisteration>sample string 8</AircraftRegisteration> <AircraftTypeCodeICAO>sample string 7</AircraftTypeCodeICAO> <AwbNo>sample string 6</AwbNo> <CallSignFlightNo>sample string 3</CallSignFlightNo> <CargoWeight>1</CargoWeight> <CurrencyCode>sample string 9</CurrencyCode> <FlightDate>2025-08-29T02:11:12.2680852+00:00</FlightDate> <FromAirportCode>sample string 4</FromAirportCode> <Id>1</Id> <OperatorName>sample string 2</OperatorName> <RateKGM>1</RateKGM> <ToAirportCode>sample string 5</ToAirportCode> </AirlineDataModel> </ArrayOfAirlineDataModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.