remotecontrol add_group method not working

More
3 years 2 months ago #107042 by wiherek
wiherek created the topic: remotecontrol add_group method not working
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 to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now