Training
Schedule, retrieve and manage training sessions — simulator, classroom and online.
Training Object
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| id | integer | Optional | Unique training ID |
| type | enum | Pflicht | simulator | classroom | online | opc | lpc |
| name | string | Pflicht | Training namez.B. OPC A320 — Recurrent Training |
| aircraft_type | string | Optional | Aircraft typez.B. A320 |
| scheduled_at | datetime | Pflicht | Scheduled start time (UTC) |
| duration_hours | number | Optional | Duration in hours |
| facility | string | Optional | Training facilityz.B. Airbus Training FRA |
| instructor_id | integer | Optional | Instructor ID |
| status | enum | Optional | scheduled | completed | failed | cancelled |
| result | string|null | Optional | Result (pass/fail/debrief notes) |
| created_at | datetime | Optional | Creation timestamp |
GET /crew/{id}/training
GEThttps://api.aeroselect.io/api/v1/crew/crew/{id}/training
cURLBash
curl "https://api.aeroselect.io/api/v1/crew/crew/201/training?status=scheduled" \
-H "X-API-Key: ak_live_YOUR_KEY"Response 200JSON
{
"data": [
{
"id": 901,
"type": "simulator",
"name": "OPC A320 — Recurrent Training",
"aircraft_type": "A320",
"scheduled_at": "2026-07-10T08:00:00Z",
"duration_hours": 4,
"facility": "Airbus Training Center FRA",
"instructor_id": 15,
"status": "scheduled",
"result": null
}
]
}POST /crew/{id}/training — Schedule Training
POSThttps://api.aeroselect.io/api/v1/crew/crew/{id}/training
cURLBash
curl -X POST "https://api.aeroselect.io/api/v1/crew/crew/201/training" \
-H "X-API-Key: ak_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "simulator",
"name": "LPC A320 — License Proficiency Check",
"aircraft_type": "A320",
"scheduled_at": "2026-08-05T09:00:00Z",
"duration_hours": 3,
"facility": "Airbus Training Center FRA",
"instructor_id": 15
}'Response 201JSON
{
"data": {
"id": 902,
"type": "simulator",
"name": "LPC A320 — License Proficiency Check",
"status": "scheduled",
"scheduled_at": "2026-08-05T09:00:00Z"
},
"message": "Training scheduled."
}