Use the API Browser to find different options available for use with force and partial commits. Replace the body element in the cmd parameter with the XML element for the corresponding commit operation.
Commit
Use one of the following requests to commit a configuration: Commit— https://firewall/api/?type=commit&cmd=<commit></commit> Force Commit— https://firewall/api/?type=commit&cmd=<commit><force></force></commit> Partial commit— https://firewall/api/?type=commit&cmd=<commit></commit>
Confirm that the XML response for the request looks like one of the following: No pending changes to commit: <response status="success" code="19"> <msg>There are no changes to commit.</msg> </response> Pending changes: <response status="success" code="19"> <result> <msg> <line>Commit job enqueued with jobid 4</line> </msg> <job>4</job> </result> </response>
Query the status of the job using the job ID: https://firewall/api/?type=op&cmd=<show><jobs><id>4</id></jobs></show>
Confirm that the XML response for the request looks like the following: <response status="success"> <result> <job> <tenq>2011/10/20 20:41:44</tenq> <id>4</id> <type>Commit</type> <status>FIN</status> <stoppable>no</stoppable> <result>OK</result> <tfin>20:42:22</tfin> <progress>20:42:22</progress> <details> <line>Configuration committed successfully</line> </details> <warnings /> </job> </result> </response>

Related Documentation