Cisco Cisco Security Manager 4.5 Guia De Especificação

Página de 217
 
 
 
  
 
Cisco Security Manager 4.4 API Specification (Version 1.1) 
 
OL- 29074-01 
Page  130
 
 
Figure 82: PolicyConfigByDeviceGIDRequest XML Schema   
 
3.2.9.2 Response 
The response of this method including the schema and error codes are the same as the GetPolicyConfigByName 
method described previously. 
3.2.10 
Method GetSharedPolicyNamesByType 
This method returns the list of all the Shared Policies present in the Policy View of CSM for a given policy type. 
3.2.10.1 
REST Request:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Figure 83: getSharedPolicyNamesByType Request Example  
  
 
<
xs:element
 name
="policyConfigByDeviceGIDRequest"
 type
="PolicyConfigByDeviceGIDRequest"/> 
 
<
xs:complexType
 name
="PolicyConfigByDeviceGIDRequest"> 
 
 
<
xs:complexContent
 
 
 
<
xs:extension
 base
="BaseReqResp"> 
 
 
 
 
<
xs:sequence
 
 
 
 
 
<
xs:element
 name
="gid"
 type
="ObjectIdentifier"/> 
 
 
 
 
 
<
xs:element
 name
="policyType"
 type
="string"/> 
 
 
 
 
</
xs:sequence
 
 
 
</
xs:extension
 
 
</
xs:complexContent
 
</
xs:complexType
 
URL: 
http://hostname/configservice/getSharedPolicyListByType 
  
HTTP Header: 
Set-Cookie: asCookie=732423sdfs73242; expires=Fri, 31-Dec-2010 23:59:59 GMT; 
path=/; domain=.hostdomain.com  
 
XML Argument: 
<?xml version=”1.0” encoding=”UTF-8”?> 
< policyNamesByTypeRequest> 
 
<protVersion>1.0</protVersion>  
 
<reqId>123</reqId> 
 
<policyType>DeviceAccessRuleFirewallPolicy</policyType> 
</ policyNamesByTypeRequest >