I would like to get 'itemid' by item.get api, and filter it by host ip
I tried this request, but it doesn't work (works only when giving host id):
{ "jsonrpc": "2.0", "method": "item.get", "params": { "output": "extend", "selectInterfaces":["ip"], "search": { "ip": "1.1.1.1" } }, "auth": "038e1d7b1735c6a5436ee9eae095879e", "id": 1 }
Any idea for me pls?