Now working.
Thanks.
My script was modifying the sessionID that was being passed to the API call. I changed the variable that i was using to check isLoggedIn
Search found 16 matches
- Thu Jan 30, 2020 9:34 am
- Forum: Developers
- Topic: JSON API method isLoggedin vs Login
- Replies: 2
- Views: 12035
- Wed Jan 29, 2020 11:53 am
- Forum: Developers
- Topic: JSON API method isLoggedin vs Login
- Replies: 2
- Views: 12035
JSON API method isLoggedin vs Login
I am confirming that the user still has a valid session by the script below on a different page to the one i use to login.I am supplying an active session number to variable TIMETREX_SESSION_ID. I get a return echo that the user is logged in but no data. It looks like Timetrex API requires me to sup...
- Tue Jan 28, 2020 3:34 pm
- Forum: Developers
- Topic: List all Employees JSON API
- Replies: 6
- Views: 14589
Re: List all Employees JSON API
the API only mentions how to get user data when you know something about the user like userid. to get all users you will need to append null.
$user_data = postToURL( buildURL( 'APIUser', 'getUser' ), null);
- Tue Jan 28, 2020 2:58 pm
- Forum: Developers
- Topic: List all Employees JSON API
- Replies: 6
- Views: 14589
List all Employees JSON API
I would like to get a list of employees using API. I am able to get basic information as in JSON API example. I am interested in capturing Employees First name, last name, phone number and status. just like in the employees tab on Desktop version of Timetrex.
- Tue Oct 30, 2018 2:41 am
- Forum: Help
- Topic: API getting current logged in user data
- Replies: 2
- Views: 2194
Re: API getting current logged in user data
That has worked. Thank you
- Mon Oct 29, 2018 3:41 am
- Forum: Help
- Topic: API getting current logged in user data
- Replies: 2
- Views: 2194
API getting current logged in user data
I am trying to get current logged in user data using API I have tried the code below but its not returning anything <code> $current_user_object = postToURL( buildURL( 'APIUser', 'getCurrentUserObject' ) ); var_dump($current_user_object); </code> however if I try to get user data after specifying arg...
- Mon Jul 16, 2018 9:21 am
- Forum: Help
- Topic: Schedule error when selecting date range
- Replies: 8
- Views: 4491
Re: Schedule error when selecting date range
Feature is working correctly on the demo
- Mon Jul 16, 2018 8:55 am
- Forum: Help
- Topic: Schedule error when selecting date range
- Replies: 8
- Views: 4491
Re: Schedule error when selecting date range
Yes this happens all the time. process: Log in as admin - Click on attendance - Schedule- new -schedule window opens -click on date calendar -select range tab and select date range pick any 2 or more free dates. The moment you get out of the range tab the processing view pops up and I receive debug ...
- Sat Jul 14, 2018 2:28 pm
- Forum: Help
- Topic: Schedule error when selecting date range
- Replies: 8
- Views: 4491
Re: Schedule error when selecting date range
Another transcript of error
- Sat Jul 14, 2018 1:42 pm
- Forum: Help
- Topic: Schedule error when selecting date range
- Replies: 8
- Views: 4491
Re: Schedule error when selecting date range
I do not get an error message. The schedule simply does not apply.
I then get the Debug with sample message attached
I then get the Debug with sample message attached
- Thu Jul 12, 2018 5:39 am
- Forum: Help
- Topic: Schedule error when selecting date range
- Replies: 8
- Views: 4491
Schedule error when selecting date range
I get
Any ideas.
Using Timetrex version 11.2.4 community edition on Linux.
when trying to select a date range when setting up a new schedule using date range.TypeError: this.parserDatesRange is not a function
Any ideas.
Using Timetrex version 11.2.4 community edition on Linux.
- Wed Apr 11, 2018 10:27 pm
- Forum: Installation Help
- Topic: PHP CLI requirements failed during System Check
- Replies: 4
- Views: 11774
Re: PHP CLI requirements failed during System Check
I have had to add /usr/bin to my open base dir in domain php settings.
- Wed Apr 11, 2018 8:09 am
- Forum: Installation Help
- Topic: PHP CLI requirements failed during System Check
- Replies: 4
- Views: 11774
Re: PHP CLI requirements failed during System Check
That is the install instructions I followed whist substituting custom links.
- Wed Apr 11, 2018 5:37 am
- Forum: Installation Help
- Topic: PHP CLI requirements failed during System Check
- Replies: 4
- Views: 11774
PHP CLI requirements failed during System Check
I am trying to install Timetrex 11.2.1 on Centos7 with Plesk Onyx Version 17.0.17 Update #49. I am getting the below. PHP OPEN_BASEDIR setting (/var/www/vhosts/orielplacements.co.uk/:/tmp/) does not include directory of PHP CLI binary (/usr/bin)PHP CLI (/usr/bin/php) does not exist or is not executa...
- Sat Mar 24, 2018 3:26 pm
- Forum: Installation Help
- Topic: Timetrex version 11 on mysql database
- Replies: 1
- Views: 3452
Timetrex version 11 on mysql database
When I try to upgrade from Timetrex version 10 to version 11. I am only getting an option to install on Postgres8 database. My currentTimetrex 10 installation is on a MYSQL database.
How can I get Timetrex 11 to install on MYSQL database
How can I get Timetrex 11 to install on MYSQL database
- Wed Mar 21, 2018 7:49 am
- Forum: Developers
- Topic: Custom menu and module timetrex 10.7.1
- Replies: 1
- Views: 15951
Custom menu and module timetrex 10.7.1
Is there any documentation on how to create additional menus and views on timetrex community edition. I would like to create a blank view accessible from the main menus. The reason for doing this is to integrate a custum PHP page whilst making use of the logged on user session or cookies