I have just started playing around with the API in Panorama. I am trying to write an address object with a tag.
I dumped an object and it looks like so:
<response status="success" code="19">
<result total-count="1" count="1">
When I try and write a new object I am using this
https://x.x.x.x/api/?type=config&action=set&key=<insert-key-here>&xpath=/config/devices/entry[@name='localhost.localdomain']/device-group/entry[@name='All Firewalls']/address&element=<entry name="blahdeblah"><fqdn>blahdablah.com.com</fqdn><tag><member>IOC23446567</member></tag></entry>
What I am getting back is this.
<response status="error" code="12">
Any Thoughts as to what I am doing wrong?
Could you please confirm if that tag already exists on the firewall ?
I just tried the following command and it worked:
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!
The Live Community thanks you for your participation!