operation:create
{
"name": "Operation 97",
"pilotId": "11a3776c-338b-4c6f-8e9b-9c89ca6ecbc1",
"boundary": {
"type": "Polygon",
"coordinates": [
[
[
-78.55714924875102,
38.15773996731016
],
[
-78.55714924875102,
38.121934862230276
],
[
-78.51075174761395,
38.121934862230276
],
[
-78.51075174761395,
38.15773996731016
],
[
-78.55714924875102,
38.15773996731016
]
]
]
},
"minAltitude": 0,
"maxAltitude": 200,
"startTime": "2024-08-23T20:25:00.000Z",
"endTime": "2024-08-23T21:25:00.000Z",
"aircraftId": "45dbf9a6-8113-4686-b31e-dc2d5af4adde",
"timezone": "America/New_York",
"altitudeUnit": "ALTITUDE_UNIT_FEET",
"altitudeReference": "ALTITUDE_REFERENCE_AGL",
"flightType": "FLIGHT_TYPE_COMMERCIAL",
"desc": "Flight around Charlottesville"
}
curl --location --request POST 'https://airhub-api-sandbox.airspacelink.com/v1/operations' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Operation 97",
"pilotId": "11a3776c-338b-4c6f-8e9b-9c89ca6ecbc1",
"boundary": {
"type": "Polygon",
"coordinates": [
[
[
-78.55714924875102,
38.15773996731016
],
[
-78.55714924875102,
38.121934862230276
],
[
-78.51075174761395,
38.121934862230276
],
[
-78.51075174761395,
38.15773996731016
],
[
-78.55714924875102,
38.15773996731016
]
]
]
},
"minAltitude": 0,
"maxAltitude": 200,
"startTime": "2024-08-23T20:25:00.000Z",
"endTime": "2024-08-23T21:25:00.000Z",
"aircraftId": "45dbf9a6-8113-4686-b31e-dc2d5af4adde",
"timezone": "America/New_York",
"altitudeUnit": "ALTITUDE_UNIT_FEET",
"altitudeReference": "ALTITUDE_REFERENCE_AGL",
"flightType": "FLIGHT_TYPE_COMMERCIAL",
"desc": "Flight around Charlottesville"
}'
{
"id": "97c375b5-5569-4da6-8846-8dc463d50943"
}