Easy to use and powerful time tracking API allows you to get detailed reports just by giving a start and end date parameters to the URI.
There are several types of reports, you can choose the one you need
- Reports for each user
(all available information for separate users)
- Report per day (all available information
for a day)
Easily get general information about your team members tracked time for each task by using Full report API.
It takes 2 following parameters start_date
and end_date
in YYYY-MM-DD
format.
Copy code GET https://www.webwork-tracker.com/rest-api/reports/full-data?start_date={start_date}&end_date={end_date}
The response returns a json format. Below you can see an example of response structure.
Copy code { "dateReport" => [ { "email" => "{email}" "tasks" => [ { "taskId" => "{task_id}" "taskTitle" => "{task_title}" "minutes" => "{minutes}" "inactive_minutes" => "{inactive_minutes}" }, ... ], "totalMinutes" => "{total_minutes}" }, ... ] }
Daily report can help you get information about your team members tracked time sorted by tasks and projects. You can get the data for each day just by following the steps mentioned below.
You should give start_date
and end_date
parameters in YYYY-MM-DD
format.
Copy code GET https://www.webwork-tracker.com/rest-api/reports/daily-data?start_date={start_date}&end_date={end_date}
The API response should return a json format. An example of response structure you can see below.
Copy code { "dateReport" => [ { "dateTracked" => "{date}" "email" => "{email}" "projects" => [ { "projectId" => "{project_id}" "projectName" => "{project_name}" "tasks" => [ { "taskId" => "{task_id}" "taskTitle" => "{task_title}" "minutes" => "{minutes}" "inactive_minutes" => "{inactive_minutes}" }, ... ] }, ... }, "totalMinutes" => "{total_minutes}" }, ... ] }
Daily timeline allows you to get information about worked time grouped by tasks and projects. Besides getting time spent on tasks you also get start and end time for each task.
You should give start_date
and end_date
parameters in YYYY-MM-DD
format.
Copy code GET https://www.webwork-tracker.com/rest-api/reports/daily-timeline?start_date={start_date}&end_date={end_date}
The API response should return a json format. An example of response structure you can see below.
Copy code { "dateReport" => [ { "dateTracked" => "{date}" "email" => "{email}" "projects" => [ { "projectId" => "{project_id}" "projectName" => "{project_name}" "tasks" => [ { "taskId" => "{task_id}" "taskTitle" => "{task_title}" "timeEntries" => [ "beginDatetime" => "{minutes}" "endDatetime" => "{minutes}" "notes" => [ { "noteMessage" => "{note}" "minutes" => "{minutes}" "inactive_minutes" => "{inactive_minutes}" }, ... ], "minutes" => "{time_entry_minutes}" "inactive_minutes" => "{inactive_minutes}" ], "taskMinutes" => "{total_task_minutes}" }, ... ] }, ... }, "totalMinutes" => "{total_minutes}" }, ... ] }