Get non-compressed file from Survey Response Exports API? | XM Community
Solved

Get non-compressed file from Survey Response Exports API?

  • 13 January 2020
  • 1 reply
  • 92 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?
icon

Best answer by TomG 14 January 2020, 02:12

View original

1 reply

Userlevel 7
Badge +27
On the create response report call, set the compress parameter to false.

Leave a Reply