General developer forum

i want Student details using java API

 
Picture of Mark Johnson
Re: i want Student details using java API
Core developersParticularly helpful MoodlersPlugin developers

Based on that error message you aren't sending the correct parameters to the function.  If you visit https://YOURMOODLE/admin/webservice/documentation.php you can see the full documentation for the function and the parameters it's expecting.

As an example, with core_user_get_users it's expecting you to send POST data that looks something like:

criteria[0][key]=username&criteria[0][value]=bob01

or with core_user_get_users_by_field it's expecting

field=username&values[0]=bob01

 
Average of ratings: -