POST api/Flight/Citylist
Request Information
URI Parameters
None.
Body Parameters
CityRequestName | Description | Type | Additional information |
---|---|---|---|
SessionID | string |
Required |
|
City | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "SessionID": "sample string 2", "City": "sample string 3" }
application/xml, text/xml
Sample:
<CityRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ClientCode>sample string 1</ClientCode> <SessionID>sample string 2</SessionID> <City>sample string 3</City> </CityRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of FlightCityListName | Description | Type | Additional information |
---|---|---|---|
City | string |
None. |
|
AirportCode | string |
None. |
|
AirportName | string |
None. |
|
CountryCode | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "City": "sample string 1", "AirportCode": "sample string 2", "AirportName": "sample string 3", "CountryCode": "sample string 4" }, { "City": "sample string 1", "AirportCode": "sample string 2", "AirportName": "sample string 3", "CountryCode": "sample string 4" } ]
application/xml, text/xml
Sample:
<ArrayOfFlightCityList xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <FlightCityList> <City>sample string 1</City> <AirportCode>sample string 2</AirportCode> <AirportName>sample string 3</AirportName> <CountryCode>sample string 4</CountryCode> <Trip>sample string 5</Trip> </FlightCityList> <FlightCityList> <City>sample string 1</City> <AirportCode>sample string 2</AirportCode> <AirportName>sample string 3</AirportName> <CountryCode>sample string 4</CountryCode> <Trip>sample string 5</Trip> </FlightCityList> </ArrayOfFlightCityList>