- Posts: 2
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
get_question_properties JSON RPC
- MertinStai
- Topic Author
- Offline
- New Member
Less
More
9 years 9 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
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
9 years 9 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}')
\"aQuestionSettings\":[\"gid\",\"type\",\"help\",\"language\"]},\"id\": 1}')
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
9 years 9 months ago #109434
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on 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
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 , plugin development .
I don't answer to private message.
The topic has been locked.