POST api/Manifest/SaveFlights
Request Information
URI Parameters
None.
Body Parameters
Collection of AirlineFlightsName | Description | Type | Additional information |
---|---|---|---|
Airline | string |
None. |
|
Selected | Collection of string |
None. |
|
Flights | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "Airline": "sample string 1", "Selected": [ "sample string 1", "sample string 2" ], "Flights": [ "sample string 1", "sample string 2" ] }, { "Airline": "sample string 1", "Selected": [ "sample string 1", "sample string 2" ], "Flights": [ "sample string 1", "sample string 2" ] } ]
application/xml, text/xml
Sample:
<ArrayOfAirlineFlights xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cargo.Data.Model"> <AirlineFlights> <Airline>sample string 1</Airline> <Flights xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Flights> <Selected xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Selected> </AirlineFlights> <AirlineFlights> <Airline>sample string 1</Airline> <Flights xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Flights> <Selected xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Selected> </AirlineFlights> </ArrayOfAirlineFlights>
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.