Problem with API - "core_user_create_users"

Problem with API - "core_user_create_users"

by Moritz Grey -
Number of replies: 0

Hey Everybody 

I want to use the API "core_user_update_users" . 

Core_user_create_users works on my Moodle.... 

I use this url: 


MYMOODLE/webservice/rest/server.php?wstoken=MYTOKEN&wsfunction=core_user_update_users&moodlewsrestformat=json&users[0][id]=ID_AS_INTEGER&users[0]username]=uname&users[0][auth]=PLUGINNAME&users[0][password]=PASSWORD&users[0][firstname]=FIRSTNAME&users[0][lastname]=LASTNAME&users[0][email]=EMAIL&users[0][alternatename]=STRING&users[0]icq]=STRING&users[0][skype]=%20Stufe&users[0][aim]=%20Klasse&users[0][idnumber]=STRING

Error: 
{"exception":"invalid_parameter_exception","errorcode":"invalidparameter","message":"Ung\u00fcltiger Parameterwert"}


Where is the mistake? 

Thanks everyone for help

Average of ratings: -