Creates a new group

post

/learn.rest/v1/learnCenters/{learnCenterId}/groups

Request

Supported Media Types
Path Parameters
Body ()
Group object that needs to be created.
Root Schema : GroupRequest
Type: object
Show Source
Example:
{
    "name":"ck test group test 123",
    "parentGroupId":766,
    "statusFlag":"active",
    "code":"481werfa-dc63-4d92-8a08-12f807eab82d",
    "activeFromDate":"2017-05-06T00:00:00",
    "activeUntilDate":"2017-06-06T00:00:00",
    "createdDate":"2013-06-17T18:27:01.843",
    "createdByUserId":113458,
    "lastUpdatedDate":"2018-03-20T05:00:01.553",
    "lastUpdatedByUserId":1000,
    "onlyAllowOwnersToEditGroup":false,
    "selfServiceOptions":"doesNotRequireApprovals",
    "owners":[
        113458,
        112898
    ]
}
Nested Schema : owners
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Security
Back to Top

Response

Supported Media Types

201 Response

New group resource created.
Body ()
Root Schema : GroupResponse
Type: object
Show Source
Nested Schema : createdBy
Type: array
Show Source
Nested Schema : lastUpdatedBy
Type: array
Show Source
Nested Schema : owners
Type: array
Show Source

400 Response

Request has incorrect syntax or does not contain a field that is required.

409 Response

Another resource with the same identifier already exists.

500 Response

Internal server error.
Back to Top