How to pull all reportId

talevor
Expensify Customer Posts: 1
Hello everyone, I saw that we can pull a report if we have the ReportId, but how can we get all the ReportId from the system?
I want to export the expense data from the system, but it doesn't make sense if I have to find the ReportId in the system and then start a script to pull it out.
Answers
-
Hi @talevor
- If you're exporting to a custom CSV template then you can use this formula, {report:oldID}
- If you're using our API then the formula is ${report.oldReportID}
I hope this helps, let me know if you have any further questions!