Training

Schedule, retrieve and manage training sessions — simulator, classroom and online.

Training Object

FeldTypPflichtBeschreibung
idintegerOptionalUnique training ID
typeenumPflichtsimulator | classroom | online | opc | lpc
namestringPflichtTraining namez.B. OPC A320 — Recurrent Training
aircraft_typestringOptionalAircraft typez.B. A320
scheduled_atdatetimePflichtScheduled start time (UTC)
duration_hoursnumberOptionalDuration in hours
facilitystringOptionalTraining facilityz.B. Airbus Training FRA
instructor_idintegerOptionalInstructor ID
statusenumOptionalscheduled | completed | failed | cancelled
resultstring|nullOptionalResult (pass/fail/debrief notes)
created_atdatetimeOptionalCreation 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."
}