Update Quizgrades with API core_grade_update_grades function

Update Quizgrades with API core_grade_update_grades function

by Lenard Hopper -
Number of replies: 0
Hello, 

i need to write a Script that update quiz grades using the 
core_grade_update_grades function. 

(for example a users grade updated from 10 to zero points)

When attempting this iam getting 

<EXCEPTION class="invalid_parameter_exception">

<ERRORCODE>invalidparameter</ERRORCODE>

<MESSAGE>Ungültiger Parameterwert</MESSAGE>

<DEBUGINFO>Missing required key in single structure: source</DEBUGINFO>

</EXCEPTION>

Message back.


Can someone confirm if that is even possible?

Maybe a small hint oder syntax what objects 

core_grade_update_grades wants from me?

iam desperate .. please help!

Average of ratings: -