VA APIFlightsCharter
Charter Flight
Charter a flight that does not have an existing schedule
AuthorizationBearer <token>
In: header
numberstring
Match
^[A-Z]{3}[A-Z0-9]{1,}$
departurestring
Match
^[A-Z]{4}$
arrivalstring
Match
^[A-Z]{4}$
routearray<string>
aircraftstring
Match
^[A-Z]{1}[A-Z0-9]{1,3}$
cruiseinteger
Format
int32
Range
0 <= value <= 999
distancenumber
Format
float
Range
0 <= value
typestring
Match
^P|C$
departureTimestring
Match
^(2[0-3]|[01]?[0-9]):([0-5]?[0-9])$
arrivalTimestring
Match
^(2[0-3]|[01]?[0-9]):([0-5]?[0-9])$
Response Body
curl -X POST "https://loading/flights/charter" \ -H "Content-Type: application/json" \ -d '{ "number": "string", "departure": "string", "arrival": "string", "route": [ "string" ], "aircraft": "string", "cruise": 999, "distance": 0.1, "type": "string", "departureTime": "string", "arrivalTime": "string" }'
{
"bidID": 0
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}