Welcome to the LimeSurvey Community Forum

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

Need to post question codes and answers as json to my API after survey completes

  • amit1403
  • amit1403's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 5 months ago - 6 years 5 months ago #158948 by amit1403
Hello,
Actually i have a survey created on lime survey and i am using survey url to open it in iframe on my web application. What i need to do is once a user completes the survey on the result page i need a json containing all question codes and corresponding answers selected by the user which will be posted to my Restful Api end point which will in turn generate some result depending on answers provided and return result which we need to display on the result page. Actually i can do a javascript which will do the post to my Api but i am not aware of how would i get json or even a list of question and answers provided from which i can generate the json. I am new to lime survey so i am not sure weather this can be done with Lime survey. Thank you in advance....
Last edit: 6 years 5 months ago by amit1403. Reason: Typo in text
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose