Cisco Cisco Security Manager 4.7 Guía Del Usuario

Descargar
Página de 290
 
 
 
  
 
Cisco Security Manager 4.7 API Specification (Version 2.0) 
 
OL- 32164-01 
Page  156
 
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 
 
 
Figure 118: GetPolicyObject Request XSD 
3.2.21.2 
Response 
The response contains the details of the policy object. It includes just the details of the particular BB and gives the 
references of the overrides. 
 
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> 
<xs:element name="getPolicyObjectRequest" type="ManagePolicyObjectRequest"/>