POST api/Flight/Delete?flightId={flightId}
Deletes a flight; Removes all connection to this particular flight
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| flightId |
supply the ID of the flight to be deleted |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json
Sample:
{
"Status": true,
"ErrorMessages": []
}
text/json
Sample:
{
"Status": false,
"ErrorMessages": [
"All errors recorded here"
]
}