Quantcast
Channel: Web services
Viewing all articles
Browse latest Browse all 2363

Import and delete functions from API

$
0
0
by Luis Oliveira.  

Hi! I'm using the Moodle 3.0 Web Service API with XML-RPC protocol and there're two functions that don't work as expected: core_course_delete_courses and core_course_import_course. It always return the message: "Calling parameters do not match signature | ERRORCODE:". The other functions are working.

For core_course_delete_courses I've tried the following parameters (based on Moodle API Docs):

$params = array('courseids' => array(8));

The request is based on the example: https://github.com/moodlehq/sample-ws-clients/blob/master/PHP-XMLRPC/client.php

I think is correct, but no success.

I've seen the following topic: https://moodle.org/mod/forum/discuss.php?d=259130. It's seems to be the same bug.


Viewing all articles
Browse latest Browse all 2363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>