LMSouq
moodle-core Open

Moodle: web service call to get assignments under course

TE
TechNo
1 month ago
3 views
Problem Description
I have an application where I need to fetch records from Moodle using the core Web Service API. I am receiving courses and categories with the following API calls: core_course_get_courses core_course_get_categories But I am not able to find the right parameter (or maybe my implementation was wrong) for mod_assign_get_assignments I tried as below http://moodle/webservice/rest/server.php?wsfunction=mod_assign_get_assignments&moodlewsrestformat=json&wstoken=token&courseids[0]=27 Can anyone have any idea how I can get assignments from a course? Please help

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base