Cisco Cisco Security Manager 4.11 Guía Del Usuario

Descargar
Página de 301
 
 
 
  
 
Cisco Security Manager 4.11 API Specification (Version 2.3) 
 
Page  109
 
3.2.1 Method GetServiceInfo 
The GetServiceInfo method returns the service description, information, and pertinent attributes related to the 
service. 
3.2.1.1 Request 
An example of the method GetServiceInfo request is shown in the figure below.  The fields in these messages are 
described in the table below. 
 
Figure 54: Method GetServiceInfo Request Example  
Table 52: Method GetServiceInfo Request URL Argument Descriptions 
HTTP/XML Content 
Definition 
getServiceInfoRequest 
Object that contains request arguments 
HTTP Method 
PUT 
HTTP Header: asCookie 
The cookie returned by the login method that identifies the authentication 
session 
Returns 
200 OK + XML 
 
401 Unauthorized 
 
 
Figure 55: GetServiceRequest XML Schema   
 
URL: 
 
https://hostname/nbi/configservice/GetServiceInfo  
 
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”?> 
 
<getServiceInfoRequest> 
 
  <protVersion>1.0</protVersion> 
 
  <reqId>123</reqId> 
 
</getServiceInfoRequest> 
 
 
 
<
xs:element
 name
="getServiceInfoRequest"
 type
="GetServiceInfoRequest"/> 
 
<
xs:complexType
 name
="GetServiceInfoRequest"> 
 
 
<xs:complexContent> 
 
 
 
<
xs:extension
 base
="BaseReqResp"/> 
 
 
</xs:complexContent> 
 
</xs:complexType>