POST api/Flight/Delete?flightId={flightId}

Deletes a flight; Removes all connection to this particular flight

Request Information

URI Parameters

NameDescriptionTypeAdditional information
flightId

supply the ID of the flight to be deleted

integer

Required

Body Parameters

None.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json

Sample:
{
  "Status": true,
  "ErrorMessages": []
}

text/json

Sample:
{
  "Status": false,
  "ErrorMessages": [
    "All errors recorded here"
  ]
}