Cisco Cisco Security Manager 4.11 Guía Del Usuario
Cisco Security Manager 4.11 API Specification (Version 2.3)
Page 139
3.2.12
Method ValidateCSMSession
This method is used to validate the changes done in a CSMSession. Based on the validation results submit of that
CSMSession can be done. For more details on the CSMSession please see section
CSMSession can be done. For more details on the CSMSession please see section
3.2.12.1
Request
The validation is done for the CSMSession that is uniquely identified by the csmSessionGID which is given in the
request parameter. The request example and the XSD is given in the below figures.
request parameter. The request example and the XSD is given in the below figures.
Figure 91: validateCSMSession Request Example
Table 76: Method ValidateCSMSession Request URL Attribute Descriptions
HTTP/XML Content
Definition
csmSessionOperationRequest
CSM Session request that contains request arguments
Element: csmSessionName
An element that provides the name of the csmSession using which the session
was created.
was created.
Element: csmSessionGID
An element that provides the unique GID of the csmSession.
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
Method : POST
URL : https://hostname/nbi/configservice/validateCSMSession
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>