Cisco Cisco Security Manager 4.7 Guía Del Usuario
Cisco Security Manager 4.7 API Specification (Version 2.0)
OL- 32164-01
Page 154
Figure 110: ModifyPolicyObject Request XSD
3.2.19.2
Response
The response is also the same as that of addPolicyObject. Following gives the example and the XSD of the response.
Figure 111: ModifyPolicyObject Response Example
Figure 112: ModifyPolicyObject Response XSD.
3.2.20
Method DeletePolicyObject
This method is used to delete the policyobject given it’s unique GID. This supports bulk delete and happens in a
single transaction, and works in fail fast mode. The method can be used in the following scenarios:
single transaction, and works in fail fast mode. The method can be used in the following scenarios:
1. Delete a Building Block:
The gid of the policy object along with the type of the object needs to be passed.
2. Delete a override:
If for a particular device the overridden value is to be removed and the global value needs to be
retained the gid of the overridden building block needs to be passed on to this defect.
retained the gid of the overridden building block needs to be passed on to this defect.
3.2.20.1
Request
The request of deletePolicyObject is also of type “
ManagePolicyObjectRequest”.
But it is sufficient to mention the
type and id of the policy object. The following gives an example request and the xsd.
<xs:element name="modifyPolicyObjectRequest" type="ManagePolicyObjectRequest" />
<ns1:modifyPolicyObjectResponse xmlns:ns1="csm">
<protVersion>1.0</protVersion>
<message>MODIFY Policy Object Operation Successful!</message>
<resultObject>
<objectGID>00000000-0000-0000-0000-231928234391</objectGID>
<name>01_NbAPI_SPO</name>
<type>Service</type>
</resultObject>
</ns1:modifyPolicyObjectResponse>
<protVersion>1.0</protVersion>
<message>MODIFY Policy Object Operation Successful!</message>
<resultObject>
<objectGID>00000000-0000-0000-0000-231928234391</objectGID>
<name>01_NbAPI_SPO</name>
<type>Service</type>
</resultObject>
</ns1:modifyPolicyObjectResponse>
<xs:element name="modifyPolicyObjectResponse" type="ManagePolicyObjectResponse" />