Welcome to the LimeSurvey Community Forum

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

Exporting responses using API

  • Dominus
  • Dominus's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 10 months ago #216933 by Dominus
Exporting responses using API was created by Dominus
We have a stable survey that is used over and over. Currently we export the results manually and then import into Excel to produce a final report.
We now have an API that can set up and run the survey but we have a problem finding how to generate the required export of the results.
Ideally it would mimic exactly what we currently do manually.
Responses-> Responses & Statistics-> Export-> Export responses
Export format: CSV
Export questions as: Full Question Text
Export responses as: Full Answers
Columns: All selected
Token control: All selected.
Can anyone point us to the relevant instructions so we can complete writing the API control?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 10 months ago - 2 years 10 months ago #216936 by DenisChenu
Replied by DenisChenu on topic Exporting responses using API
api.limesurvey.org/classes/remotecontrol...hod_export_responses

$sDocumentType : csv
$sHeadingType : full (to verify)
$sResponseType : full (to verify)

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.
Last edit: 2 years 10 months ago by DenisChenu.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose