Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: get_question_properties JSON RPC

get_question_properties JSON RPC 11 Monate 4 Wochen her #109352

  • MertinStai
  • MertinStais Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 2
  • Karma: 0
Hi,
i am doing some scripts in Pyton that are using index.php/admin/remotecontrol json rpc.
My question do you have an example for get_question_properties
I have writen json request
url='www.xxxxxxxxxxxxxxxx.de/testSurvey/index...min/remotecontrol',\
data='{\"method\":\"get_question_properties\",\"params\":{\"sSessionKey\":\"'+skey+'\",\"iQuestionID\":'+QuestionID+',\
\"aQuestionSettings\":\"[gid,question]\"},\"id\": 1}')
The result is
{"id":1,"result":{"status":"No valid Data"},"error":null}
how to pass the aQuestionSettings ? that thel problem i think.
regards
Martin
Der Administrator hat öffentliche Schreibrechte deaktiviert.

get_question_properties JSON RPC 11 Monate 4 Wochen her #109360

  • MertinStai
  • MertinStais Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 2
  • Karma: 0
I will answer it myselfe
\"aQuestionSettings\":[\"gid\",\"type\",\"help\",\"language\"]},\"id\": 1}')
Der Administrator hat öffentliche Schreibrechte deaktiviert.

get_question_properties JSON RPC 11 Monate 3 Wochen her #109434

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 7162
  • Dank erhalten: 985
  • Karma: 287
Hi

1:
We don't have a python example in our documentation:
manual.limesurvey.org/RemoteControl_2_API
If you please : update our documentation with sme example.

2:
All of our documentation is an open wiki (with your ls.org account).
Please : if there are a lack of information, you can put here : manual.limesurvey.org/RemoteControl_2_API

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.126 Sekunden
Donation Image