General structure
int //id of course
REST (POST parameters)
courseid= int
component (Required)
A component, for example mod_forum or mod_quiz
General structure
string //A component, for example mod_forum or mod_quiz
REST (POST parameters)
component= string
activityid (Required)
The activity ID
General structure
int //The activity ID
REST (POST parameters)
activityid= int
itemnumber (Required)
grade item ID number for modules that have multiple grades. Typically this is 0.
General structure
int //grade item ID number for modules that have multiple grades. Typically this is 0.
REST (POST parameters)
itemnumber= int
grades (Default to "Array ( ) ")
Any student grades to alter
General structure
Default to "Array
(
)
" //Any student grades to alter
list of (
object {
studentid int //Student ID
grade double //Student grade
str_feedback string Optional //A string representation of the feedback from the grader
}
)
REST (POST parameters)
grades[0][studentid]= int
grades[0][grade]= double
grades[0][str_feedback]= string