- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
03-28-2012 08:12 AM
I'm having troubles committing out 4.1.4 device for a particular vsys using the XML-API. I'm wondering if I have the syntax correct:
https://{some ip}/api/?type=commit&action=set&cmd=<commit><partial><vsys>vsys1</vsys></partial></commit>&key={somekey}
When I use this command the device will restart and lose all of my pending changes. I can issue the following to commit the entire device, but I'm looking for the vsys level command.
https://{some ip}/api/?type=commit&action=set&cmd=<commit></commit>&key={somekey}
Thanks!
03-29-2012 02:52 AM
The answer is to use the right syntax
https://{some ip}/api/?type=commit&cmd=<commit><partial><vsys><member>vsys1</member></vsys></partial></commit>
Regards
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 LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!