POST api/FieldData/Save
Request Information
URI Parameters
None.
Body Parameters
Collection of FieldDataModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
AirlineName | string |
Required |
|
CapturedDate | date |
Required |
|
AirlineRepName | string |
Required |
|
NatureOfGoods | string |
Required |
|
AirwaybillMailCargobagNo | string |
Required |
|
Departure | string |
Required Min length: 3 |
|
Destination | string |
Required Min length: 3 |
|
Weight | decimal number |
Required |
|
FiledRate | decimal number |
Required |
|
TypeId | integer |
Required Range: inclusive between 1 and 3 |
|
FlightDate | date |
Required |
Request Formats
application/json, text/json
Sample:
[ { "Id": 1, "AirlineName": "sample string 2", "CapturedDate": "2025-08-29T02:09:09.2681044+00:00", "AirlineRepName": "sample string 4", "NatureOfGoods": "sample string 5", "AirwaybillMailCargobagNo": "sample string 6", "Departure": "sample string 7", "Destination": "sample string 8", "Weight": 1.0, "FiledRate": 1.0, "TypeId": 9, "FlightDate": "2025-08-29T02:09:09.2681044+00:00" }, { "Id": 1, "AirlineName": "sample string 2", "CapturedDate": "2025-08-29T02:09:09.2681044+00:00", "AirlineRepName": "sample string 4", "NatureOfGoods": "sample string 5", "AirwaybillMailCargobagNo": "sample string 6", "Departure": "sample string 7", "Destination": "sample string 8", "Weight": 1.0, "FiledRate": 1.0, "TypeId": 9, "FlightDate": "2025-08-29T02:09:09.2681044+00:00" } ]
application/xml, text/xml
Sample:
<ArrayOfFieldDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cargo.Data.Model"> <FieldDataModel> <AirlineName>sample string 2</AirlineName> <AirlineRepName>sample string 4</AirlineRepName> <AirwaybillMailCargobagNo>sample string 6</AirwaybillMailCargobagNo> <CapturedDate>2025-08-29T02:09:09.2681044+00:00</CapturedDate> <Departure>sample string 7</Departure> <Destination>sample string 8</Destination> <FiledRate>1</FiledRate> <FlightDate>2025-08-29T02:09:09.2681044+00:00</FlightDate> <Id>1</Id> <NatureOfGoods>sample string 5</NatureOfGoods> <TypeId>9</TypeId> <Weight>1</Weight> </FieldDataModel> <FieldDataModel> <AirlineName>sample string 2</AirlineName> <AirlineRepName>sample string 4</AirlineRepName> <AirwaybillMailCargobagNo>sample string 6</AirwaybillMailCargobagNo> <CapturedDate>2025-08-29T02:09:09.2681044+00:00</CapturedDate> <Departure>sample string 7</Departure> <Destination>sample string 8</Destination> <FiledRate>1</FiledRate> <FlightDate>2025-08-29T02:09:09.2681044+00:00</FlightDate> <Id>1</Id> <NatureOfGoods>sample string 5</NatureOfGoods> <TypeId>9</TypeId> <Weight>1</Weight> </FieldDataModel> </ArrayOfFieldDataModel>
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.