Cisco Cisco Security Manager 4.11 Guía Del Usuario
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
Cisco Security Manager 4.11 API Specification (Version 2.3)
Page 123
3.2.6.1 Request
An example of the method GetDeviceConfigByName 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.
Figure 72: Method GetDeviceConfigByName Request Example
Table 63: Method GetDeviceConfigByName Request URL Attribute Descriptions
URL Attribute Name
Definition
deviceConfigByNameRequest
A device name request
name
The device name requested to be returned
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 73: DeviceConfigByNameRequest XML Schema
URL:
https://hostname/nbi/configservice/getDeviceConfigByName
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”?>
<deviceConfigByNameRequest>
https://hostname/nbi/configservice/getDeviceConfigByName
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”?>
<deviceConfigByNameRequest>
<protVersion>1.0</protVersion>
<reqId>123</reqId>
<name>rtr-1.cisco.com</name>
</deviceConfigByNameRequest>
<
xs:element
name
="deviceConfigByNameRequest"
type
="DeviceConfigByNameRequest"/>
<
xs:complexType
name
="DeviceConfigByNameRequest">
<xs:complexContent>
<
xs:extension
base
="BaseReqResp">
<xs:sequence>
<
xs:element
name
="name"
type
="xs:string"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>