NotificationController.SaveNotification Method |
Note: This API is now obsolete.
OBSOLETE - Use POST /Notification/ or PUT /Notification/{id} instead.
Save a notification.
Namespace:
Dundas.BI.WebApi.Controllers
Assembly:
Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax[ObsoleteAttribute("Use CreateNotification to create notifications, or UpdateNotification/{id} to update a notification")]
[HttpPutAttribute]
public ActionResult<NotificationData> SaveNotification(
[FromBodyAttribute] SaveNotificationOptions saveOptions,
Guid? sessionId = null
)
<ObsoleteAttribute("Use CreateNotification to create notifications, or UpdateNotification/{id} to update a notification")>
<HttpPutAttribute>
Public Function SaveNotification (
<FromBodyAttribute> saveOptions As SaveNotificationOptions,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of NotificationData)
public:
[ObsoleteAttribute(L"Use CreateNotification to create notifications, or UpdateNotification/{id} to update a notification")]
[HttpPutAttribute]
ActionResult<NotificationData^>^ SaveNotification(
[FromBodyAttribute] SaveNotificationOptions^ saveOptions,
Nullable<Guid> sessionId = nullptr
)
[<ObsoleteAttribute("Use CreateNotification to create notifications, or UpdateNotification/{id} to update a notification")>]
[<HttpPutAttribute>]
member SaveNotification :
[<FromBodyAttribute>] saveOptions : SaveNotificationOptions *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<NotificationData>
Parameters
- saveOptions
- Type: Dundas.BI.WebApi.Models.SaveNotificationOptions
The options required to perform the save. - sessionId (Optional)
- Type: System.Nullable<Guid>
Current session ID.
Return Value
Type:
ActionResult<NotificationData>A
NotificationData object, or a status code indicating the problem.
See Also