How to query deleted tasks?

Hi everyone, I was wondering if there was a way to query deleted tasks(which are currently in the Recycling Bin) through the Wrike API.

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos
2件のコメント

Welcome to Wrike, Eddy Leon Silva! 🎉 Would you like to chat with our support team? You can check this out yourself, or let me know if you’d like me to raise a ticket on your behalf. 😊

Basudha Sakshyarika Community Team at Wrike Wrike Product Manager Wrike Discover で Wrike のエキスパートになろう

Basudha Sakshyarika Wrike Team member Wrike Discover で Wrike のエキスパートになろう

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Eddy Leon Silva

I found a way to do it, but it might not work very well (ran into internal server error, likely due to huge recycle bin).

Try these following steps:

  1. Create a task and get its v4 id via API (using ID conversion or retrieve task using permalink)
  2. Delete the task
  3. Use the Task API to get the task supplying the v4 Id (GET /tasks/{taskIds})
  4. You will find that the parent folder of this deleted task is ID similar to "IEAC7PTTI7777776", this v4 ID is the recycle bin folder.

Then you can use the Task API (GET /folders/{folderId}/tasks), to retrieve tasks from your recycle bin folder, for example:

https://app-eu.wrike.com/api/v4/folders/IEAC7PTTI7777776/tasks?status=Cancelled&descendants=false

 

Hope it helps!

 

 

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Folllowing List for Post: How to query deleted tasks?
[this list is visible for admins and agents only]

トップ

今後のライブセッション

お探しのものが見つかりませんか? 新しい投稿を作成する