qualtRics
qualtRics copied to clipboard
Retrieve user-uploaded files
A frequent use case in Qualtrics surveys is to allow users to upload files that supplement their responses. For instance, a question might prompt the users to upload a photo or a letter of recommendation in a certain format. The analyst might then want to include those user-uploaded files alongside some sort of reporting that they are doing.
Currently, Qualtrics has no feature or planned feature allowing these files to be incorporated into their native reporting. Additionally, the export features available on the website are not ideal (only option is to download files into a zipped folder).
Browsing the Qualtrics user community reveals that this issue has been discussed before and one user may have submitted a feature request to Qualtrics for an API call that would download user uploaded files. It's unclear if this feature is possible within the current API but I wanted to at least propose it.
I've found an endpoint that we can access buried within this stackoverflow question.
the url format is https://{base_url}/API/v3/surveys/{strSurveyId}/responses/{strResponseId}/uploaded-files/{strFileId}
where strField
is the file id for the user uploaded file for a given responseId
. I've been able to successfully download my user uploaded files using this url format despite no documentation on it in the Qualtrics API.
This is amazing ! I’ll try it out
On Sat, Sep 18, 2021 at 6:45 PM Elliot Gould @.***> wrote:
I've found an endpoint that we can access buried within this stackoverflow question https://stackoverflow.com/questions/68490546/how-to-download-a-file-on-next-js-using-an-api-route/68810948#68810948 .
the url format is https:// {base_url}/API/v3/surveys/{strSurveyId}/responses/{strResponseId}/uploaded-files/{strFileId}
where strField is the file id for the user uploaded file for a given responseId. I've been able to successfully download my user uploaded files using this url format despite no documentation on it in the Qualtrics API.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ropensci/qualtRics/issues/139#issuecomment-922389564, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMBQG3MVJPI3C4N2W2HYIRLUCUQCZANCNFSM4KXJU6RA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- Ethan Tenison | Project Manager for RGK Data Initiatives RGK Center for Philanthropy & Community Service | LBJ School of Public Affairs | The University of Texas at Austin 808-419-2704 | @.*