Hello kind people,
I'm trying to find a way to download the delta responses by using the continuation option. Below is the cURL that I use. I can run it successfully and get the result if I choose to download it in the "csv" format. However, when I use the below command line, with data format as "json", I get the "httpStatus: 400 - Bad Request" error. I need to have the data in the json file instead of the csv.
Long story short, I can use the command line below to download the csv file but NOT the json file. Could someone help me?
Works: curl --request POST --url https://myCompany.qualtrics.com/API/v3/surveys/mySurveyID/export-responses --header 'content-type: application/json' --header 'x-api-token: myToken' --data '{"format":"csv","useLabels": true,"continuationToken": "myContinuationTokenFromPreviouslyRun"}'
Doesn't work: curl --request POST --url https://myCompany.qualtrics.com/API/v3/surveys/mySurveyID/export-responses --header 'content-type: application/json' --header 'x-api-token: myToken' --data '{"format":"json","useLabels": true,"continuationToken": "myContinuationTokenFromPreviouslyRun"}'
Thank you in advance,
UHutch
How to download the delta responses in json format with continuation filter option?
Best answer by TomG
useLabels isn't valid with json. From the documentation:
When exporting responses as JSON, not all parameters are meaningful. Consequently, the following parameters are not allowed when starting a JSON or NDJSON export:
includeDisplayOrder useLabels formatDecimalAsComma seenUnansweredRecode multiselectSeenUnansweredRecode timeZone newlineReplacement breakoutSets
Sign up
Already have an account? Login
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join.
No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login to the Community
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join.
No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
