A Sandcastle Documented Class Library

# NotificationController QueryNumberOfNotifications Method

POST /Notification/Count/ Gets the number of accounts that match the filter.

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]
    [ActionNameAttribute("Count")]
    public IActionResult QueryNumberOfNotifications(
    	[FromBodyAttribute] QueryNotificationOptions options,
    	Guid? sessionId = null
    )

    <HttpPostAttribute>
    <ActionNameAttribute("Count")>
    Public Function QueryNumberOfNotifications (
    	<FromBodyAttribute> options As QueryNotificationOptions,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpPostAttribute]
    [ActionNameAttribute(L"Count")]
    IActionResult^ QueryNumberOfNotifications(
    	[FromBodyAttribute] QueryNotificationOptions^ options,
    	Nullable<Guid> sessionId = nullptr
    )

    [<HttpPostAttribute>]
    [<ActionNameAttribute("Count")>]
    member QueryNumberOfNotifications :
            [<FromBodyAttribute>] options : QueryNotificationOptions *
            ?sessionId : Nullable<Guid>
    (* Defaults:
            let _sessionId = defaultArg sessionId null
    *)
    -> IActionResult

#### Parameters

options
  Type: Dundas.BI.WebApi.Models
  QueryNotificationOptions
  An object that carries all needed information about the notifications that need to be retrieved.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  Current session ID.

#### Return Value

Type: IActionResult
An Int32 containing the number of notifications that match the criteria, or a status code indicating the problem.
See Also

#### Reference

NotificationController Class
Dundas.BI.WebApi.Controllers Namespace