Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

get_question_properties JSON RPC

  • MertinStai
  • MertinStai's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 5 months ago #109352 by MertinStai
get_question_properties JSON RPC was created by MertinStai
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
The topic has been locked.
  • MertinStai
  • MertinStai's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 5 months ago #109360 by MertinStai
Replied by MertinStai on topic get_question_properties JSON RPC
I will answer it myselfe
\"aQuestionSettings\":[\"gid\",\"type\",\"help\",\"language\"]},\"id\": 1}')
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
10 years 5 months ago #109434 by DenisChenu
Replied by DenisChenu on topic get_question_properties JSON RPC
Hi

1:
We don't have a python example in our documentation:
www.limesurvey.org/manual/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 : www.limesurvey.org/manual/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 support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose