Cisco Cisco Security Manager 4.6 Guia De Especificaciones
Cisco Security Manager 4.4 API Specification (Version 1.1)
OL- 29074-01
Page 124
Figure 76: PolicyListDeviceResponse XML Schema
Method specific errors :
Code
Description
1001
This error will be returned if the requested device is not be configured with any of the
supported policies.
supported policies.
2013
This error will be returned if API is not able to fetch the internal policy list from the
CSM server.
CSM server.
Table 66: GetPolicyListByDeviceGID Method Error Codes
3.2.8 Method GetPolicyConfigByName
The GetPolicyConfigByName method returns a specific policy object and its associated configuration based on the
shared policy name passed into the method. Access to this API requires a view_policy privilege on the policy being
queried. This method must only be used to fetch data for shared policies (i.e. policies that are not -- local --). The
applicable shared policies for a device are available via the GetPolicyListByDeviceGID method.
shared policy name passed into the method. Access to this API requires a view_policy privilege on the policy being
queried. This method must only be used to fetch data for shared policies (i.e. policies that are not -- local --). The
applicable shared policies for a device are available via the GetPolicyListByDeviceGID method.
3.2.8.1 Request
An example of the method GetPolicyConfigByName request is shown in the figure below. The fields in these
messages are described in the table below.
messages are described in the table below.
<
xs:element
name
="policyListDeviceResponse"
type
="PolicyListDeviceResponse"/>
<
xs:complexType
name
="PolicyListDeviceResponse">
<
xs:complexContent
>
<
xs:extension
base
="BaseReqResp">
<
xs:sequence
minOccurs
="1"
maxOccurs
="1">
<
xs:element
name
="policyList"
minOccurs
="1"
maxOccurs
="1">
<
xs:complexType
>
<
xs:sequence
>
<
xs:element
name
="policyDesc"
type
="EntityDescriptor"
minOccurs
="1"
maxOccurs
="unbounded"/>
</
xs:sequence
>
</
xs:complexType
>
</
xs:element
>
</
xs:sequence
>
</
xs:extension
>
</
xs:complexContent
>
</
xs:complexType
>