List Distance Targeting Geometries

Why List Distance Targeting Geometries?

You may find it useful to occasionally review all distance targeting geometry objects associated with a flight to determine if you would like to make changes to the object being used for distance targeting. The Kevel API enables you to return a list of all distance targeting geometry objects associated with a specific flight. You simply need to make a GET request to the Distance Targeting Geometries API endpoint and include the FlightID and distance parameters.

The JSON response will include all distance targeting geometry objects for that flight.

API Syntax

When using the List Distance Targeting Geometries API endpoint, it is important to understand the syntax required to make the request. Because the Kevel API is a RESTful API, there is a specific request format that must be followed to ensure the endpoint can process the request. The format is:

GET https://api.kevel.co/v1/flight/{FlightID}/distance

Where:

  • GET - the type of API request being made.
  • https://api.kevel.co - the URL for the request.
  • v1 - the API version.
  • flight - the API endpoint being called.
  • FlightID - the ID associated with the flight.
  • distance - the distance targeting geometry object that contains the Distance, Latitude, Longitude, and StreetAddress body parameters used for distance targeting.
Language
Authorization
Header