Adds a new group with the group manager, name, and members specified in the request.
Name | Description | Type | Example |
GroupManager
sent in body
|
Group manager ID | System.Guid | |
GroupName
sent in body
|
Group name | System.String | |
Members
sent in body
|
List of group member IDs | System.Collections.Generic.IEnumerable{System.Guid} |
POST api/2.0/group Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "GroupManager": "9924256A-739C-462b-AF15-E652A3B1B6EB", "GroupName": "some text" }
Newly created group with the following parameters
application/json
{ "status": 0, "response": { "Description": "some text", "Name": "some text", "Category": "9924256A-739C-462b-AF15-E652A3B1B6EB", "Id": "9924256A-739C-462b-AF15-E652A3B1B6EB", "Manager": { "Id": "9924256A-739C-462b-AF15-E652A3B1B6EB", "DisplayName": "some text", "Title": "some text", "AvatarSmall": "some text", "ProfileUrl": "some text", "HasAvatar": true } } }
text/xml
<result> <status>0</status> <response> <Description>some text</Description> <Name>some text</Name> <Category>9924256A-739C-462b-AF15-E652A3B1B6EB</Category> <Id>9924256A-739C-462b-AF15-E652A3B1B6EB</Id> <Manager> <Id>9924256A-739C-462b-AF15-E652A3B1B6EB</Id> <DisplayName>some text</DisplayName> <Title>some text</Title> <AvatarSmall>some text</AvatarSmall> <ProfileUrl>some text</ProfileUrl> <HasAvatar>True</HasAvatar> </Manager> </response> </result>