Expand my Community achievements bar.

Anyone know how to use the API to search for projects meeting either priority 1 or 2?

Avatar

Level 1
Anyone know how to use the API to search for projects meeting either priority 1 or 2? I can find priority 1 in a single request. I can find priority 2 in a single request. How do I return both in the same API request? Thx!
Topics

Topics help categorize Community content and increase your ability to discover relevant content.

API
2 Replies

Avatar

Level 2
Hi Tim, You can request multiple priorities by adding on the same field with a different value. /attask/api/v5.0/project/search?priority=1&priority=2 You can also use a modifier to grab all priorities greater / less than... /attask/api/v5.0/project/search?priority=2&priority_Mod=lte The greater than/less than etc. modifiers can be found on Filter and Condition Modifiers within the support site. Thanks!

Avatar

Level 1
Thanks! Works great. P.S. Don't use SoapUI with this approach...it doesn't like having the same parameter more than once in a single request. Much appreciated!