Open this page in the API Guide

NotificationController.ToggleNotifications Method

Toggles the status of multiple notifications.

Namespace:  Dundas.BI.WebApi.Controllers
Assembly:  Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax
[HttpPutAttribute("Toggle")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult ToggleNotifications(
	[FromBodyAttribute] IList<KeyValuePairData> toggleOptions,
	Guid? sessionId = null
)

Parameters

toggleOptions
Type: System.Collections.Generic.IList<KeyValuePairData>
A collection of key-value pairs consisting of the notification ID and the state to update to.
sessionId (Optional)
Type: System.Nullable<Guid>
Current session ID.

Return Value

Type: ActionResult
See Also