gradereport_user_get_grade_items not returning item information

gradereport_user_get_grade_items not returning item information

by Pete Edwards -
Number of replies: 2
In Moodle 3.9 (will test later versions) I am calling gradereport_user_get_grade_items on a course with 2 activities: a lesson and an assignment. The lesson grade is returned including the itemname but the assignment has itemname=null and itemtype=course. If I have multiple assignments, their grades are summed and returned as a single course item. Is there a way for me to get a list of the grades for each assignment along with it's weighting as I need to report this in an external system to build a student transcript.
Average of ratings: -
In reply to Pete Edwards

Re: gradereport_user_get_grade_items not returning item information

by Pete Edwards -
Can anyone help with this please?
In reply to Pete Edwards

Re: gradereport_user_get_grade_items not returning item information

by Louisa van der Linden -
The itemtype=course is the overall course grade for that user. I am also struggling to get all items returned. I have quizzes, assignments, a lesson, a H5P, a forum and one manual item. Only half my items are returning in the webservice response. They are not hidden nor locked. This is v3.10.x