Please use Java Script to achieve that task.
For 10 days use downloadRequestPayload = '{"format":"' + fileFormat + '","startDate": "2019-01-01T00:00:00Z","endDate": "2019-01-15T13:36:24Z"}' It will give you data for Jan 1st till 15th
Please use below code: Pass start date and end date and filtering to return only required results. The startDate parameter actually filters on Recorded Date rather than Start Date. format: YYYY-MM-DD # Step 1: Creating Data Export downloadRequestUrl = baseUrl downloadRequestPayload = '{"format":"' + fileFormat + '","startDate": "2019-01-01T00:00:00Z","endDate": "2019-01-05T13:36:24Z"}' downloadRequestResponse = requests.request("POST", downloadRequestUrl, data=downloadRequestPayload, headers=headers) progressId = downloadRequestResponse.json()["result"]["progressId"] print(downloadRequestResponse.text)
Hi Team, I am not able to export selected columns V3 API export.It is giving me an error saying KeyError('result',). Please help. Below id the code sample: # Step 1: Creating Data Export downloadRequestUrl = baseUrl downloadRequestPayload = '{"format":"' + fileFormat + '","startDate": "2019-01-01T00:00:00Z","endDate": "2019-01-05T13:36:24Z","questionIds":["Q01A","Q01B","Q01C"]}' downloadRequestResponse = requests.request("POST", downloadRequestUrl, data=downloadRequestPayload, headers=headers) progressId = downloadRequestResponse.json()["result"]["progressId"] print(downloadRequestResponse.text)
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.