I am trying to query multiple projects in an Odata feed for our project server, but I have been unsuccessful so far. I am able to get individual project names and even exclude them, but when I try to query more than one project name I do not get the results I want. Perhaps my syntax is wrong. Any help with this would be greatly appreciated..
When I run this one it breaks and tells me that 'and' is an unknown operator:
http://$server/pwa/_api/ProjectData/Projects$filter=ProjectName -eq 'name1' and 'name2'
When I run this one it runs, but it still only looks at one value:
http://$server/pwa/_api/ProjectData/Projects$filter=ProjectName -eq 'name1' & 'name2'
According to this article this would be the right syntax the above statement using AND, but I am told that the syntax is wrong.
https://msdn.microsoft.com/en-us/library/ff478141.aspx
Also I even read this article to start with, which is a general overview of odata queries, but this is not really answering my question.
https://msdn.microsoft.com/en-us/library/office/jj163048.aspx