Get non-compressed file from Survey Response Exports API? | XM Community
Skip to main content
Solved

Get non-compressed file from Survey Response Exports API?

  • January 13, 2020
  • 1 reply
  • 174 views

Hello, I'm using the templates explained here to get the response progress from one of my surveys using http requests (i.e. first a POST request to create response report, then a GET request to get response progress from the report and finally another GET request to get the actual data file. Using this method I have been able to download the exported file as zip and then get the json file from inside. But I'd like to receive the data directly as a json string so that I can immediately use it in my database, and not as a zip file. Is there a header or API endpoint that will allow me to receive uncompressed response data in json format?

Best answer by TomG

On the create response report call, set the compress parameter to false.
View original

1 reply

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5923 replies
  • Answer
  • January 14, 2020
On the create response report call, set the compress parameter to false.

Leave a Reply