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

How to use core_course_get_courses?

$
0
0
by Nico L..  

Hi, I am testing web services using a moodle core web service, core_course_get_courses. I think this web service returns all courses from Moodle, but I only get data from a course when I fix a ID course.

I am using the next code, in REST,

options[ids][0]=""

but I get the next error message,

Invalid external api parameter: the server was expecting int type

When I fix a id course, for example,

options[ids][0]="4"

I get the data from course 4, but I dont' know how to use this web service to get all courses list.

Please, can somebody to help me?

Thanks in advance.


Viewing all articles
Browse latest Browse all 2361

Trending Articles



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