Reputation: 189
I'm trying to get the results from a survey through the API, I know I need a list of respondents Ids and the survey ID. When I use the getResponses method I get the results but all the questions and answers come in numbers (Ids) except the questions with open answers (text). How can I bring the actual questions and answers from an API request?
Thanks
Upvotes: 0
Views: 1113
Reputation: 1134
You need to combine the information received in get_responses with the survey structure retrieved with get_survey_details.
Note I believe there is an outstanding issue where if questions are deleted from the survey they will no longer be in the get_survey_details response.
Upvotes: 1