SessionController.QueryNumberOfSessions Method |
Gets the number of sessions 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> QueryNumberOfSessions(
[FromBodyAttribute] GetSessionsOptions options,
Guid? sessionId = null
)
<HttpPostAttribute("Count")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(405)>
<ProducesResponseTypeAttribute(440)>
Public Function QueryNumberOfSessions (
<FromBodyAttribute> options As GetSessionsOptions,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of Integer)
public:
[HttpPostAttribute(L"Count")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(440)]
ActionResult<int>^ QueryNumberOfSessions(
[FromBodyAttribute] GetSessionsOptions^ options,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("Count")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(405)>]
[<ProducesResponseTypeAttribute(440)>]
member QueryNumberOfSessions :
[<FromBodyAttribute>] options : GetSessionsOptions *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<int>
Parameters
- options
- Type: Dundas.BI.WebApi.Models.GetSessionsOptions
An object that carries all needed information about the sessions 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 sessions that match the criteria.
See Also