Topic: Search the resources by admin field
I'm using Wialon Remote API, I want to search the resource by admin field, find below condition, I want to check admin field name with value pair, but Its not working in that way. Can anyone please help me on this.
Resource 1 Admin Fields:
name : sam
address : test
Resource 2 Admin Fields:
name : test
address : sam
Expected Result : Resource 1
Current Result : Resource 1, Resource 2
rel_adminfield_name == name AND
rel_adminfield_value == sam
svc : core/search_items
params : {"spec":{"itemsType":"avl_resource","propName":"rel_adminfield_name,rel_adminfield_value","propValueMask":"name,sam","sortType":"sys_name","propType":"rel_adminfield_name,rel_adminfield_value","or_logic":"0"},"force":1,"flags":"0x00000085","from":0,"to":0}
J Prabhu