Open this page in the API Guide

DataProviderController.GetServers Method

Gets the servers 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
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
[ProducesResponseTypeAttribute(500)]
[HttpPostAttribute("Servers/{id}")]
public Task<ActionResult<ICollection<string>>> GetServers(
	Guid id,
	[FromBodyAttribute] GetServersOptions options,
	Guid? sessionId = null
)

Parameters

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

Return Value

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