Community
Filter attributes using not or null
4 days ago by test attacker
We have a boolean attribute on our assets and I'd like to use the REST API (e.g. /fleet/vehicles) to get only the assets that don't have this boolean set to TRUE
. I can successfully filter for values that attribute can have like this:
/fleet/vehicles?attributes=MyAttr:TRUE
but I need the ones that have MyAttr
either FALSE
or not set at all. Is this possible?