Inventory query filter for empty array fragments

Hi All,

I am trying to query a list of inventory managed objects based on a condition, with one of the fragments containing an empty array. Can anyone help me with this?

MO Structure:
{
“id”:“…”,
“type”: “inet_CylinderInstance”,
“inet_ConnectDockingStation”:
}

I want to query objects having connectedDevices = .

Got the solution below filter query worked for me.
$filter=(type+eq+inet_CylinderInstance+and+not+(has+(inet_ConnectDockingStation.id)))

1 Like