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: