Cisco Cisco Security Manager 4.11 Guía Del Usuario
Cisco Security Manager 4.11 API Specification (Version 2.3)
Page 137
3.2.11.1
Request
Figure 87: Method CreateCSMSession Request Example
Table 74:Method CreateCSMSession Request URL Attribute Descriptions
HTTP/XML Content
Definition
newCSMSessionRequest
CSM Session request that contains request arguments
Element: csmSessionName
An element that provides a string value to use while creating the CSM Session.
This could be a ticketId or activity name.
This could be a ticketId or activity name.
Element: csmSessionDescription
An element that provides description (optionally) specifying the requirement for
creating a new CSMSession
creating a new 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
URL:
https://hostname/nbi/configservice/createCSMSession
HTTP Header:
Set-Cookie: asCookie=732423sdfs73242; expires=Fri, 2-Sep-2013 23:59:59 GMT; path=/;
domain=.hostdomain.com
XML Argument:
https://hostname/nbi/configservice/createCSMSession
HTTP Header:
Set-Cookie: asCookie=732423sdfs73242; expires=Fri, 2-Sep-2013 23:59:59 GMT; path=/;
domain=.hostdomain.com
XML Argument:
<?xml version="1.0" encoding="UTF-8"?>
<p:newCSMSessionRequest xmlns:p="csm">
<csmSessionDescription>creating CSM API session to test</csmSessionDescription>
</p:newCSMSessionRequest>
<p:newCSMSessionRequest xmlns:p="csm">
<csmSessionDescription>creating CSM API session to test</csmSessionDescription>
</p:newCSMSessionRequest>