Welcome, Guest
Username: Password: Remember me

TOPIC: remotecontrol add_group method not working

remotecontrol add_group method not working 7 months 3 weeks ago #107042

  • wiherek
  • wiherek's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
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?
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.098 seconds
Donation Image