v1

latestOpenAPI 3.1.02026-07-2616636641.7 KB

Update Distance Targeting Geometry

put/v1/flight/{FlightID}/distance/{GeometryID}

Path parameters

FlightIDinteger required

The ID of the flight

GeometryIDinteger required

The ID of the Distance Targeting geometry

Request body

Distancenumber float

The radius of the Distance geometry in kilometers. Min: 0.01, Max: 500 Optional on networks withuser-specified radius features enabled; omit for user-specified radius.

Latitudenumber float

The latitude of the Distance point. Saved up to 7 decimal places. Cannot be used with StreetAddress.

Longitudenumber float

The longitude of the Distance point. Saved up to 7 decimal places. Cannot be used with StreetAddress.

StreetAddressstring

The street address of the Distance point. This will be resolved to latitude and longitude. Cannot be used with Latitude and Longitude params.

Response

200

Distanceinteger
StreetAddressstring
FlightIdinteger
Latitudenumber
Longitudenumber
Idinteger

Example response

{
  "Distance": 42,
  "StreetAddress": "1 Kevel Boulevard, Keveltown NC 27701",
  "FlightId": 12345,
  "Latitude": 35.9950488,
  "Longitude": -78.9081815,
  "Id": 123
}