Cisco Cisco Security Manager 4.11 Guía Del Usuario

Descargar
Página de 301
 
 
 
  
 
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. 
 
 
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. 
 
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. 
 
 
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>