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  148
 
 
Figure 103: OpenCSMSession request XML example. 
 
3.2.16.2 
Response 
The response of this method is same as that of 
. 
3.2.17 
Method CloseCSMSession 
This method is used to close a CSMSession. The closed CSMSession can be opened using the openCSMSession. 
 
3.2.17.1 
Request 
The request of this method is same as that of 
. The following gives an example of 
closeCSMSession.  
 
 
Figure 104: CloseCSMSession request XML example. 
Method : POST 
URL : https://hostname/nbi/configservice/openCSMSession 
Headers : Content-Type:text/xml 
Body : 
<?xml version="1.0" encoding="UTF-8"?> 
<ns1:csmSessionOperationRequest xmlns:ns1="csm"> 
 <csmSessionGID>00000000-0000-0000-0000-068719477096</csmSessionGID> 
</ns1:csmSessionOperationRequest> 
 
Method : POST 
URL : https://hostname/nbi/configservice/closeCSMSession 
Headers : Content-Type:text/xml 
Body : 
<?xml version="1.0" encoding="UTF-8"?> 
<ns1:csmSessionOperationRequest xmlns:ns1="csm"> 
 <csmSessionGID>00000000-0000-0000-0000-068719477096</csmSessionGID> 
</ns1:csmSessionOperationRequest>