I have been hunting around trying to find a way to enrol a user using web services at the category level.
I am new to using web services, but have managed to create a user in Moodle. Now I would like to enrol them in at the category level. My development involves getting information from another site (corsizio), creating the user in Moodle, and enrolling them the the program they registered for. The program consists of many courses (in a category). So that's why I've decided to use category enrolments.
Is there a way I can do this, or will I have to get a list of courses in a category and then enrol them individually into that course list?
Any help will be greatly appreciated.