NotificationController.QueryNumberOfNotifications Method |
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 (25.2.0.1000)
Syntax[HttpPostAttribute("Count")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<int> QueryNumberOfNotifications(
[FromBodyAttribute] QueryNotificationOptions options,
Guid? sessionId = null
)
<HttpPostAttribute("Count")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(405)>
<ProducesResponseTypeAttribute(440)>
Public Function QueryNumberOfNotifications (
<FromBodyAttribute> options As QueryNotificationOptions,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of Integer)
public:
[HttpPostAttribute(L"Count")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(440)]
ActionResult<int>^ QueryNumberOfNotifications(
[FromBodyAttribute] QueryNotificationOptions^ options,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("Count")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(405)>]
[<ProducesResponseTypeAttribute(440)>]
member QueryNumberOfNotifications :
[<FromBodyAttribute>] options : QueryNotificationOptions *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<int>
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:
ActionResult<Int32>The operation completed successfully. The payload contains a
Int32 containing the number of notifications that match the criteria.
See Also