MDL-50944 mod_choice: New Web Service mod_choice_submit_choice_response
[moodle.git] / mod / choice / db / services.php
index bdd0a44..1be2665 100644 (file)
@@ -43,4 +43,12 @@ $functions = array(
         'type'          => 'read',
         'capabilities'  => 'mod/choice:choose'
     ),
+
+    'mod_choice_submit_choice_response' => array(
+        'classname'     => 'mod_choice_external',
+        'methodname'    => 'submit_choice_response',
+        'description'   => 'Submit responses to a specific choice item.',
+        'type'          => 'write',
+        'capabilities'  => 'mod/choice:choose'
+    ),
 );