get_question_properties JSON RPC

Mehr
3 Jahre 1 Tag her #109352 von MertinStai
MertinStai erstellte das Thema get_question_properties JSON RPC
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

Bitte Anmelden um der Konversation beizutretten.

Mehr
3 Jahre 23 Stunden her #109360 von MertinStai
MertinStai antwortete auf das Thema: get_question_properties JSON RPC
I will answer it myselfe
\"aQuestionSettings\":[\"gid\",\"type\",\"help\",\"language\"]},\"id\": 1}')

Bitte Anmelden um der Konversation beizutretten.

Mehr
2 Jahre 11 Monate her #109434 von DenisChenu
DenisChenu antwortete auf das Thema: get_question_properties JSON RPC
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

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Bitte Anmelden um der Konversation beizutretten.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten