Check out the LimeSurvey source code on GitHub!

New Remote Control Web Service Methods To Submit

More
5 years 9 months ago - 5 years 9 months ago #59283 by C9survey
I have been working with the Remote Control feature of Lime Survey to connect the survey tool to another administrative tool which allows me to import questions answers. It is far easier to work with JSON data in PHP for questions responses and it was more useful for me to get completed tokens as compared to incomplete token. After adding these features I also added the ability to only download token and answers after a specific date to limit the amount of data transfered to only new responses since an import date.

Since these are method currently running on my production server I would like to submit them to Lime Survey for consideration in your next release. The necessary files have been attached for your review. Maybe these methods will help other users looking to use a Web Service to import data.


File Attachment:

File Name: remotecontrol.tar.gz
File Size:16 KB



The Methods:
sTokenCompleteJson
sTokenCompleteSinceJson
sGetSurveyResponsesJson
sGetSurveyResponsesSinceJson
Attachments:
Last Edit: 5 years 9 months ago by C9survey. Reason: Title was not clear

Please Log in to join the conversation.

More
5 years 3 months ago #67016 by splram
Hi

I think your code can help me. This is what my need is.

I am building a client mobile app that will download questions from limesurvey, there is a web service method sGetFieldmap to get the questions, however I do not see any web service method that can submit answers back to lime survey. Hope your code can help?

Thanks,
Ram

Please Log in to join the conversation.

More
5 years 3 months ago #67017 by Mazi
Thanks for sharing your files. Please have a look at docs.limesurvey.org/How+to+contribute+new+features and open a new ticket at our bugtracker so we can assign the ticket to one of our developers for review.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form