6 Replies Latest reply: Jul 31, 2017 10:53 AM by TheRealDoug RSS

Help filtering out based on data/Devices manufacturerPartNr list

TheRealDoug

I'm trying to gather a list of devices using the data/Devices call, and filtering based on manufacturerPartNrs->manufacturerPartNr(list).    The deviceType is unreliable in the sense that a WS-C2960C-8PC-L and a WS-C2960X-48FPS-L are "Cisco Catalyst 29xx Stack-able Ethernet Switch" but they are two completely different architectures and I need to treat them differently.

 

I guess i'm not reading the filtering docs right, but I believe I should be able to use something like:

https://prime/webacs/api/v1/data/Devices.json?.full=true&.sort=deviceName&manufacturerPartNrs.manufacturerPartNrs.elements=WS-C2960X-48FPS-L

or

https://prime/webacs/api/v1/data/Devices.json?.full=true&.sort=deviceName&manufacturerPartNrs.manufacturerPartNrs.indices=WS-C2960X-48FPS-L


However, any iteration i've tried returns the same thing as if i ran:

https://prime/webacs/api/v1/data/Devices.json?.full=true&.sort=deviceName