Cisco Cisco Security Manager 4.7 Guía Del Usuario

Descargar
Página de 290
 
 
 
  
 
Cisco Security Manager 4.7 API Specification (Version 2.0) 
 
OL- 32164-01 
Page  146
 
Table 80: ApproveCSMSession request URL elements and attributes  Description 
XML Element & Attributes 
Definition 
csmApproveOperationRequest 
An element that mentions the details of the CSMApproveOperation request 
Element: csmSessionGID 
Unique value that user can provide the CSMSessionGID for which the changes 
to be validated 
Element:csmSessionName 
Unique  value  that  user  can  provide  the  name  for  which  the  changes  to  be 
validated 
Element:comments 
Optionally any comments can be specified 
Element: approvalStatus 
 Approval status , Either true or false to approve or reject the change list 
 
 
Figure 100: ApproveCSMSession request XSD 
 
3.2.15.2 
Response 
The response of the approveCSMSession returns the approval status and the CSMSessionGID of the session. 
 
 
Figure 101: ApproveCSMSession Response XML Example 
<
xs:element
 
name
=
"csmApproveOperationRequest" 
type
=
"CSMApproveOperationRequest" /> 
 
<
xs:complexType
 
name
=
"CSMApproveOperationRequest"> 
 
 
<
xs:complexContent
 
 
 
<
xs:extension
 
base
=
"BaseReqResp"> 
 
 
 
 
<
xs:sequence
 
minOccurs
=
"1" 
maxOccurs
=
"1"> 
 
 
 
 
 
<
xs:choice
 
id
=
"approveselect"> 
 
 
 
 
 
 
<
xs:element
 
name
=
"csmSessionGId" 
type
=
"ObjectIdentifier" 
minOccurs
=
"1" 
maxOccurs
=
"1" /> 
 
 
 
 
 
 
<
xs:element
 
name
=
"name" 
type
=
"xs:string" 
minOccurs
=
"1" 
maxOccurs
=
"1" /> 
 
 
 
 
 
</
xs:choice
 
 
 
 
 
<
xs:element
 
name
=
"comments" 
type
=
"xs:string" 
minOccurs
=
"0" 
maxOccurs
=
"1" /> 
 
 
 
 
 
<
xs:element
 
name
=
"approvalStatus" 
type
=
"xs:boolean" 
minOccurs
=
"1" 
maxOccurs
=
"1" /> 
 
 
 
 
</
xs:sequence
 
 
 
</
xs:extension
 
 
</
xs:complexContent
 
</
xs:complexType
 
<ns1:csmApproveResultResponse> 
<protVersion>1.0</protVersion> 
<result>CSMSession ID Approve successfully!</result> 
<csmSessionGID>00000000-0000-0000-0000-008589935912</csmSessionGID> 
</ns1:csmApproveResultResponse>