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

OKTech REST (function oktech_get_grades)

$
0
0
by Raymond Cosgrave.  

I may not be using this method correctly but I am not getting any data for courses, it is either blank or the records returned denote that the user did not complete the course. I have attached a screenshot, here is a sample of what I would use:

 

http://MOODLE_URL/moodle/webservice/rest/server.php?courseids[0]=VALID_IDNUMBER_FOR_A_COURSE&courseidfield=idnumber&useridfield=id&userid=VALID_MOODLE_USER_ID

 

I know the user has completed the course (a SCORM course FYI) because he has the green check box next to the course.

 

Screenshot of output:

 

 


Viewing all articles
Browse latest Browse all 2361

Trending Articles



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