By using the API samples from Amazon Marketplace Web Service, combine 3 sample codes into 1 script to request a report, find the reportid and then download the report...
the 3 or 4 script I'll like to combine is
[url removed, login to view]
[url removed, login to view] (to find if is done)... no required
[url removed, login to view] (to get the ReportId)
GetReport to download the report.
I've been working with each individual code and they work but now I'll like to make 1 code to download the report generated, using _GET_FLAT_FILE_ORDERS_FILE_