Skip to main content
Best Answer

How do I get LO ID's?

  • December 23, 2025
  • 2 replies
  • 76 views

Jtischler
Helper II
Forum|alt.badge.img+1

Hi all,

I need to expire/hide a number of Learning Objects.  I was hoping to use an API for this, I am not very familiar though I think I can feel my way through. 

The API is asking for the LO ID which I cannot find anywhere in reports, course extract, or a way to batch retrieve via API. 

There are about 150 LO’s that I want to expire and hide.  How can I source all the ID’s to update via API?

 

 

Best answer by mj_

Ciao, ​@Jtischler 👋

You can get the training material IDs of a course by first calling the GET /learn/v1/courses/{course_id}/los endpoint (“List all learning objects in a course”). This will return a field called id_org for each material which will be the same integer value needed for the tm_id field in your PUT request.

Hope this helps!

2 replies

mj_
Docebian
Forum|alt.badge.img+2
  • Docebian
  • Answer
  • December 24, 2025

Ciao, ​@Jtischler 👋

You can get the training material IDs of a course by first calling the GET /learn/v1/courses/{course_id}/los endpoint (“List all learning objects in a course”). This will return a field called id_org for each material which will be the same integer value needed for the tm_id field in your PUT request.

Hope this helps!


Jtischler
Helper II
Forum|alt.badge.img+1
  • Author
  • Helper II
  • December 30, 2025

@mj_ Is there an easy way to do this for multiple courses at once?  I tried multiple course ID’s seperated by commas but it is only returning the first course.