View Configuration Node Values for XPath

Use
action=complete
action along with an XPath to see possible values that are available with the XPath node.
  1. View the possible values, such as network interfaces, for multi-vsys firewalls, use the following command:
    https://
    <firewall>
    /api/?type=config&action=complete&xpath=/config/devices/entry[@name='localhost.localdomain']/vsys&key=apikey
  2. Confirm that the XML response for the request looks like the following:
    <response status="success" code="19"> <completions> <completion value="vsys1" vxpath="/config/devices/entry[@name='localhost.localdomain']/vsys/entry[@name='vsys1']" current="yes" help-string="vsys1"/> </completions> </response>

Recommended For You