API Core_Course_Get_Course_Module retuns optional field "Score" as 0

API Core_Course_Get_Course_Module retuns optional field "Score" as 0

by Fabian Goldie -
Number of replies: 0

Hi, I was hoping someone could help me, i have set up the Core_Course_Get_Course_Module api to retrive the optional field "score" of a module (the activity is a SCORM package) but it is returning 0.

In moodle there is a score in the report section

I thought it was a permision problem so i have doubled check that the user has access and they do.

The score is set to take the highest attempt.

Even after completing the activity in app it posts a new score in moodle but i cant seem to access the score via the API call.

Any help would be appriciated


Average of ratings: -