I noticed there is no existing web service function to add course sections.
What I am trying to do is add courses from my existing site's backend since I have existing lessons where each lesson has a section. My site is in laravel. In my back I want to be able to add a course and sections. So in my back end I set up courses as
course
topic1
topic2
etc.
In laravel it is easy to set up events based on database actions. So on my site when I add a course I want it to create the course and sections on moodle (my site simply advertises my courses - course execution is via moodle). I was thinking for sections I could just do it via a database insert function, but not sure if in moodle the addition of a setion has various triggers that perform other functions, like with roles, etc.
Any tips on how to do this?
thanks,
Brian