Cisco Cisco Security Manager 4.11 Guía Del Usuario
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
Cisco Security Manager 4.11 API Specification (Version 2.3)
Page 155
3.2.20.2
Response
The response is of type “ManagePolicyObjectResponse”, which is the same for add and modify policy object. If a
bulk deletion fails then the error message will have the details of the failed building block. The following gives an
example of response and the XSD.
bulk deletion fails then the error message will have the details of the failed building block. The following gives an
example of response and the XSD.
Figure 115: DeletePolicyObject Response Example
Figure 116: DeletePolicyObject Response XSD
3.2.21
Method GetPolicyObject
This method can be used to retrieve the building block information by it’s name and type. It supports bulk inputs of
hetrogenous types. This also gives the details of the overridden BB details along with the node id which is the device
id on which it has overridden values. To read the overridden value on a particular device then the gid of that
particular building block needs to be used in this method.
hetrogenous types. This also gives the details of the overridden BB details along with the node id which is the device
id on which it has overridden values. To read the overridden value on a particular device then the gid of that
particular building block needs to be used in this method.
3.2.21.1
Request
The request takes in the type and the name or id of the building block. The request is of type
“ManagePolicyObjectRequest”. Following gives an example of the request and the XSD.
“ManagePolicyObjectRequest”. Following gives an example of the request and the XSD.
Figure 117: GetPolicyObject Request Example
<ns1:
deletePolicyObjectResponsexmlns:ns1="csm">
<protVersion>1.0</protVersion>
<message>DELETE Policy Object Operation Successful!</message>
</ns1:
deletePolicyObjectResponse>
<xs:element name="deletePolicyObjectResponse" type="ManagePolicyObjectResponse" />
URL:
https://hostname/nbi/configservice/getPolicyObject
<?xml version="1.0" encoding="UTF-8"?>
<p:getPolicyObjectRequest xmlns:p="csm">
<networkPolicyObject>
<name>0_test</name>
</networkPolicyObject>
</p:getPolicyObjectRequest>
https://hostname/nbi/configservice/getPolicyObject
<?xml version="1.0" encoding="UTF-8"?>
<p:getPolicyObjectRequest xmlns:p="csm">
<networkPolicyObject>
<name>0_test</name>
</networkPolicyObject>
</p:getPolicyObjectRequest>