Cisco Cisco Security Manager 4.11 Guía Del Usuario
Cisco Security Manager 4.11 API Specification (Version 2.3)
Page 134
Figure 83: 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.
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 84: getSharedPolicyNamesByType Request Example
Table 72: Method getSharedPolicyNamesByType Request URL Attribute Descriptions
Method Details
Definition
policyNamesByTypeRequest
A request to get the list of all the Shared Policies defined in CSM for a given
policy Type.
policy Type.
<
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/nbi/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 >