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

API gradereport_overview_get_course_grades function errorcode on Moodle 3.8.2+

$
0
0
by Monico Briseño.  

Hey there. I decided to use Moodle API service. To do so, I read and setup all related with this topic.

The Moodle version: Moodle 3.8.2+ (Build: 20200320)

The Moodle API function: gradereport_overview_get_course_grades

The Moodle API consuming sintax:
https://itispirit.com/edu/webservice/rest/server.php?wstoken=<authorized_user_token>&wsfunction=gradereport_overview_get_course_grades&userid=97&moodlewsrestformat=json

The Moodle API function sent back on the computer screen the following message:

{"exception":"required_capability_exception","errorcode":"nopermissions","message":"Sorry, but you do not currently have permissions to do that (View grades of other users)."}

Any idea how can I fix this API errorcode?

Thanks in Advance

Mónico Briseño


Viewing all articles
Browse latest Browse all 2364

Trending Articles



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