5 Service Sets ToC Previous Next

5.12 MonitoredItem Service Set ToC Previous Next

5.12.6 DeleteMonitoredItems ToC Previous Next

5.12.6.1 Description ToC

This Service is used to remove one or more MonitoredItems of a Subscription. When a MonitoredItem is deleted, its triggered item links are also deleted.

Successful removal of a MonitoredItem, however, might not remove Notifications for the MonitoredItem that are in the process of being sent by the Subscription. Therefore, Clients may receive Notifications for the MonitoredItem after they have received a positive response that the MonitoredItem has been deleted.

5.12.6.2 Parameters ToC

Table 81 defines the parameters for the Service.

Table 81 – DeleteMonitoredItems Service Parameters

Name Type Description
Request    
   requestHeader RequestHeader Common request parameters (see 7.28 for RequestHeader definition).
   subscriptionId IntegerId The Server-assigned identifier for the Subscription that contains the MonitoredItems to be deleted (see 7.14 for IntegerId definition).
   monitoredItemIds [] IntegerId List of Server-assigned ids for the MonitoredItems to be deleted.
     
Response    
   responseHeader Response Header Common response parameters (see 7.29 for ResponseHeader definition).
   results [] StatusCode List of StatusCodes for the MonitoredItems to delete (see 7.34 for StatusCode definition). The size and order of the list matches the size and order of the monitoredItemIds request parameter.
   diagnosticInfos [] DiagnosticInfo List of diagnostic information for the MonitoredItems to delete (see 7.8 for DiagnosticInfo definition). The size and order of the list matches the size and order of the monitoredItemIds 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.12.6.3 Service results ToC

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

Table 82 – DeleteMonitoredItems 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.
Bad_SubscriptionIdInvalid See Table 177 for the description of this result code.

5.12.6.4 StatusCodes ToC

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

Table 83 – DeleteMonitoredItems Operation Level Result Codes

Symbolic Id Description
Bad_MonitoredItemIdInvalid See Table 178 for the description of this result code.

Previous Next