Cisco Cisco Security Manager 4.7 Guía Del Usuario
Cisco Security Manager 4.7 API Specification (Version 2.0)
OL- 32164-01
Page 115
Figure 63: DeviceListByCapabilityRequest XML Schema
3.2.3.2 Response
An example of the GetDeviceListByCapability response is shown in the figure below. The fields in these messages
are described in the table below.
are described in the table below.
Figure 64: GetDeviceListByCapability Response Example
Table 58: GetDeviceListByCapability Response Elements and Attributes Description
XML Element & Attributes
Definition
deviceListResponse
Returns a list of 0 or more devices that match the filter parameter passed in the
method
method
Element List: DeviceId
A list of device ID elements
Attribute: Gid
The gid attribute of the device
Element: deviceCapability
One or more capabilities of the device (mandatory)
Element: deviceName
Name of the device (mandatory)
Element: ipv4Address
The IPv4 address of the device (optional)
<xs:element
name
="deviceListByCapabilityRequest"
type
="DeviceListByCapabilityRequest"/>
<xs:complexType
name
="DeviceListByCapabilityRequest">
<xs:complexContent>
<xs:extension
base
="
BaseReqResp
">
<xs:sequence minOccurs="
1
" maxOccurs="
1
">
<xs:element
name
="deviceCapability"
type
="DeviceCapability"
minOccurs
="1"
maxOccurs
="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<?xml version=”1.0” encoding=”UTF-8”?>
<deviceListResponse>
<deviceListResponse>
<protVersion>1.0</protVersion>
<reqId>123</reqId>
<deviceId>
<gid>00000000-0000-0000-0000-12211312321</gid>
<deviceCapability>firewall</deviceCapability>
<ipv4Address>12.1.1.1</ipv4Address>
</deviceId>
</deviceListResponse>