I have been trying to use the SonicWall API to tell me about firewall and switch licenses, specifically when they will expire. I was able to test and get the API to give me an output; however, the part I’m stuck on is making it so host items are dynamically found within the SonicWall portal that I’m supporting. For instance, I am trying to match the host and API info via serial number.
In the SonicWall integration, the serial number item is included, and I have been trying to utilize this in the inventory. However, the item I’m using does not seem to be grabbing {INVENTORY.SERIALNO_A}, even though it’s set to auto and is indeed a real serial number I see on the SonicWall portal.
I have also tried JavaScript:
{"data":[{"{#SERIAL}":"$VALUE"}]}
as an LLD to give me a key. I’m not very strong in coding, so I may have done something wrong. However, the output keeps giving me "{#value}" instead of the serial number value.
My main goal is to get this item working as it should. The only part I know is not working is the {INVENTORY.SERIALNO_A}.

Any help would be appreciated, even a link to a similar situation.
This is also my first post, so if I've filled this in the wrong area, please let me know.
Thank you.
In the SonicWall integration, the serial number item is included, and I have been trying to utilize this in the inventory. However, the item I’m using does not seem to be grabbing {INVENTORY.SERIALNO_A}, even though it’s set to auto and is indeed a real serial number I see on the SonicWall portal.
I have also tried JavaScript:
{"data":[{"{#SERIAL}":"$VALUE"}]}
as an LLD to give me a key. I’m not very strong in coding, so I may have done something wrong. However, the output keeps giving me "{#value}" instead of the serial number value.
My main goal is to get this item working as it should. The only part I know is not working is the {INVENTORY.SERIALNO_A}.
Any help would be appreciated, even a link to a similar situation.
This is also my first post, so if I've filled this in the wrong area, please let me know.
Thank you.