Add a Metadata Filter to a VCO Query - how to use vco vcfilter ?? If there is a way I need the syntax to be able to use the below call.
I have to make a search based on key and value.
vcd rest call:
vco:
what will be the expression for metadata??
var expressionOrg1 = new VclExpression(VclQueryOrgField.DISPLAYNAME, "*", VclExpressionType.EQUALS);
var expressionOrgMeta = ?? (need for metadata)
var expression = new Array(expressionOrg1, expressionOrgMeta);
var filter = new VclFilter(expression,VclFilterType.AND);
var params = new VclQueryParams();
var orgRef = new VclReference();
params.setFilter(filter);
params.addMetadataField("first", VclMetadataDomain.SYSTEM);