Skip to main content
Best Answer

API to Change ILT completion date


msantos
Helper II
Forum|alt.badge.img+2

Hello All, 

We had some ILT course management issues which caused the wrong completion date to be updated.
I'm looking for an API to perform the correction. The only one I found was /learn/v1/enrollments, but I can only update multiple users, in the same course, same session and same completion date. This generates a lot of processing.

Can you suggest another endpoint that I can update in a single processing, multiple users, multiple courses, multiple sessions and multiple completion dates?

Thank you.

 

 

Best answer by Bfarkas

That’s the bulk one, the others are individuals, or the user can’t have been enrolled already. I assume by the complaint that you are dealing with a lot of users? The single endpoint works nice, but if you have a lot you really need to program in a loop of some kind. I often balance doing that vs. using this one and doing them in groups/batches doing like a excel sorting exercise if not programatically.

View original
Did this post help you find an answer to your question?

2 replies

Bfarkas
Hero III
Forum|alt.badge.img+5
  • Hero III
  • 3582 replies
  • Answer
  • January 25, 2023

That’s the bulk one, the others are individuals, or the user can’t have been enrolled already. I assume by the complaint that you are dealing with a lot of users? The single endpoint works nice, but if you have a lot you really need to program in a loop of some kind. I often balance doing that vs. using this one and doing them in groups/batches doing like a excel sorting exercise if not programatically.


msantos
Helper II
Forum|alt.badge.img+2
  • Author
  • Helper II
  • 106 replies
  • January 25, 2023
Bfarkas wrote:

That’s the bulk one, the others are individuals, or the user can’t have been enrolled already. I assume by the complaint that you are dealing with a lot of users? The single endpoint works nice, but if you have a lot you really need to program in a loop of some kind. I often balance doing that vs. using this one and doing them in groups/batches doing like a excel sorting exercise if not programatically.

Yes, I have about 800 completion date to fix it.

Thank you for your response.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings