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
)
<ProducesResponseTypeAttribute(405)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
<ProducesResponseTypeAttribute(500)>
<HttpPostAttribute("Servers/{id}")>
Public Function GetServers (
id As Guid,
<FromBodyAttribute> options As GetServersOptions,
Optional sessionId As Guid? = Nothing
) As Task(Of ActionResult(Of ICollection(Of String)))
public:
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
[ProducesResponseTypeAttribute(500)]
[HttpPostAttribute(L"Servers/{id}")]
Task<ActionResult<ICollection<String^>^>^>^ GetServers(
Guid id,
[FromBodyAttribute] GetServersOptions^ options,
Nullable<Guid> sessionId = nullptr
)
[<ProducesResponseTypeAttribute(405)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
[<ProducesResponseTypeAttribute(500)>]
[<HttpPostAttribute("Servers/{id}")>]
member GetServers :
id : Guid *
[<FromBodyAttribute>] options : GetServersOptions *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> Task<ActionResult<ICollection<string>>>
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