Create departure-api.php