Hi Guys,
I am having a strange problem. I am creating survey via the API. Now I want to get the responses and analyse them. For that I am calling the following function.
$responses = $myJSONRPCClient->export_responses($sessionKey, $iSurveyId, 'json', 'de', 'all', 'code', 'short', null, null, null);
$decoded_responses = base64_decode($responses);
$aResponses = json_decode($decoded_responses, true);
The problem is that I dont get all the questions in response. For example if I have
Group1 => Question1, Question2, Question 3
Group2 => Question4, Question5
Then by calling the export_response function I get responses like this...
Group1 => Question1, Question2, Question 3
Group2 => Question5
so the Question4 is just missing. I have checked the Database of Limesurvey, the table for the survey is there and the field for each question is there, the answers given by the users for each question are there.
But the export_response call does not return all the questions.
Any Idea, why??
The topic has been locked.