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  196
 
XML Element & Attributes 
Definition 
Element: 
policyName
 
Name of the shared policy with hierarchy. 
Element: policyType 
The type of the policy to be create. 
Element: deviceGIDs 
 List of  devices device GID to be assigned 
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 166: UnAssignSharedPolicy Request XSD 
 
3.2.39.2 
Response 
 
The response of the unassign shared policy have description that “UnAssignment done successfully” and status code 
descripes the overall status of the operation. 
 
 
Figure 167: UnAssignSharedPolicy Response Example 
 
<
xs:element
 
name
=
"unassignSharedPolicyConfigRequest"
 
type
=
"UnAssignSharedPolicyConfigRequest"
 
/>
 
<
xs:complexType
 
name
=
"UnAssignSharedPolicyConfigRequest"
>
 
<
xs:complexContent
>
 
<
xs:extension
 
base
=
"BaseReqResp"
>
 
<
xs:sequence
 
minOccurs
=
"1"
 
maxOccurs
=
"1"
>
 
<
xs:element
 
name
=
"csmSessionGID"
 
type
=
"ObjectIdentifier"
 
minOccurs
=
"1"
 
maxOccurs
=
"1"
 
/>
 
<
xs:element
 
name
=
"policyName"
 
type
=
"xs:string"
 
minOccurs
=
"1"
 
maxOccurs
=
"1"
 
/>
 
<
xs:element
 
name
=
"policyType"
 
type
=
"xs:string"
 
minOccurs
=
"1"
 
maxOccurs
=
"1"
/>
 
<
xs:element
 
name
=
"deviceGIDs"
 
type
=
"ObjectIdentifierList"
 
minOccurs
=
"0"
 
maxOccurs
=
"1"
 
/>
 
</
xs:sequence
>
 
</
xs:extension
>
 
</
xs:complexContent
>
 
</
xs:complexType
>
 
<?xml version="1.0" encoding="UTF-8"?> 
<ns1:sharedPolicyConfigResponse> 
<protVersion>1.0</protVersion> 
<statusCode>SUCCESS</statusCode> 
<description>UnAssignment done sucessfully</description> 
<deviceGIDs> 
<gid>00000000-0000-0000-0000-021474836974</gid> 
</deviceGIDs> 
</ns1:sharedPolicyConfigResponse>