{
"flightId": "string",
"targetLongitude": -180,
"targetLatitude": -90,
"targetHeight": 2,
"securityTakeoffHeight": 2,
"rthAltitude": 2,
"rcLostAction": "HOVER",
"exitWaylineWhenRcLost": "CONTINUE",
"maxSpeed": 1,
"rthMode": "OPTIMAL_HEIGHT",
"commanderModeLostAction": "CONTINUE",
"commanderFlightMode": "SMART_HEIGHT",
"commanderFlightHeight": 2
}curl --location '/control/api/v1/devices//jobs/takeoff-to-point' \
--header 'x-auth-token: {{token}}' \
--header 'Content-Type: application/json' \
--data '{
"flightId": "string",
"targetLongitude": -180,
"targetLatitude": -90,
"targetHeight": 2,
"securityTakeoffHeight": 2,
"rthAltitude": 2,
"rcLostAction": "HOVER",
"exitWaylineWhenRcLost": "CONTINUE",
"maxSpeed": 1,
"rthMode": "OPTIMAL_HEIGHT",
"commanderModeLostAction": "CONTINUE",
"commanderFlightMode": "SMART_HEIGHT",
"commanderFlightHeight": 2
}'{
"code": 0,
"message": "",
"data": {}
}