I am using the export-responses API call to return a data set. The documentation lists questionIds and embeddedDataIds as options to include in the data portion of the body. The documentation states, 'If provided, only export answers from the provided list of Question IDs'. My expectation is to get a data set with the metadata and only those columns listed. However, the data set is the same as if I specified nothing. Here is the call I have tried (and other variations). I also have tried specifying the format as json but the same dataset is returned.
downloadRequestResponse = requests.request("POST","https://co1.qualtrics.com/API/v3/surveys/SV_xxxxxxxxxx/export-responses/"
, json=data, headers=headers, verify=True)
data = {
"format": "csv",
"seenUnansweredRecode": 2,
"newlineReplacement":" ",
"breakoutSets": True,
"questionIds":["QID1"],
"limit":5
}
I have also tried replacing "questionIds": ["QID1"] with "embeddedDataIds":["emb1","emb2"]
I have verified the ids in the survey definition.
What am I missing?
Best answer by JS_its
View original