Cisco Cisco Security Manager 3.3 Guia De Especificaciones
Cisco Security Manager 4.4 API Specification (Version 1.1)
OL- 29074-01
Page 26
Figure 7: PortIdentifier XML Schema
2.1.6 BaseError
The common class for all request errors is defined by the BaseError class. It has the following attributes:
Attribute
Type
Comment
Code
Unsigned Long
A unique error code that identifies the type of error that occurred
with the request.
with the request.
Description
String
A description of the error that occurred
Table 8: BaseError Class Attributes
Figure 8: BaseError XML Schema
The following general error codes are currently defined:
Code
Description
0
Reserved
1
General Failure
2
Lack of resources
3
Object Creation Failure
4
Authorization Failure: No session found
5
Authorization Failure: Invalid or expired session
6
Internal communication failure
13
XML request payload contains no data.
<xs:complexType
name
="
PortIdentifier
">
<xs:sequence>
<!--
for non-modular chassis or chassis with a continuous port numbering scheme slot/module are
not included
-->
<xs:element
name
="
slotNum
"
type
="
xs:unsignedInt
"
minOccurs
="
0
"
maxOccurs
="
1
"/>
<xs:element
name
="
moduleNum
"
type
="
xs:unsignedInt
"
minOccurs
="
0
"
maxOccurs
="
1
"/>
<xs:element
name
="
portNum
"
type
="
xs:unsignedInt
"
minOccurs
="
1
"
maxOccurs
="
1
"/>
</xs:sequence>
</xs:complexType>
<
xs:complexType
name
="BaseError">
<
xs:sequence
>
<
xs:element
name
="code"
type
="xs:unsignedLong"
maxOccurs
="1"></
xs:element
>
<
xs:element
name
="description"
type
="xs:string"
maxOccurs
="1"></
xs:element
>
</
xs:sequence
>
</
xs:complexType
>