The online timekeeping provides a simple REST interface for software developers to create time entries. The interface is implemented as a REST service and is also suitable for connecting time clocks.
The REST API must be activated in the settings of the online time recording system (tab 'Security') and a password must be set. Note: The same password is also used for the web service interface.
A testing resource is available at: https://www.goodtimetracking.com/goodtime-rs/api/hello/sayhello
A test resource for the login is available at: https://www.goodtimetracking.com/goodtime-rs/api/hello/securedSayhello For this call, https://www.goodtimetracking.com/goodtime-rs/goodtime-rs/api/login must be called beforehand.
A simple test client in Java for all available functions as a zip file or tar file.
@GET /api/hello/sayhello
This resource for testing returns a hello.
none
String
@GET /api/hello/securedSayhello
This resource can be used to test the login. The login must be called beforehand.
none
String
@POST /api/login
This resource can be used for login.
{loginemail, apipassword}
JSON web token
@GET /api/time/timecategories
This resource returns a list of all time types.
none
[{id, name}, ...]
@GET /api/time/users
This resource returns a list of all users' login emails.
none
[{loginemail}, ...]
@GET /api/time/projects
This resource returns the list of projects.
none
[{id, name}, ...]
@GET /api/time/projects/{useremail}
This resource returns a list of projects for a specific user.
{useremail}
[{id, name}, ...]
@POST api/time/createtimeentry
With this resource you can create a new time entry.
{starttime, endtime, useremail, timetypeid, projectid}
none