AccountController.QueryNumberOfAccounts 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(440)]
public ActionResult<int> QueryNumberOfAccounts(
[FromBodyAttribute] GetAccountsOptions options,
Guid? sessionId = null
)
<HttpPostAttribute("Count")>
<ProducesResponseTypeAttribute(440)>
Public Function QueryNumberOfAccounts (
<FromBodyAttribute> options As GetAccountsOptions,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of Integer)
public:
[HttpPostAttribute(L"Count")]
[ProducesResponseTypeAttribute(440)]
ActionResult<int>^ QueryNumberOfAccounts(
[FromBodyAttribute] GetAccountsOptions^ options,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("Count")>]
[<ProducesResponseTypeAttribute(440)>]
member QueryNumberOfAccounts :
[<FromBodyAttribute>] options : GetAccountsOptions *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<int>
Parameters
- options
- Type: Dundas.BI.WebApi.Models.GetAccountsOptions
An object that carries all needed information about the accounts that need to be retrieved. - sessionId (Optional)
- Type: System.Nullable<Guid>
Current session ID.
Return Value
Type:
ActionResult<Int32>An integer representing the number of accounts that match the filter criteria.
See Also