API Request in Python to Export In-Progress Responses | XM Community
Question

API Request in Python to Export In-Progress Responses


Hi,
I'm trying to export in-progress responses in addition to finished responses. I was told that the parameter I want is "exportResponsesInProgress"; however, I have passed that in my headers and data with no luck.
Any help would be greatly appreciated!
Here's my code in Python:
image.pngThanks,
John


3 replies

Hi- Did you ever figure this out? There's another comment that says it's not possible with the V3.0 api.

Hey Tom,
Thanks for your response! My url is the same as yours. I'm just using .format().
Check it out: https://www.geeksforgeeks.org/python-format-function/
It allows you to plug values into strings.
If you have exported in-progress responses in Python before, it would be awesome to see some of your code 🙂
-John

Userlevel 7
Badge +27

Not sure if it is the only problem, but I believe your baseUrl is incorrect. I think it should be something like:
baseUrl = "https://sepa.co1.qualtrics.com/API/v3/surveys/"+surveyId+"/export-responses"

Leave a Reply