Does the FreeAgent API have a method for creating / exporting a timesheet report?
I’ve checked your documentation [HERE] and can’t find any mention of timesheet reports. What I am expecting is something like:
INPUT: timeframe, report type, contact or project or task or user
OUTPUT: PDF timesheet report
I would like to send my clients a weekly timesheet report and would prefer to automate this rather than having to manually generate them every week, for every client.
The API doesn’t but the API does contain the endpoints you’d need to create this.
It depends how big a problem this is for you - if it’s big enough to justify paying a third-party to help build this functionality out then that’s something I might be able to help with, otherwise it’s a do-it-yourself using the API endpoints that FreeAgent provides to extract the relevant information, put it in a PDF and send it.
There is already code within the FreeAgent application that generates this report (as a PDF or CSV) because it is called on the Timesheet Report > Export Report > PDF page. Duplicating existing code / function seems superflourous. So should this instead be a feature request? That is, feature request to expose the existing ‘export pdf’ function as an API?