Timelog in API


I would like to use Wrike API to pull the time log entries for the employees. However I would need the "Folder" in the response. Based on the "Folder" I can decide which internal task / project an emmployee has worked on and I can create timesheet accordingly. 

When I checked the API for timelog, I could not see the "folder" in the reponse. Is there any alternate?

P.S. The report extracted from Wrike web interface has the folder column included.


Any help please?

Spot On Innovative Approach Stellar Advice

Hi Aravind! That's a good question, thank you. We indeed do not provide any folder-related parameter in the response to [GET] /timelogs.

The way to get the corresponding folder via API would be using QueryTasks method first (to grab the parent folder IDs for the task with Timelog, from 'parentIds' https://www.screencast.com/t/oWHgwh8ZKB), then Get Folder method to see a folder name.

Basically, you would need to make a combined dataset in this case, where API data from /tasks endpoint would have connection with the data from /folders.Once you get the list of Timelogs, you should be able to understand what folder they belong to, by looking up the 'taskId' parameter in your task-folder database.

I hope my explanations were not confusing, please feel free to follow up with your questions!

Pavel M Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Pavel M Wrike Team member Become a Wrike expert with Wrike Discover

Spot On Innovative Approach Stellar Advice

Hi Pavel, 

Thanks for your reply. I will see if I can get the folder details using the steps you mentioned.

Many thanks,



Folllowing List for Post: Timelog in API
[this list is visible for admins and agents only]

Didn’t find what you were looking for? Write new post