Cisco Cisco Security Manager 4.11 Guía Del Usuario
Cisco Security Manager 4.11 API Specification (Version 2.3)
Page 126
Figure 74: Method GetPolicyListByDeviceGID Request Example
Table 65: Method GetPolicyListByDeviceGID Request URL Argument Descriptions
HTTP/XML Content
Definition
getPolicyListByDeviceGID
Policy list request that contains request arguments
Element: gid
An element that identifies the device the policies are configured on.
HTTP Method
POST
HTTP Header: asCookie
The cookie returned by the login method that identifies the authentication
session
session
Returns
200 OK + XML
401 Unauthorized
Figure 75: PolicyListByDeviceGIDRequest XML Schema
3.2.7.2 Response
An example of the GetPolicyListByDeviceGID response is shown in the figure below. The fields in these messages
are described in the table below.
are described in the table below.
URL:
https://hostname/nbi/configservice/getPolicyListByDeviceGID
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”?>
<policyListByDeviceGIDRequest>
https://hostname/nbi/configservice/getPolicyListByDeviceGID
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”?>
<policyListByDeviceGIDRequest>
<protVersion>1.0</protVersion>
<reqId>123</reqId>
<gid>00000000-0000-0000-0000-000023456781</gid>
</policyListByDeviceGIDRequest>
<
xs:element
name
="policyListByDeviceGIDRequest"
type
="PolicyListByDeviceGIDRequest"/>
<
xs:complexType
name
="PolicyListByDeviceGIDRequest">
<xs:complexContent>
<
xs:extension
base
="BaseReqResp">
<
xs:sequence
minOccurs="1" maxOccurs="1">
<
xs:element
name
="gid"
type
="ObjectIdentifier"
minOccurs
="1"
maxOccurs
="1"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>