by aya ashraf. any ideas to use it correctly
I'm trying to use mod_assign_save_grade with : https:/[my-root]/webservice/rest/server.php?wstoken=[token]&wsfunction=mod_assign_save_grade&moodlewsrestformat=json&assignmentid=4&userid =45&grade =15&attemptnumber =-1&addattempt =0&workflowstate =graded&applytoall =1
but the output came with
{
"exception": "invalid_parameter_exception",
"errorcode": "invalidparameter",
"message": "Invalid parameter value detected"
}