Open this page in the API Guide

DataProviderController.GetDatabases Method

Gets the databases for the specified data provider.

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("Databases/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<ICollection<string>> GetDatabases(
	Guid id,
	[FromBodyAttribute] GetDatabasesOptions options,
	Guid? sessionId = null
)

Parameters

id
Type: System.Guid
The ID of the data provider for which to get the list of databases.
options
Type: Dundas.BI.WebApi.Models.GetDatabasesOptions
The options.
sessionId (Optional)
Type: System.Nullable<Guid>
The current session ID.

Return Value

Type: ActionResult<ICollection<String>>
The operation completed successfully. The payload contains an array of String objects.
See Also