Definition Type: SimpleType
Name: ErrorCodes_Enum_Base
Namespace: http://www.opentravel.org/OTM/Common/v4
Containing Schema: Common_4_0_0.xsd
Documentation:
The ErrorCode MUST be present and is defined as free-text with a list of recommended enumerated values, to indicate the error type.
Collapse XSD Schema Diagram:
XSD Diagram of ErrorCodes_Enum_Base in schema common_4_0_0_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xsd:simpleType name="ErrorCodes_Enum_Base">
    <xsd:annotation>
        <xsd:documentation source="Description">The ErrorCode  MUST be present and is defined as free-text with a list of recommended enumerated values, to indicate the error type.</xsd:documentation>
        <xsd:appinfo>
            <otm:OTA2Entity type="EnumerationOpen" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">ErrorCodes_Enum</otm:OTA2Entity>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
        <xsd:enumeration value="SessionFailure-100">
            <xsd:annotation>
                <xsd:documentation source="Description">his value is used to indicate that the request version is not supported.</xsd:documentation>
            </xsd:annotation>
        </xsd:enumeration>
        <xsd:enumeration value="SessionFailure-101">
            <xsd:annotation>
                <xsd:documentation source="Description">his value is used to indicate that the session has expired.</xsd:documentation>
            </xsd:annotation>
        </xsd:enumeration>
        <xsd:enumeration value="SessionFailure-102">
            <xsd:annotation>
                <xsd:documentation source="Description">This value is used to indicate that the session is already closed.</xsd:documentation>
            </xsd:annotation>
        </xsd:enumeration>
        <xsd:enumeration value="SessionFailure-103">
            <xsd:annotation>
                <xsd:documentation source="Description">This value is used to indicate that a parameter in the request is not supported.</xsd:documentation>
            </xsd:annotation>
        </xsd:enumeration>
        <xsd:enumeration value="Unknown">
            <xsd:annotation>
                <xsd:documentation source="Description">Indicates an unknown error. Additional information may be provided within the textual part of the element.</xsd:documentation>
            </xsd:annotation>
        </xsd:enumeration>
        <xsd:enumeration value="Malformed">
            <xsd:annotation>
                <xsd:documentation source="Description">Indicates that the XML message was not well-formed. Additional information may be provided within the ErrorMessage attribute.</xsd:documentation>
            </xsd:annotation>
        </xsd:enumeration>
        <xsd:enumeration value="Validation">
            <xsd:annotation>
                <xsd:documentation source="Description">Indicates that a well-formed XML message was sent, but did not pass the validation check. Additional information may be provided within the ErrorMessage attribute.</xsd:documentation>
            </xsd:annotation>
        </xsd:enumeration>
        <xsd:enumeration value="UnrecognizedRoot">
            <xsd:annotation>
                <xsd:documentation source="Description">Indicates an unrecognized payload root element was received. Additional information may be provided within the ErrorMessage attribute.</xsd:documentation>
            </xsd:annotation>
        </xsd:enumeration>
        <xsd:enumeration value="UnrecognizedVersion">
            <xsd:annotation>
                <xsd:documentation source="Description">Indicates that the version attribute in the Schema element of the Manifest of the header is not recognized. Additional information, such as version number(s) supported, may be provided within the ErrorMessage attribute.</xsd:documentation>
            </xsd:annotation>
        </xsd:enumeration>
        <xsd:enumeration value="Other_" />
    </xsd:restriction>
</xsd:simpleType>
Collapse Facets:
Facet Value
Enumeration SessionFailure-100
Enumeration SessionFailure-101
Enumeration SessionFailure-102
Enumeration SessionFailure-103
Enumeration Unknown
Enumeration Malformed
Enumeration Validation
Enumeration UnrecognizedRoot
Enumeration UnrecognizedVersion
Enumeration Other_
Collapse Derivation Tree:
Collapse References:
ota2-0400:errorCode, ota2-0400:ErrorCodes_Enum, ota2-0400:errorMessage