Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titleClose example (note the cancel is very similar)
$ /usr/bin/curl -k -A "Mozilla/5.0" -i --header "Authorization: Basic bWVAbGV0bWVpbi5jb206TXlQYXNzdzByZCE=" --data "includeCodedMessages=true" "http://www.elabs.testafss.net/Website2/rest/FP/298351728_447141_1053/close" -v

{"returnCodedMessage":[],"returnMessage":[],"returnStatus":true}

Cancelling a flight plan is done before the flight plan is activated.  Closing a flight plan is done after the flight plan is activated.  An additional parameter is required if the flightplan is overdue based on the current ETA (closeDestinationInfo)