What format should I use for timestamps?

Apply Connect accepts timestamps in the ISO 8601 format.

How do I download the latest data for a report?

To download the latest data you need to create a new generate report job, wait until the job finishes, and then download the data.

You can create a new generate report job by POSTing the report id and the format for the data to /api/reportjobs/ .

To get the status of the report, use GET /api/reportstatuses/?id={id} where {id} is the report ID. A status of 3 indicates the report has been generated. You can check the row and total_rows values to get a sense of how long it will take the report to generate. Note you could call GET /api/reports/{id}/ to get the status of the report. The reportstatuses endpoint is quicker as it returns fewer fields.

Once the report has been generated, you can download it using GET /api/reports/{id}/download/ .