How to filter?

Hi All,

Using the below end point I need to get the filtered data using http request

https://<your_orchestrator_url>/odata/Tasks?$filter=Status eq ‘Unassigned’ or Status eq ‘Incomplete’

I am getting error like

image

can any one suggest me on this??

@naveen.s
we recommend to use swagger for prototyping

from the task model docu we can derive the status enum:
grafik

so there is no Incomplete status and this may lead to the issue

1 Like

Hi,
There is no ‘InComplete’ status. You might have to use ‘Pending’ and try using ‘in’ condition in ODATA query.

$filter=Status in (‘Pending’, ‘Unassigned’, ‘Completed’)