I'm trying to use the NetXMS API to return all objects of a certain type, with a given parent that have the letters "WI" in the name.
Supposedly using the useRegex parameter would allow me to use a regex statement for the name parameter that would locate these entries. But my attempts to do so keep yielding no results. Does anyone know what I'm missing?
Here's my api call and the returned output:
{{host}}/objects?parent=4&class=interface&useRegex=true&name=%2F.%2AWI.%2A%2F
{
"objects": []
}
I've attempted formatting the regex with and without url encoding
Supposedly using the useRegex parameter would allow me to use a regex statement for the name parameter that would locate these entries. But my attempts to do so keep yielding no results. Does anyone know what I'm missing?
Here's my api call and the returned output:
{{host}}/objects?parent=4&class=interface&useRegex=true&name=%2F.%2AWI.%2A%2F
{
"objects": []
}
I've attempted formatting the regex with and without url encoding