Arguments
groups (Required)
List of group object. A group has a courseid, a name, a description and an enrolment key.
General structure
//List of group object. A group has a courseid, a name, a description and an enrolment key.
list of (
object {
courseid int //id of course
name string //multilang compatible name, course unique
description string //group description text
descriptionformat int Default to "1" //description format (1 = HTML, 2 = PLAIN or 4 = MARKDOWN)
enrolmentkey string Optional //group enrol secret phrase
idnumber string Optional //id number
}
)
REST (POST parameters)
groups[0][courseid]= int
groups[0][name]= string
groups[0][description]= string
groups[0][descriptionformat]= int
groups[0][enrolmentkey]= string
groups[0][idnumber]= string