General developer forum

Alternatives to core_course_get_activities_overview WS function

 
Picture of FGH Begman
Alternatives to core_course_get_activities_overview WS function
 

Hi. I am looking for ways to retrieve course activities via Web Service API.

I found the WS function `core_course_get_activities_overview` on the list of APIs.

However, the description of this function says:

> ** DEPRECATED ** Please do not call this function anymore. Return activities overview for the given courses.

What's the problem with this function and what are the alternatives?

(Guessing from the Moodle Tracker ticket https://tracker.moodle.org/browse/MDL-54943 this API is still under active development and it should be fine).

 
Average of ratings: -
Picture of FGH Begman
Re: Alternatives to core_course_get_activities_overview WS function
 

Actually, it looks like I cannot use this web service function.

I tried to add it as an available Function to my web service account but it is not available for selection.

I tried on Moodle 3.2.8 and 3.4.5 but the function is not available. What do I miss?

 
Average of ratings: -
Picture of FGH Begman
Re: Alternatives to core_course_get_activities_overview WS function
 

I found the solution myself: it's a mobile web service function.

 
Average of ratings: -