How to use search.in in $filter for APIM
Leonardo Machado
0
Reputation points
Hello, All,
When I try to use in $filter in APIM (via http GET as a query string parameter):
search.in(Var, 'Val1, Val2')
(I also tried search.in(Var, 'Val1,Val2', ',') with the same result)
I get an error: "Invalid token detected in position 0"
But when I use for the same query:
Var eq 'Val1' or Var eq 'Val2'
I get the expected result. What am I doing wrong? I have this documentation as reference: https://learn.microsoft.com/pt-br/azure/search/search-query-odata-search-in-function
Thanks in advance.
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
Sign in to answer