Solved
Query the individual results of a survey via REST API
I'm trying to understand how to query the individual results of a survey.
- I configure an Event Subscription for "surveyengine.completedResponse.{SurveyID}".
- Qualtrics sends a push notification to my server with the ResponseID and SurveyID each time {SurveyID} receives a response.
How do I then get the data associated with that response? From reading the documentation making a request to https://yourdatacenterid.qualtrics.com/API/v3/responseexports will give me ALL responses - I just want the single response.
- I configure an Event Subscription for "surveyengine.completedResponse.{SurveyID}".
- Qualtrics sends a push notification to my server with the ResponseID and SurveyID each time {SurveyID} receives a response.
How do I then get the data associated with that response? From reading the documentation making a request to https://yourdatacenterid.qualtrics.com/API/v3/responseexports will give me ALL responses - I just want the single response.
Best answer by TomG
You've identified what I believe is a major outage in the version 3 API. I really don't understand what they are thinking. It is one of the most common uses of the API, but to do it in version 3 you have to jump through a bunch of hoops. You can determine a startDate before your response to filter the responses somewhat, then search through the results to find the actual response you are looking for.
Or, you could use v2.5 of the API and use getLegacyResponseData. It will return the single response you are looking for.
Qualtrics managed to change what was a relatively simple to program single API call in version 2.5 into a minimum of 3 API calls with a bunch programming around them in version 3.
View originalOr, you could use v2.5 of the API and use getLegacyResponseData. It will return the single response you are looking for.
Qualtrics managed to change what was a relatively simple to program single API call in version 2.5 into a minimum of 3 API calls with a bunch programming around them in version 3.
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.