Totara Learn Open Discussions

How to enroll users to courses with API

 
Lothar Desmet
How to enroll users to courses with API
by Lothar Desmet - Wednesday, 9 March 2022, 11:09 PM
 

Hello

I am looking for a way to enroll users to courses with webservices or GraphQL but I don't find anything on this in the documentation. Can somebody point me in the right direction for this?

Thanks in advance!

Craig Eves
Re: How to enroll users to courses with API
by Craig Eves (Totara Support) - Thursday, 10 March 2022, 2:29 PM
Group Totara

Hi Lothar

There is some documentation on GraphQL in the developer documentation that can be used as a starting point .

There is no published API reference as the API is extensive, and is dependent upon both the major and minor version of the product that is being used. Use these steps to find out information on the named queries and mutations available from your version of Totara.

Regards

Lothar Desmet
Re: How to enroll users to courses with API
by Lothar Desmet - Wednesday, 16 March 2022, 5:51 AM
 

Thank you Craig

I already found this in the documentation and can't find anything about enrolling users to courses in the queries and mutations. So can I conclude that this is impossible to do?

Kind regards