get_question_properties JSON RPC

More
2 years 11 months ago #109352 by MertinStai
MertinStai created the topic: 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

Please Log in to join the conversation.

More
2 years 11 months ago #109360 by MertinStai
MertinStai replied the topic: get_question_properties JSON RPC
I will answer it myselfe
\"aQuestionSettings\":[\"gid\",\"type\",\"help\",\"language\"]},\"id\": 1}')

Please Log in to join the conversation.

More
2 years 11 months ago #109434 by DenisChenu
DenisChenu replied the topic: 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 .

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now