Aircraft Schedule
Please, visit our Swagger for a complete list and description of our endpoints.
Return a list of Scheduled activities for an aircraft between two dates.
GET /api/external/aircraft/{tailNumber}/schedule
Use the tail number as a parameter. You can find the tail number by reading the fleet.
Flight
[
{
"id": "flight_52109",
"departureAirport": "OTBD",
"arrivalAirport": "LIRF",
"arrivalDate": "2022-12-28T08:02",
"arrivalDateUTC": "2022-12-28T07:02",
"departureDate": "2022-12-28T05:00",
"departureDateUTC": "2022-12-28T02:00",
"pax": 15,
"tripNumber": 500584,
"workflow": "CHARTER",
"fplType": "N",
"workflowCustomName": "Charter"
}
]
Tasks
[
{
"id": "task_33491",
"departureAirport": "OTBD",
"arrivalAirport": "OTBD",
"arrivalDate": "2022-12-24T02:59",
"arrivalDateUTC": "2022-12-23T23:59",
"departureDate": "2022-12-23T03:00",
"departureDateUTC": "2022-12-23T00:00",
"taskType": "MAINTENANCE",
"seatsAfter": 15
}
]
Example of call with the tail 9H-BOO
[
{
"id": "flight_52109",
"departureAirport": "OTBD",
"arrivalAirport": "LIRF",
"arrivalDate": "2022-12-28T08:02",
"arrivalDateUTC": "2022-12-28T07:02",
"departureDate": "2022-12-28T05:00",
"departureDateUTC": "2022-12-28T02:00",
"pax": 15,
"tripNumber": 500584,
"workflow": "CHARTER",
"fplType": "N",
"workflowCustomName": "Charter"
},
{
"id": "flight_52110",
"departureAirport": "LIRF",
"arrivalAirport": "OTBD",
"arrivalDate": "2022-12-28T16:37",
"arrivalDateUTC": "2022-12-28T13:37",
"departureDate": "2022-12-28T09:35",
"departureDateUTC": "2022-12-28T08:35",
"pax": 0,
"tripNumber": 500584,
"workflow": "CHARTER",
"fplType": "N",
"workflowCustomName": "Charter"
},
{
"id": "task_33491",
"departureAirport": "OTBD",
"arrivalAirport": "OTBD",
"arrivalDate": "2022-12-24T02:59",
"arrivalDateUTC": "2022-12-23T23:59",
"departureDate": "2022-12-23T03:00",
"departureDateUTC": "2022-12-23T00:00",
"taskType": "MAINTENANCE",
"seatsAfter": 15
},
]
When you are referring to the aircraft task and not flights, both arrival and departure airport refer to the same location in which the event(maintenance, AOG, etc) occurs.
More precisely, if I plan maintenance at Fiumicino Airport in Rome, I'm gonna have as departure airport Fiumicino and the departure time will be the start of the event. The arrival airport will still be Fiumicino with a different arrival time.
Type of scheduling activities available in FL3XX as taskType:
- Maintenance
- Unscheduled Maintenance
- Crew Unavailable
- AOG
- Note
- Reserved
- Flight
[
{
"id": "task_33491",
"departureAirport": "OTBD",
"arrivalAirport": "OTBD",
"arrivalDate": "2022-12-24T02:59",
"arrivalDateUTC": "2022-12-23T23:59",
"departureDate": "2022-12-23T03:00",
"departureDateUTC": "2022-12-23T00:00",
"taskType": "MAINTENANCE",
"seatsAfter": 15
},
{
"id": "task_33492",
"departureAirport": "OTBD",
"arrivalAirport": "OTBD",
"arrivalDate": "2022-12-25T02:59",
"arrivalDateUTC": "2022-12-24T23:59",
"departureDate": "2022-12-24T03:00",
"departureDateUTC": "2022-12-24T00:00",
"taskType": "UNSCHEDULED_MAINTENANCE",
"seatsAfter": 15
},
{
"id": "task_33493",
"departureAirport": "OTBD",
"arrivalAirport": "OTBD",
"arrivalDate": "2022-12-26T02:59",
"arrivalDateUTC": "2022-12-25T23:59",
"departureDate": "2022-12-25T03:00",
"departureDateUTC": "2022-12-25T00:00",
"taskType": "RESERVED",
"seatsAfter": 15
},
{
"id": "task_33494",
"departureAirport": "OTBD",
"arrivalAirport": "OTBD",
"arrivalDate": "2022-12-27T02:59",
"arrivalDateUTC": "2022-12-26T23:59",
"departureDate": "2022-12-26T03:00",
"departureDateUTC": "2022-12-26T00:00",
"taskType": "AOG",
"seatsAfter": 15
},
{
"id": "task_33495",
"departureAirport": "OTBD",
"arrivalAirport": "OTBD",
"arrivalDate": "2022-12-28T02:59",
"arrivalDateUTC": "2022-12-27T23:59",
"departureDate": "2022-12-27T03:00",
"departureDateUTC": "2022-12-27T00:00",
"taskType": "CREW_UNAVAILABLE",
"seatsAfter": 15
},
{
"id": "task_33496",
"departureAirport": "OTBD",
"arrivalAirport": "OTBD",
"arrivalDate": "2022-12-29T00:59",
"arrivalDateUTC": "2022-12-28T21:59",
"departureDate": "2022-12-28T15:00",
"departureDateUTC": "2022-12-28T12:00",
"taskType": "NOTE",
"seatsAfter": 15,
"comments": "Sample note"
}
]
Updated 2 months ago