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  152
 
Table 83: AddPolicyObject Response XML Attribute and Element Description 
HTTP/XML Content 
Definition 
addPolicyObjectResponse 
Add policy object containing request arguments 
Element: message
 
The overall status of the operation. 
Element: resultObject
 
The individual results of object. 
Element: objectGID
 
An element that uniquely identifies the ID of the policy object that we added. 
Element: name
 
An element that gives the name of the policy object. 
Element: type
 
An element that provides the type of the policy object. 
Element: info
 
Any other details about the object if needed. 
HTTP Method 
POST 
HTTP Header: asCookie 
The  cookie  returned  by  the  login  method  that  identifies  the  authentication 
session 
Returns 
200 OK + XML 
 
401 Unauthorized 
 
 
Figure 108: AddPolicyObject Response XSD 
3.2.19 
Method ModifyPolicyObject 
Modify policy object can be used to modify the data part of the policy object. This can also be used to rename the 
policy objects. Policy Object is identified uniquely by the gid that is sent with the request. Even if one field needs to 
<
xs:element
 
name
=
"addPolicyObjectResponse" 
type
=
"ManagePolicyObjectResponse" /> 
 
<
xs:complexType
 
name
=
"ManagePolicyObjectResponse"> 
 
 
<
xs:complexContent
 
 
 
<
xs:extension
 
base
=
"BaseReqResp"> 
 
 
 
 
<
xs:sequence
 
minOccurs
=
"1" 
maxOccurs
=
"1"> 
 
 
 
 
 
<
xs:element
 
name
=
"message" 
type
=
"xs:string" 
minOccurs
=
"0" 
maxOccurs
=
"1" /> 
 
 
 
 
 
<
xs:element
 
name
=
"resultObject" 
maxOccurs
=
"unbounded" 
minOccurs
=
"0"> 
 
 
 
 
 
 
<
xs:complexType
 
 
 
 
 
 
 
<
xs:sequence
 
 
 
 
 
 
 
 
<
xs:element
 
type
=
"xs:string" 
name
=
"objectGID" 
minOccurs
=
"1" 
maxOccurs
=
"1" /> 
 
 
 
 
 
 
 
 
<
xs:element
 
type
=
"xs:string" 
name
=
"name" 
minOccurs
=
"1" 
maxOccurs
=
"1" /> 
 
 
 
 
 
 
 
 
<
xs:element
 
type
=
"xs:string" 
name
=
"type" 
minOccurs
=
"1" 
maxOccurs
=
"1" /> 
 
 
 
 
 
 
 
 
<
xs:element
 
type
=
"xs:string" 
name
=
"info" 
minOccurs
=
"0" 
maxOccurs
=
"1" /> 
 
 
 
 
 
 
 
</
xs:sequence
 
 
 
 
 
 
</
xs:complexType
 
 
 
 
 
</
xs:element
 
 
 
 
</
xs:sequence
 
 
 
</
xs:extension
 
 
</
xs:complexContent
 
</
xs:complexType