Welcome to the LimeSurvey Community Forum

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

Exporting responses using API

More
4 years 3 months ago #216933 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.
More
4 years 2 months ago - 4 years 2 months ago #216936 by DenisChenu
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 support - Plugins, theme and development .
I don't answer to private message.
Last edit: 4 years 2 months ago by DenisChenu.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose