v1

latestOpenAPI 3.1.0Apache 2.02026-07-22160175414.0 KB
Trainings

Get a realized-training (v2)

Retrieve a single realized-training by its id.

get/talent-training/api/v2/realized-trainings/{id}

Response

Ok

{"stackTrail":"components:schemas:v2.RealizedTraining:properties:id","oasType":"schema","type":"unknown"}
ownerIdinteger required

ID of the employee who realized said training.

trainingDemandIdinteger

Reference of the training-demand that led to the registration to this training session.

sessionIdinteger

Reference of the training session the employee was registered on.

sessionStartsOnstring date required

Date of the first day of the training session.

sessionEndsOnstring date required

Date of the last day (included) of the training session.

hasAttendedboolean

Whether the employee actually attended the training or not. You may not create a new realized-training with hasAttended: false, but you may retrieve existing ones in a GET request.

durationInHoursnumber required

Duration of the training in hours (e.g. "2.5" means two and a half hours).

Example response

{
  "id": 235,
  "ownerId": 416,
  "training": {
    "id": 45,
    "title": "Mastering French: From Basics to Fluency",
    "categoryId": 1,
    "providerUrl": "https://elan-francais.fr",
    "level": "Beginner"
  },
  "trainingDemandId": 4356,
  "sessionId": 12,
  "sessionStartsOn": "2025-01-04",
  "sessionEndsOn": "2025-01-04",
  "hasAttended": true,
  "durationInHours": 14
}