In the folders API is it possible to search?

Hello :D

We are prototyping our wrike integration and we have the customer encoded into our project/folder names. Although less than ideal it is legacy so for now I am stuck with it. 

Is it possible to filter results with parameters in the v4 API ? For example, if I want to get all project/folder containing "-HR-" can I do something like:

https://www.wrike.com/api/v4/folders?project=true&title=*-HR-*

Trying anything like this returns a 400. What is the correct way to do this?

If it is not possible I assume the only options are either

  • add a custom field to each folder OR
  • put the projects into parent folders that have a custom field and filter by parent (?)

Either way I would assume other users would want to filter results. I hope I just missed some filtering parameter in the docs 😕

Many thanks,

JC

0
6 comentarios
Spot On Innovative Approach Stellar Advice
Avatar

Interested in this as well. For what its worth, another option (what I do) is simply pull in more data than I need and filter in my code. Not particular graceful or efficient but gets the job done. 

0
Acciones de comentarios Permalink
Spot On Innovative Approach Stellar Advice
Avatar

Hi @James & @Nathan, thanks for reaching out! I can raise tickets for you so that our Advanced Support agents could help. Please let me know 🙂

Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Lisa Wrike Team member Become a Wrike expert with Wrike Discover

0
Acciones de comentarios Permalink
Spot On Innovative Approach Stellar Advice
Avatar

Hello @Lisa, yes please. Our integration project is moving nicely but this one issue is a blocker for including wrike information.

Thank you :D

0
Acciones de comentarios Permalink
Spot On Innovative Approach Stellar Advice
Avatar

@James, of course, ticket raised 🙂

Come back to the Community if you have any other questions, happy to help and discuss 🖖

Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Lisa Wrike Team member Become a Wrike expert with Wrike Discover

0
Acciones de comentarios Permalink
Spot On Innovative Approach Stellar Advice
Avatar

James chappell - was this ever resolved for you? I didn't create my own ticket... figured I would see how yours played out :-)

0
Acciones de comentarios Permalink
Spot On Innovative Approach Stellar Advice
Avatar

Hey Nathan Jones, just jumping in for James chappell here, hope he doesn't mind.

From what I can see in our advanced support agent's reply, you can try Custom Field or parent folders. Alternatively, you can use a PUT /folders call with parameter 
?metadata={"key":"testMetaKey","value":"testMetaValue"}. This metadata is not visible in Workspace though, while it can be used to filter folders and projects in API calls. Filtering folders/projects by title in responses to GET /folders queries,  filter by ?title= is not supported in Wrike API.

Hope this helps! 

Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Lisa Wrike Team member Become a Wrike expert with Wrike Discover

0
Acciones de comentarios Permalink

Folllowing List for Post: In the folders API is it possible to search?
[this list is visible for admins and agents only]

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