Quantcast
Channel: Web services
Viewing all articles
Browse latest Browse all 2364

How to get a list of Course user Enrollment meta link values?

$
0
0
by Ian Hill.  

Hi,

I'm trying to figure out which Web Service Call(s) I would need to get a list of Course user Enrollment meta link values.

Under Administration >  Users> enrolled users >  Enrolment methods   in moodle I get info such as 

"Manual enrolmentsX
Guest accessX
Category enrolmentsX
Self enrolment (Student)X
Course meta link (ABCD1234)  X"

X being the number of enrolled students etc.
What I need is to get the Meta link code e.g. ABCD1234 
But the call core_enrol_get_course_enrolment_methods doesnt seem to return that info, so unsure if that's the right call, or if I need to get it a different way.

Example JSON data return:
[{"id":11107,"courseid":2222,"type":"guest","name":"Guest access","status":true,"wsfunction":"enrol_guest_get_instance_info"},{"id":11108,"courseid":2222,"type":"self","name":"Self enrolment (Student)","status":"Enrolment is disabled or inactive"}]

Do I need to use a different call?
Or is the meta code got from somewhere using one of the values the call does return ?




Viewing all articles
Browse latest Browse all 2364

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>