how to get expense data
I am trying to get all the expenses information based on a filter by "Downloader" endpoint.
Currently, we have some expenses uploaded by mobile app, and I can also create new expenses by api calls.
The issue starts when I try to get all the expenses based on a filter.
1 - I exported a report with "Report Exporter" ("type":"combinedReportData") filtering by a start date. This returned a file name.
2- Using the file name above, I called Downloader api endpoint ("type": "download")
3- It only returned a string "[email protected]_template.ftl" .
I expect it to return a response with all the expense information (is that right?) . It looks like it is related to templates, not sure how to create a template though, not so clear in the doco.
So, what am I doing wrong? How can I get the details of all the uploaded expenses?