Dear community members and QUALTRICS Team, I have a few questions about QUALTRICS Survey API's which are the following:
1.) How can we get all responseId details of the particular survey in JSON format (Not as ZIP or CSV)?
I have found One API to export files that I am adding below as API 1.1. This gives me the details in CSV format which I can download/write using python code but, I am not looking for it. I need a JSON response to my request without downloading the CSV and JSON file.
API 1.1 https://
>/export-responses/
2.) My Second Question also partially related to question number 1, Is there any way to get JSON details of users uploaded Image/Video which I have asked as upload file form question in the survey.
Again This information, I am able to get file_url in CSV File as you can see in below example 1. But I want That information in JSON format too.
Example 1: http://s.qualtrics.com/WRQualtricsControlPanel/File.php?F=F_2PaNXXXXXX
3.) I required a percentage JSON response for the user's reply to the survey question.
Example 2: Are you an engineer?
1.) Yes
2.) No
Out of 100 people, 70 people reply for Yes and others for No. For that, Can I get a question vies JSON response with 70% for Yes and 30% for No or can we get a separate JSON response of users for Yes and No? Is there any API for that?
4.) Is there any API for getting the total number of responses for survey using date and time filter operation in body param.
Note: I am getting total response count but can't able to perform the filter operation based on date and time.
Sorry for asking too many questions at a time. please any kind of help would be great for me. Thank you so much.
Solved
How to get JSON response of all ResponseId of survey without downloading any CSV and JSON File.
Best answer by rondev
- Unfortunately, Since the responce export API only export files of type json (if specified ), we do not have any option here. Check this.
- For point 2 and point 3, if you read the export file from step 1 and just extract all the response Id in an array then you can loop this API call for each responseId and get/calculate required fields accordingly.
- If we specify 'endDate' in this API, then we could achieve our point 4. Similarly, if we need some specific data only in our response export then specify it in 'includedQuestionIds' parameter.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
