7.7.2 ContentFilterResult

The components of this data type are defined in Table 115.

Table 115 – ContentFilterResult structure
NameTypeDescription
ContentFilterResultstructureA structure that contains any errors associated with the filter.

elementResults []

ContentFilter

ElementResult

A list of results for individual elements in the filter. The size and order of the list matches the size and order of the elements in the ContentFilter parameter. This structure is defined in-line with the following indented items.

statusCode

StatusCodeThe status code for a single element.

operandStatusCodes []

StatusCodeA list of status codes for the operands in an element. The size and order of the list matches the size and order of the operands in the ContentFilterElement. This list is empty if no operand errors occurred.

operandDiagnosticInfos []

DiagnosticInfoA list of diagnostic information for the operands in an element. The size and order of the list matches the size and order of the operands in the ContentFilterElement. This list is empty if diagnostics information was not requested in the request header or if no diagnostic information was encountered in processing of the operands.

elementDiagnosticInfos []

DiagnosticInfoA list of diagnostic information for individual elements in the filter. The size and order of the list matches the size and order of the elements in the filter request parameter. This list is empty if diagnostics information was not requested in the request header or if no diagnostic information was encountered in processing of the elements.

Table 116 defines values for the StatusCode parameter that are specific to this structure. Common StatusCodes are defined in Table 179.

Table 116 – ContentFilterResult Result Codes
Symbolic IdDescription
Bad_FilterOperandCountMismatchThe number of operands provided for the filter operator was less than expected for the operand provided.
Bad_FilterOperatorInvalidAn unrecognized operator was provided in a filter.
Bad_FilterOperatorUnsupportedA valid operator was provided, but the Server does not provide support for this filter operator.

Table 117 defines values for the operandStatusCodes parameter that are specific to this structure. Common StatusCodes are defined in Table 179.

Table 117 – ContentFilterResult Operand Result Codes
Symbolic IdDescription
Bad_FilterOperandInvalidSee Table 179 for the description of this result code.
Bad_FilterElementInvalidThe referenced element is not a valid element in the content filter.
Bad_FilterLiteralInvalidThe referenced literal is not a valid BaseDataType.
Bad_AttributeIdInvalidThe attribute id is not a valid attribute id in the system.
Bad_IndexRangeInvalidSee Table 179 for the description of this result code.
Bad_NodeIdInvalidSee Table 179 for the description of this result code.
Bad_NodeIdUnknownSee Table 179 for the description of this result code.
Bad_NotTypeDefinitionThe provided NodeId was not a type definition NodeId.