Totara Learn Open Discussions

How to enroll users to courses with API

 
DesmetLothar
How to enroll users to courses with API
DesmetLothar 发表于 2022年03月9日 Wednesday 23:09
 

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
Eves (Totara Support)Craig 发表于 2022年03月10日 Thursday 14:29
小组 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

DesmetLothar
Re: How to enroll users to courses with API
DesmetLothar 发表于 2022年03月16日 Wednesday 05:51
 

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