Airport Vertical

Samples

Sample 1

Create a new airport

  1. Find "POST/airports".
  2. Change all the details in Notepad as per the example below:
{ 
 "name": "Amsterdam Schiphol Airport", 
 "iata-code": "AMS", 
 "icao-code": "EHAM", 
 "country": "NL", 
 "time-zone": "CET", 
 "geo-coordinate": { 
 "latitude": 52.308056, 
 "longitude": 4.764167
 } 
}

After changing the data structure to your needs, you can insert the data.

  1. Run the POST call.
  2. If POST is successfully executed, the response code will be 200. The airport is now created and stored in Aviation Data Hub and accessible at any time.
Sample 2

Query the created airport

For more information regarding filtering, please refer to the ADH User Manual.

  1. Go to "GET/airports/{iata-code}" and prepare it with the parameter set to "AMS".
  2. Execute the GET request and check the server response.
  3. If the execution is successful, you will see the response code 200 and the airport details under the response body.
Sample 3

Adding additional attributes

  1. You can add additional attributes or information by using the previously edited value in Notepad. The additional attributes need to be added in a valid JSON format.
  2. Add the attribute "terminal" in Notepad, as per the example below:
{ 
 "name": "Amsterdam Schiphol Airport", 
 "iata-code": "AMS", 
 "icao-code": "EHAM", 
 "country": "NL", 
 "time-zone": "CET", 
 "geo-coordinate": { 
 "latitude": 52.308056, 
 "longitude": 4.764167
 },
 "terminal": 3
}
  1. Run the POST call.
  2. When the POST request is successfully executed, the response code will be 200. The airport is now updated.
  3. Repeat the steps in Exercise 2 above, and your added attribute will be shown.