Discussion for TimeTrex open source community developers.
jairo
Posts: 25 Joined: Thu Dec 05, 2013 5:44 pm
Location: Dominican Republic
Post
by jairo » Sun Mar 05, 2017 10:58 am
Hello all,
I want to know if there are a way to get JSON representation of the TimesheetDetailReport or TimesheetSummaryReport.
By now I can get this information only as csv and pdf format.
I need this information for a custom Invoice app.
I don't want to dig into the database directly
Thanks in advance.
shaunw
Posts: 7839 Joined: Tue Sep 19, 2006 2:22 pm
Post
by shaunw » Sun Mar 05, 2017 6:10 pm
TimeTrex has a full coverage REST/JSON API, you can find more information here:
http://www.timetrex.com/help/developers/community/
As well as see the api/json/api_client_example.php for an example script on accessing the API.
Additionally tools/export/export_report.php may be helpful to export any report directly from the command line.