Wrike API Tasks

I have a Wrike API question.  I am attempting to get all TASKS from a specific Space.  When i reviewed the data i see that i am not getting all the records i would expect. I had added new tasks to the space as a test.   The dataset looks like it ends in April of 2022.  Any task created after i am not getting.  Are there any limitations? Or is there something different I should be doing?  Below is the curl i am using.
curl -g -X GET -H "Authorization: bearer "$token \
		"https://www.wrike.com/api/v4/spaces/<spaceID>/tasks?fields=["parentIds","subTaskIds","responsibleIds","customFields","effortAllocation"]&descendants=true"\
		--output "./json/tasks1.json"  
0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos
7 commenti
Avatar
Cansu

Hi Gary Carreon, I've raised a Support ticket for you, our team should be in touch shortly via email 🙋🏻‍♀️

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

I'm having the same issue; it seems there is a 1,000 record limit.  Is there any way to offset the task records requested so I can iterate through the API call and retrieve the next 1,000 records etc.?

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

Hi Sarah Block, welcome to the Community, and thank you for posting.  Please note the command [GET] /spaces/{spaceId}/tasks returns only 1.000 tasks. 
 
To get the full list of tasks from a large Space, please use the response pagination. Here's a Help page with instructions: https://help.wrike.com/hc/en-us/community/posts/211881385-API-Pagination-and-the-nextpage-Token 
 
Please let me know if this helps. 

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

Thanks Cansu for the quick response!  Yes that page has been very helpful.  I've been able to successfully implement the paging into my API calls.

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

Great to hear that Sarah Block don't hesitate to let us know if you have any other questions 🙋🏻‍♀️

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

Hi,

I am trying to get tasks from the Spaces but don't see any results. can someone help

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

Welcome to the Community Nishita Sake, and thank you for reaching out 👋

I can see that you're discussing this with our Support team now. Please let me know if there's anything else I can help you with! 

Lisa Community Team at Wrike Wrike Product Manager Diventa un esperto di Wrike con Wrike Discover

Lisa Wrike Team member Diventa un esperto di Wrike con Wrike Discover

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

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

Inizio

Prossime sessioni in diretta

Non hai trovato quello che cercavi? Scrivi un nuovo post