-
-
Notifications
You must be signed in to change notification settings - Fork 597
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export other users' timesheets using the API #562
Comments
Hi! |
Well, that was easy... please check the attached PR. |
I'm curios about this change, too. Correct me if I'm wrong: it's not possible to filter the project and timespan yet? We use direct DB access in v1 to get all the time sheet entries for a specific project of all users for a specific timespan - usually the last month. |
Timespan is indeed not possible yet, but you can filter for: customer, project, activity and user. |
@hmr-it-jr I can add the time range, but please open a new issue for it. I will do some more refactoring when working on that. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. If you use Kimai on a daily basis, please consider donating to support further development of Kimai. |
I'm looking for a way to export timesheets of other / all users via the API.
Currently we are using Kimai 1 and import all timesheets into our invoicing system via an ODBC connection to the database on a regular basis. We are thinking about switching to Kimai 2 and start using the API, but I couldn't find a suitable method in the API. It looks like /api/timesheets can only access timesheets for the current user. Is there a way to get all timesheets or query by user id?
The text was updated successfully, but these errors were encountered: