Open this page in the API Guide

ServerGroupController.CreateServerGroup Method

Creates a server group with the specified name.

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]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<long> CreateServerGroup(
	[FromBodyAttribute] string name,
	Guid? sessionId = null
)

Parameters

name
Type: System.String
The name of the server group.
sessionId (Optional)
Type: System.Nullable<Guid>
ID of the current session.

Return Value

Type: ActionResult<Int64>
The operation completed successfully. The payload contains a Int64 representing the ID of the newly-created group, or -1 if a group with the specified name already exists.
See Also