Trying to create an API that filters based on custom field not being present.

Hello All,
I'm trying to write an API that only returns tasks if a custom field is present. I see Wrike has this as an option in the https://www.wrike.com/api/v4/tasks api, but there's no examples that use the advanced fields in the customField portion of the API.

Can anyone provide me some assistance or an example API that does this?

(picture provided of the available fields.)

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

Hi Austin Boucher, I can see that my colleague from the Support team contacted you about your API question. Could you please let us know if the proposed solution worked for you? 

Lisa Community Team at Wrike Wrike Product Manager Werde ein Wrike-Experte mit Wrike Discover

Lisa Wrike Team member Werde ein Wrike-Experte mit Wrike Discover

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

Hello, is there any update on this, I need the same thing

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

Hi Jeremy Miedreich,
when you make a GET /task call as showed here https://developers.wrike.com/api/v4/tasks/  you can:

- add in URL something like this

&customField={"id":"IEAMNUTRJUAAAAAG","comparator":"ContainsAny","values":["important"]}&status=Active'

 

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

Folllowing List for Post: Trying to create an API that filters based on custom field not being present.
[this list is visible for admins and agents only]

Oben

Bevorstehende Live-Sitzungen

Haben Sie nicht gefunden, wonach Sie gesucht haben? Neuen Beitrag schreiben