Hi,
I have been using some of the webservices for a while now so I'm surprised that this one doesn't immediately work out for me. I must be overlooking something obvious - I hope.
I get the error "invalid parameter" so I think that there must be something wrong with my request. Can someone please help figure out what is wrong?
EDIT:
this is the php code that produces the xml below:
$webservice = 'core_completion_get_activities_completion_status'; $params = array( 'courseid' => $courseid, 'userid' => $userid ); $post = xmlrpc_encode_request($webservice, $params);
$post XML:
<?xml version="1.0" encoding="iso-8859-1"?>
<methodCall>
<methodName>core_completion_get_activities_completion_status</methodName>
<params>
<param>
<value>
<struct>
<member>
<name>courseid</name>
<value>
<int>2257</int>
</value>
</member>
<member>
<name>userid</name>
<value>
<int>7619</int>
</value>
</member>
</struct>
</value>
</param>
</params>
</methodCall>
response:
Array ( [faultCode] => 29039061 [faultString] => Ugyldig parameterværdi fundet | ERRORCODE: invalidparameter )
thank you
/Jannik