VMware Cloud Community
xian_
Expert
Expert

Odata lambda operators

I wanted to filter workitems based on itemData with key requestInstanceId

curl -s -k -X GET -H "Authorization: Bearer $token" "https://myvra.corp.local/workitem-service/api/workitems?%24filter=status+eq+'Active'+and+workItemTyp...'" | jq .content[].workItemRequest.itemData

gives me the active approval workitems' itemData.

curl -s -k -X GET -H "Authorization: Bearer $token" "https://myvra.corp.local/workitem-service/api/workitems?%24filter=workItemRequest/itemData/entries/a...')"

gives me the following error:

{"errors":[{"code":10105,"source":null,"message":"Unsupported operation.","systemMessage":"unsupported expression AggregateAnyFunction","moreInfoUrl":null}]}

Is the any operator not supported at all, or is my syntax wrong?

0 Kudos
0 Replies