Cisco Cisco Security Manager 4.11 User Guide
Cisco Security Manager 4.11 API Specification (Version 2.3)
Page 181
Table 94: ReorderPolicyConfigByGID request element Description
HTTP/XML Content
Definition
deletePolicyConfigRequest
Delete policy containing request arguments
Element: csmSessionGID
An element that uniquely defines a CSMSession
Element: deviceGID
The GID of the device on which the policy is assigned.
Element: name
The name of the shared policy, if the request is for shared policy instead of
device.
device.
Element: ruleGID
The GID of the rule that uniquely defines it.
Element: policyType
The type of the policy.
Element: toOrderID
The orderID where the rule has to be moved.
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
Figure 145: reorderPolicyConfigByGID request XSD
<
xs:element
name
=
"reorderRulesRequest"
type
=
"ReorderRulesRequest" />
<
xs:complexType
name
=
"ReorderRulesRequest">
<
xs:complexContent
>
<
xs:extension
base
=
"BaseReqResp">
<
xs:sequence
minOccurs
=
"1"
maxOccurs
=
"1">
<
xs:element
name
=
"csmSessionGID"
type
=
"ObjectIdentifier"
minOccurs
=
"0"
maxOccurs
=
"1" />
<
xs:choice
minOccurs
=
"1"
maxOccurs
=
"1">
<
xs:element
name
=
"deviceGID"
type
=
"ObjectIdentifier"
minOccurs
=
"1"
maxOccurs
=
"1" />
<
xs:element
name
=
"name"
type
=
"xs:string"
minOccurs
=
"1"
maxOccurs
=
"1" />
</
xs:choice
>
<
xs:element
name
=
"ruleGID"
type
=
"ObjectIdentifier"
minOccurs
=
"1"
maxOccurs
=
"1" />
<
xs:element
name
=
"policyType"
type
=
"PolicyConfigType"
minOccurs
=
"0"
maxOccurs
=
"1"/>
<
xs:element
name
=
"toOrderId"
type
=
"xs:unsignedInt"
minOccurs
=
"1"
maxOccurs
=
"1" />
</
xs:sequence
>
</
xs:extension
>
</
xs:complexContent
>
</
xs:complexType
>