I am setting up some scripts to download some reports related to inventory, fees etc. I know there are some reports you can request every 30 minutes and some ‘daily’ reports that you can request every 4 hours.
Originally my script would check when I last requested a report(from my database). If it has been a long time it would check MWS to see if it is beyond the 30 or 480 minute interval that is needed to for amazon not to cancel the request. I found one report that another app is requesting every 30 minutes like clockwork so I likely am just going to request the last report they generated at each cycle.
I was wondering if everyone follows the path. I need a copy of a report -> check to see if it has been recently requested -> if so use that otherwise request a new report rather then to just keep waiting until they can request the report themselves.
It seems like for snapshot reports this would be fine. ie ones you dont put in a start date. But not sure if this would work for some other reports that I pass down start dates. It certainly would not work with any reports I decide to acknowledge and then request the new results since last ack…