Add user to a cohort with webservices

Re: Add user to a cohort with webservices

by Mathieu Petit-Clair -
Number of replies: 0
Picture of Core developers Picture of Moodle HQ Picture of MoodleCloud team Picture of Plugin developers Picture of Testers

Bonjour Timothée, 

Moodle will generate documentation for all web services, under http://yourmoodle/admin/webservice/documentation.php

You might need to enable the ws documentation, under /admin/settings.php?section=webserviceprotocols

This should give you some information about all the parameters to use with core_cohort_add_cohort_members().