Assigning groups to modules using "core_course_edit_module" webservice function

Assigning groups to modules using "core_course_edit_module" webservice function

by Ufuoma Apoki -
Number of replies: 0

I'm using some functions for my moodle webservice, one of which is "core_course_edit_module". The documentation lists some functions that can be carried out, which include grouping. However, I've been trying to get it to work, but without success.

Here is an example of a soap function 

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="......">

   <soapenv:Header/>

   <soapenv:Body>

      <ser:core_course_edit_module soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

         <action xsi:type="xsd:string"></action>

         <id xsi:type="xsd:int">51</id>

         <sectionreturn xsi:type="xsd:int">9</sectionreturn>

      </ser:core_course_edit_module>

   </soapenv:Body>

</soapenv:Envelope>


I'm not sure exactly how to perform a grouping action with this.

Average of ratings: -