Hello, team,
Context: I am our LMS admin; I am familiar with reading APIs, but I have not written. I have internal experts for the API writing, but they’re not experts in Docebo. Trying to find the info needed through (hopefully) one of you experts who is both knowledgeable in the API and Docebo.
We have new reporting requirements that indicate we must know how much time our employees have spent in training. For Docebo’s sake, that time is measured in two places: time spent in an eLearning course and time spent in an ILT session.
- Time spent in an eLearning course is fairly easy. I know that this data is not accurate, as users can leave their instance running in the background to rack up time, but it’s the only value I have and can use.
- We found this endpoint: GET/learn/v1/enrollments/{id_course}/{id_user}
- It returns the value we need, but does anyone have any other suggestions?
- Time spent in an ILT seems to be nonexistent. Docebo Support said as much. If an ILT session is scheduled for 2 hours, and I mark a user attended for 0, 1, or 2 hours, I want to get the value they’re marked for. Is this possible?
- My back-up plan is to use a course additional field to mark Total Time Possible (example: 2 hours) and then if a user is marked Complete, create a table that would give that user 2 hours.
- Again, not an accurate solution, but still a consistent solution.
Thanks for any guidance!