-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Labels
Description
For some reason I can't filter by the id property. When I submit the following command
Get-LMDevice -Filter `id -eq 173'
I get all devices returned. I have tried multiple methods, including putting quotes around the 173. When i issue the -Debug command I see the following URL being invoked which looks correct per the REST API Basic Filters documentation
Get-LMDevice -Filter `id -eq 173' - Debug
DEBUG: Constructed Filter-v2: id%3a173
DEBUG: Invoked Command: Get-LMDevice
DEBUG: Bound Parameters: [Filter:id -eq 173] [Debug:True]
DEBUG: Invoked URL: https://xxxxxxx.logicmonitor.com/santaba/rest/device/devices?filter=id%3a173&size=1000&offset=0&sort=+id
it appears I can filter on any other property but the id property.