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

How to import and organize external resources

$
0
0
by Marco Andreatta.  

Hello,

I'm writing a php batch script to import external data into a moodle instance i.e. I have to import teachers, courses and for each course some folders, files and URLs.

I was able to set up webservices access and creating users ("core_user_create_users" call), courses ("core_course_create_courses") and files ("core_files_upload").

The problem is how to create the correct skeleton into courses i.e. I need files being  visible into course sections (and into folders, if needed) to each enrolled user (teacher or student).

It looks like there is no web service to do the above task, and I couldn't find an API to do the same thing so far...

Any suggestion?

Thanks!

Marco.


Viewing all articles
Browse latest Browse all 2361

Trending Articles



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