REST Query no results
Hello,
I'm trying to do a simple query the rest service with a filter of system.hoststatus = normal using the following parameter:
so my entire post string looks like this:
I'm getting a response, but its always empty:
{
"status" : 200,
"errmsg" : "OK",
"data" : {
"total" : 0,
"items" : [ ],
"searchId" : null,
"isMin" : false
}
}Am I fundamentally mis-understanding the syntax for the query?
Thanks!
Dean_A
Posted 1 year ago·Last reply 1 year ago
7 comments
Joe Williams
·1 year agoNot using a fancy way I can make the call with it like this
Mike Moniz
·1 year agoOh I see, actually reading the url more :P I guess there is a new advanced filter thing I have not used. Sorry, haven't used it myself.
Mike Moniz
·1 year agoSee https://www.logicmonitor.com/support/rest-api-advanced-filters
I don't think you can use json as params. Try this (did not test):
Dean_A
OP1 year agoSadly, the same result... i dont seem to be able to get any query to work