I want to apply filtering in elements returned when I pass parameters like "selectAlarms" when calling another method like "service.get". It is possible? How can I do this?
To be more specific I want to get the alarms with values 3 and 4 in a period (from "clock": "1546311600" to "clock": "154898600"). Here's the request I'm using:
I tried to use "filter" but didn't work.
Thanks in advance!
To be more specific I want to get the alarms with values 3 and 4 in a period (from "clock": "1546311600" to "clock": "154898600"). Here's the request I'm using:
Code:
{
"jsonrpc": "2.0",
"method": "service.get",
"params": {
"output": "",
"serviceids": "6",
"selectAlarms": ["value", "clock"]
},
"auth": "683b9bb102eacb4567bef763595b190f",
"id": 1
}
Thanks in advance!