02-02-2024 12:10 AM
Hi Community,
it looks like I´m missing something or there´s a lack in the API I don´t understand.
My use case:
I want to gather the (exact) product id´s of my Meraki dashboard inventory. If I check the Meraki Dashboard (via Browser) I can see all devices with their corresponding prod-id´s listed (Organizations / Configure / Inventory), along with some more data.
I think I found the API call that´s the API version of this:
But, as the result I do not see the "MR72-HW" as the modell, but
02-02-2024 12:45 AM
I don't think there's a way to do it beyond the call you already found and adding -HW.
The PID country suffix is typically selecting the power cable to order (if any) rather than a device difference.
You could create a rule to rebuild the suffix (on products where it would be valid, so you'd need to maintain a table) based on the countryCode value in the API response.
The cellular devices with the -NA or -WW suffix are one exception I can think of, though whether they are actual hardware variants rather than determined by software/config is another thing.
The huge Cisco API collection may give access to the full PID in the CCW order, but that's a completely different system, and you'd still need to find a way to relate data from CCW with Dashboard (I've a feeling that relation may not be possible.)
02-02-2024 04:19 AM
Basically a model number and a product SKU (that you use in an order) are separate - albeit related - things.
Is there a particular reason why you need the SKU specifically?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide