Feature #32796

API - Ability to get time entries report

Added by Pierre de LESPINAY almost 3 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:REST API
Target version:-


Since there is already an easy way to get the CSV time entries report with an HTTP request, it would be great to be able to get it with a REST request.

I didn't see a way to do it for now, and I recently posted a StackOverflow question about it (don't hesitate to suggest any workaround here).

For the API request I would suggest to keep the same input parameters and the output format (converted to JSON). Like this:

GET /time_entries/report.json?columns=day&criteria%5B%5D=user HTTP/1.1
Host: my.redmine.eu
Accept: application/json
X-Redmine-API-Key: 07awf6s549b6s5b70s54679s45v

Also available in: Atom PDF