I called support and they helped me figure out the issue
@RKY - after playing around with this it does appear that hard coding in a very distant future date does allow me to pull data in the past 30 minutes. I could not get the random # suggestion to work though (for anyone else looking for a solution). Thank you.
@RKY - I tried your suggestion and still am not receiving a dataResponse back. Am I miss understanding something? downloadRequestUrl = baseUrl downloadRequestPayload = {"format":fileFormat,"surveyId": surveyId, "useLabels": True, "startDate": str(startTimeISO) + 'Z', "endDate": str(endTimeISO) + 'Z', "seenUnansweredRecode":(str(randint(0, 9)))} downloadRequestResponse = requests.request("POST", downloadRequestUrl, data=json.dumps(downloadRequestPayload), headers=headers) print downloadRequestResponse.json() progressId = downloadRequestResponse.json()["result"]["id"]
Thanks @RKY - I need to automate this so it may be easiest to do the first option. When you say, "pass in a random number value" I'm assuming that every 30 minutes when the code runs, this value will need to be a new random number each time. Is that correct?
> @christxy said: > @ralbritton, > > Check all fields properly you are passing. I'm assuming that the field name would match the data import id field name that you see if you export your data. For example mine is {""ImportId"":""Status of Application""} Is this assumption correct?
Thanks @Sas> @Shashi said: > Hello @ralbritton , > > See the below image(Source) ! > > > Thanks - is there any kind of work around other then a manual download?
Already have an account? Login
Enter your 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.