5 Service Sets ToC Previous Next

5.7 NodeManagement Service Set ToC Previous Next

5.7.5 DeleteReferences ToC Previous Next

5.7.5.1 Description ToC

This Service is used to delete one or more References of a Node.

When any of the References deleted by an invocation of this Service are contained in a View, then the ViewVersion Property is updated if this Property is supported.

Table 31 defines the parameters for the Service.

Table 31 – DeleteReferences Service Parameters

Name Type Description
Request    
   requestHeader RequestHeader Common request parameters (see 7.28 for RequestHeader definition).
   referencesToDelete [] DeleteReferences Item List of References to delete. This structure is defined in-line with the following indented items.
      sourceNodeId NodeId NodeId   of the Node that contains the Reference to delete.
      referenceTypeId NodeId NodeId   of the ReferenceType that defines the Reference to delete.
      isForward Boolean If the value is TRUE, the Server deletes a forward Reference. If the value is FALSE, the Server deletes an inverse Reference.
      targetNodeId ExpandedNodeId NodeId   of the TargetNode of the Reference.
If the Server index indicates that the TargetNode is a remote Node, then the nodeId shall contain the absolute namespace URI. If the TargetNode is a local Node the nodeId shall contain the namespace index.
      deleteBidirectional Boolean A Boolean parameter with the following values:
   TRUE delete the specified Reference and the opposite Reference from the TargetNode. If the TargetNode is located in a remote Server, the Server is permitted to delete the specified Reference only.
   FALSE delete only the specified Reference.
     
Response    
   responseHeader ResponseHeader Common response parameters (see 7.29 for ResponseHeader definition).
   results [] StatusCode List of StatusCodes for the References to delete (see 7.34 for StatusCode definition). The size and order of the list matches the size and order of the referencesToDelete request parameter.
   diagnosticInfos [] DiagnosticInfo List of diagnostic information for the References to delete (see 7.8 for DiagnosticInfo definition). The size and order of the list matches the size and order of the referencesToDelete 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 request.

5.7.5.2 Service results ToC

Table 32 defines the Service results specific to this Service. Common StatusCodes are defined in Table 177.

Table 32 – DeleteReferences Service Result Codes

Symbolic Id Description
Bad_NothingToDo See Table 177 for the description of this result code.
Bad_TooManyOperations See Table 177 for the description of this result code.

5.7.5.3 StatusCodes ToC

Table 33 defines values for the results parameter that are specific to this Service. Common StatusCodes are defined in Table 178.

Table 33 – DeleteReferences Operation Level Result Codes

Symbolic Id Description
Bad_SourceNodeIdInvalid See Table 178 for the description of this result code.
Bad_ReferenceTypeIdInvalid See Table 178 for the description of this result code.
Bad_ServerIndexInvalid The Server index is not valid.
Bad_TargetNodeIdInvalid See Table 178 for the description of this result code.
Bad_UserAccessDenied See Table 177 for the description of this result code.
Bad_NoDeleteRights See Table 178 for the description of this result code.

Previous Next