Open this page in the API Guide

SessionController.QuerySessions Method

Gets multiple sessions.

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("Query")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<SessionData[]> QuerySessions(
	[FromBodyAttribute] GetSessionsOptions options,
	Guid? sessionId = null
)

Parameters

options
Type: Dundas.BI.WebApi.Models.GetSessionsOptions
An object that carries all needed information about the sessions that needs to be retrieved.
sessionId (Optional)
Type: System.Nullable<Guid>
Current session ID.

Return Value

Type: ActionResult<SessionData[]>
The operation completed successfully. The payload contains an array of SessionData objects.
See Also