POST api/Airport/InArea
Request Information
URI Parameters
None.
Body Parameters
GetAirportsInAreaParmName | Description | Type | Additional information |
---|---|---|---|
auth | string |
None. |
|
CountryID | string |
None. |
|
AirportID | string |
None. |
|
PostalCode | string |
None. |
|
IncludeDistance | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "auth": "sample string 1", "CountryID": "sample string 2", "AirportID": "sample string 3", "PostalCode": "sample string 4", "IncludeDistance": true }
application/xml, text/xml
Sample:
<GetAirportsInAreaParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models"> <AirportID>sample string 3</AirportID> <CountryID>sample string 2</CountryID> <IncludeDistance>true</IncludeDistance> <PostalCode>sample string 4</PostalCode> <auth>sample string 1</auth> </GetAirportsInAreaParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetAirportsInAreaRespName | Description | Type | Additional information |
---|---|---|---|
IsSuccessful | boolean |
None. |
|
ErrorMessage | string |
None. |
|
Airports | Collection of AirportWithDistanceItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccessful": true, "ErrorMessage": "sample string 2", "Airports": [ { "AirportID": "sample string 1", "Name": "sample string 2", "City": "sample string 3", "CountryID": "sample string 4", "IATACode": "sample string 5", "ICAOCode": "sample string 6", "IsMajorAirport": true, "Latitude": 1.0, "Longitude": 1.0, "WeatherStationCode": "sample string 8", "StateProvID": "sample string 9", "FAACode": "sample string 10", "PostalCode": "sample string 11", "Street1": "sample string 12", "Street2": "sample string 13", "WeatherZone": "sample string 14", "IATACityCode": "sample string 15", "TimezoneID": "sample string 16", "Distance": 17, "DistanceUOM": "sample string 18", "AirportIDAndDistance": "sample string 19" }, { "AirportID": "sample string 1", "Name": "sample string 2", "City": "sample string 3", "CountryID": "sample string 4", "IATACode": "sample string 5", "ICAOCode": "sample string 6", "IsMajorAirport": true, "Latitude": 1.0, "Longitude": 1.0, "WeatherStationCode": "sample string 8", "StateProvID": "sample string 9", "FAACode": "sample string 10", "PostalCode": "sample string 11", "Street1": "sample string 12", "Street2": "sample string 13", "WeatherZone": "sample string 14", "IATACityCode": "sample string 15", "TimezoneID": "sample string 16", "Distance": 17, "DistanceUOM": "sample string 18", "AirportIDAndDistance": "sample string 19" } ] }
application/xml, text/xml
Sample:
<GetAirportsInAreaResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models"> <Airports> <AirportWithDistanceItem> <AirportID>sample string 1</AirportID> <AirportIDAndDistance>sample string 19</AirportIDAndDistance> <City>sample string 3</City> <CountryID>sample string 4</CountryID> <Distance>17</Distance> <DistanceUOM>sample string 18</DistanceUOM> <FAACode>sample string 10</FAACode> <IATACityCode>sample string 15</IATACityCode> <IATACode>sample string 5</IATACode> <ICAOCode>sample string 6</ICAOCode> <IsMajorAirport>true</IsMajorAirport> <Latitude>1</Latitude> <Longitude>1</Longitude> <Name>sample string 2</Name> <PostalCode>sample string 11</PostalCode> <StateProvID>sample string 9</StateProvID> <Street1>sample string 12</Street1> <Street2>sample string 13</Street2> <TimezoneID>sample string 16</TimezoneID> <WeatherStationCode>sample string 8</WeatherStationCode> <WeatherZone>sample string 14</WeatherZone> </AirportWithDistanceItem> <AirportWithDistanceItem> <AirportID>sample string 1</AirportID> <AirportIDAndDistance>sample string 19</AirportIDAndDistance> <City>sample string 3</City> <CountryID>sample string 4</CountryID> <Distance>17</Distance> <DistanceUOM>sample string 18</DistanceUOM> <FAACode>sample string 10</FAACode> <IATACityCode>sample string 15</IATACityCode> <IATACode>sample string 5</IATACode> <ICAOCode>sample string 6</ICAOCode> <IsMajorAirport>true</IsMajorAirport> <Latitude>1</Latitude> <Longitude>1</Longitude> <Name>sample string 2</Name> <PostalCode>sample string 11</PostalCode> <StateProvID>sample string 9</StateProvID> <Street1>sample string 12</Street1> <Street2>sample string 13</Street2> <TimezoneID>sample string 16</TimezoneID> <WeatherStationCode>sample string 8</WeatherStationCode> <WeatherZone>sample string 14</WeatherZone> </AirportWithDistanceItem> </Airports> <ErrorMessage>sample string 2</ErrorMessage> <IsSuccessful>true</IsSuccessful> </GetAirportsInAreaResp>