remotecontrol add_group method not working

More
5 years 4 months ago #107042 by wiherek
I want to add a question group through LimeSurvey's remotecontrol2 API. I can add survey, list surveys etc., but I have an issue with creating a question group.

I firsth authenticate with get_session_id method, then I post a JSON to admin/remotecontrol

{
"method":"add_group",
"params":{
"sSessionKey":"j6qf7hwjziwvia8xmhm93rriu8k94grb",
"iSurveyID":"333",
"sGroupTitle":"mytitle",
"sGroupDescription":"mydescription"
},
"id":1
}

But I only get this in result:

{
"id": 1,
"result": 7,
"error": null
}

The question group is not added. Is there a problem with my code or is it a bug in LimeSurvey?

Please Log in or Create an account to join the conversation.

LimeSurvey Partners

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!