Hello everybody. I'm trying to get competencies through the REST API.
My query like that:
http://localhost/moodle/webservice/rest/server.php?wstoken=5c3f3099aa9a767fdadb1261d88f0bfb&wsfunction=core_competency_list_competency_frameworks
and that:
http://localhost/moodle/webservice/rest/server.php?wstoken=5c3f3099aa9a767fdadb1261d88f0bfb&wsfunction=core_competency_list_competency_frameworks&contextid=1
and that:
http://localhost/moodle/webservice/rest/server.php?wstoken=5c3f3099aa9a767fdadb1261d88f0bfb&wsfunction=core_competency_list_competency_frameworks&contextid=49&contextlevel=80&instanceid=23
But I always get an error: Missing required key in single structure: context
How should I build my query?
Thanks in advance.