A Sandcastle Documented Class Library

# GroupController CreateGroup Method

POST /Group/ Creates a group.

Namespace: Dundas.BI.WebApi.Controllers
Assembly: Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    [HttpPostAttribute]
    [ActionNameAttribute("Index")]
    public IActionResult CreateGroup(
    	[FromBodyAttribute] GroupData groupOptions,
    	Guid? sessionId = null
    )

    <HttpPostAttribute>
    <ActionNameAttribute("Index")>
    Public Function CreateGroup (
    	<FromBodyAttribute> groupOptions As GroupData,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpPostAttribute]
    [ActionNameAttribute(L"Index")]
    IActionResult^ CreateGroup(
    	[FromBodyAttribute] GroupData^ groupOptions,
    	Nullable<Guid> sessionId = nullptr
    )

    [<HttpPostAttribute>]
    [<ActionNameAttribute("Index")>]
    member CreateGroup :
            [<FromBodyAttribute>] groupOptions : GroupData *
            ?sessionId : Nullable<Guid>
    (* Defaults:
            let _sessionId = defaultArg sessionId null
    *)
    -> IActionResult

#### Parameters

groupOptions
  Type: Dundas.BI.WebApi.Models
  GroupData
  The group information to be created and saved.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  Current session ID.

#### Return Value

Type: IActionResult
A GroupData object, or a status code indicating the problem.
See Also

#### Reference

GroupController Class
Dundas.BI.WebApi.Controllers Namespace