- Posts: 36
- Thank you received: 1
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
... $surveyResponses = $myJSONRPCClient->export_responses( $sessionKey, $survey_id, 'csv', // Document type : pdf,csv,xls,doc,json NULL, // Language code : null : default from survey 'complete', // Stautus complete|incomplete|all NULL, // Heading : code|full|abbreviated : question text, default code NULL, // answer : short|long , default : long 1, // From Response ID 30000, // To Response ID ['id','token','submitdate','lastpage','interviewtime','email','159677X490time','159677X487time','159677X490X9219SQ001','159677X490X9221SQ001'] ); ...
Please Log in to join the conversation.
Hi,
what about using the API?
[url] www.limesurvey.org/manual/RemoteControl_2_API [/url]
with these methods
[url] api.limesurvey.org/classes/remotecontrol-handle.html [/url]
And you can define the columns you want to export (php example)
Code:... $surveyResponses = $myJSONRPCClient->export_responses( $sessionKey, $survey_id, 'csv', // Document type : pdf,csv,xls,doc,json NULL, // Language code : null : default from survey 'complete', // Stautus complete|incomplete|all NULL, // Heading : code|full|abbreviated : question text, default code NULL, // answer : short|long , default : long 1, // From Response ID 30000, // To Response ID ['id','token','submitdate','lastpage','interviewtime','email','159677X490time','159677X487time','159677X490X9219SQ001','159677X490X9221SQ001'] ); ...
Please Log in to join the conversation.
Please Log in to join the conversation.