NotificationController.GetNotificationsForAccount Method |
Note: This API is now obsolete.
OBSOLETE - Use GET /Notification/Account instead.
Gets the notifications for the specified account ID.
Namespace:
Dundas.BI.WebApi.Controllers
Assembly:
Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax[HttpPostAttribute("GetNotificationsForAccount/{id}")]
[ObsoleteAttribute("Use /Notification/Account (GetAccountNotifications) instead.")]
public ActionResult<IList<NotificationData>> GetNotificationsForAccount(
Guid id,
Guid? sessionId = null
)
<HttpPostAttribute("GetNotificationsForAccount/{id}")>
<ObsoleteAttribute("Use /Notification/Account (GetAccountNotifications) instead.")>
Public Function GetNotificationsForAccount (
id As Guid,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of IList(Of NotificationData))
public:
[HttpPostAttribute(L"GetNotificationsForAccount/{id}")]
[ObsoleteAttribute(L"Use /Notification/Account (GetAccountNotifications) instead.")]
ActionResult<IList<NotificationData^>^>^ GetNotificationsForAccount(
Guid id,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("GetNotificationsForAccount/{id}")>]
[<ObsoleteAttribute("Use /Notification/Account (GetAccountNotifications) instead.")>]
member GetNotificationsForAccount :
id : Guid *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<IList<NotificationData>>
Parameters
- id
- Type: System.Guid
The account ID. - sessionId (Optional)
- Type: System.Nullable<Guid>
Current session ID.
Return Value
Type:
ActionResult<IList<NotificationData>>
An array of
NotificationData objects containing the notification data, or a status code indicating the problem.
See Also