I actually use a really old version of Timetrex and I am doing all my external request using SQL command (it work well). I am actually trying to migrate to a newer version of timetrex and want to use the API (with PHP) to do my requests but I am facing a problem.
I can get punches using postToURL(buildURL('APIPunch', 'getPunch'), array($arguments)) and I can also get Holidays using postToURL(buildURL('APIAccrual', 'getAccrual'), array($arguments)) but can't get other type of absences like, for example, Sick (Paid).
All the informations are stored on the table user_date_total but when I try to get the informations using postToURL(buildURL('APIUserDateTotal', 'getUserDateTotal()'), array($arguments)) it says me it's a private function (but it's public in the documentation).
I must say that the API documentation is really complicated to understand, ...
Anyone have an Idea how I can get such informations?
Thanks in advance for your help
