A Sandcastle Documented Class Library

# NotificationController GetNotificationsForAccount Method

Note: This API is now obsolete.

POST /Notification/GetNotificationsForAccount/{id} 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 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    [HttpPostAttribute]
    [ObsoleteAttribute("Use /Notification/Account (GetAccountNotifications) instead.")]
    [ActionNameAttribute("GetNotificationsForAccount")]
    public IActionResult GetNotificationsForAccount(
    	Guid id,
    	Guid? sessionId = null
    )

    <HttpPostAttribute>
    <ObsoleteAttribute("Use /Notification/Account (GetAccountNotifications) instead.")>
    <ActionNameAttribute("GetNotificationsForAccount")>
    Public Function GetNotificationsForAccount (
    	id As Guid,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpPostAttribute]
    [ObsoleteAttribute(L"Use /Notification/Account (GetAccountNotifications) instead.")]
    [ActionNameAttribute(L"GetNotificationsForAccount")]
    IActionResult^ GetNotificationsForAccount(
    	Guid id,
    	Nullable<Guid> sessionId = nullptr
    )

    [<HttpPostAttribute>]
    [<ObsoleteAttribute("Use /Notification/Account (GetAccountNotifications) instead.")>]
    [<ActionNameAttribute("GetNotificationsForAccount")>]
    member GetNotificationsForAccount :
            id : Guid *
            ?sessionId : Nullable<Guid>
    (* Defaults:
            let _sessionId = defaultArg sessionId null
    *)
    -> IActionResult

#### Parameters

id
  Type: System
  Guid
  The account ID.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  Current session ID.

#### Return Value

Type: IActionResult
An array of NotificationData objects containing the notification data, or a status code indicating the problem.
See Also

#### Reference

NotificationController Class
Dundas.BI.WebApi.Controllers Namespace