Realized-trainings
Create a realized-training (v2)
Create a new realized training. It must refer to a training that is in the 'ready' state, and the sessionEndsOn date must be in the past. It is also not possible to create two realized trainings for the same employee with the same trainingId and sessionEndsOn.
post/talent-training/api/v2/realized-trainings
Request
- Base URLhttps://example.ilucca.net
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"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
}Response
Created
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
}Changes
No recorded changes to this operation across all 1 revision of this API.