Project

General

Profile

Actions

Feature #32796

open

API - Ability to get time entries report

Added by Pierre de LESPINAY almost 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

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

No data to display

Actions

Also available in: Atom PDF