POST associations({associationId})/groups

Method to create a group

Request Information

Parameters

NameDescriptionAdditional information
associationId
Association of interest

Define this parameter in the request URI.

newGroup
Group to add

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Id": 2,
  "Description": "sample string 3",
  "IsPublic": true,
  "MemberCount": 5,
  "IsActive": true,
  "Slug": "sample string 7",
  "GroupTypeName": "sample string 8",
  "MemberViewable": true,
  "MembersMayJoin": true,
  "ShowOnCommunityApp": true,
  "GroupTypeId": 1,
  "IsInterestGroup": true
}

application/xml, text/xml

Sample:
<GroupResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet.WebAPI.Classes.Resources">
  <Description>sample string 3</Description>
  <GroupTypeId>1</GroupTypeId>
  <GroupTypeName>sample string 8</GroupTypeName>
  <Id>2</Id>
  <IsActive>true</IsActive>
  <IsInterestGroup>true</IsInterestGroup>
  <IsPublic>true</IsPublic>
  <MemberCount>5</MemberCount>
  <MemberViewable>true</MemberViewable>
  <MembersMayJoin>true</MembersMayJoin>
  <Name>sample string 1</Name>
  <ShowOnCommunityApp>true</ShowOnCommunityApp>
  <Slug>sample string 7</Slug>
</GroupResource>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Group that was just added

Response body formats

application/json, text/json

Sample:

Sample not available.