Can you pull records with the API and not duplicate prior exports? | XM Community
Skip to main content
Solved

Can you pull records with the API and not duplicate prior exports?

  • August 7, 2019
  • 1 reply
  • 49 views

mcase
Forum|alt.badge.img
Is it possible to hit up the API and pull only new responses since the last pull, and is there a way to only pull particular fields from the survey? The code I'm currently using is: downloadRequestUrl = baseUrl downloadRequestPayload = '{"format":"' + fileFormat + '","surveyId":"' + surveyId + '"}' downloadRequestResponse = requests.request("POST", downloadRequestUrl, data=downloadRequestPayload, headers=headers) progressId = downloadRequestResponse.json()["result"]["id"] print(downloadRequestResponse.text) Thanks

Best answer by TomG

Yes, you can use the startDate and questionIds parameters: https://api.qualtrics.com/reference#create-response-export-new

1 reply

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • August 8, 2019
Yes, you can use the startDate and questionIds parameters: https://api.qualtrics.com/reference#create-response-export-new