POST associations({associationId})/groups({groupId})/manymembers
Posts group members into a group
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
associationId | association of interest |
Define this parameter in the request URI. |
groupId | Group identifier of interest |
Define this parameter in the request URI. |
newMembers | New members to add |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
[ { "Id": 1, "MemberTypeId": 1, "ContactId": 1, "IsDisabled": true, "DoNotContact": true, "GroupId": 1, "Order": 1, "Role": "sample string 2" }, { "Id": 1, "MemberTypeId": 1, "ContactId": 1, "IsDisabled": true, "DoNotContact": true, "GroupId": 1, "Order": 1, "Role": "sample string 2" }, { "Id": 1, "MemberTypeId": 1, "ContactId": 1, "IsDisabled": true, "DoNotContact": true, "GroupId": 1, "Order": 1, "Role": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfGroupMemberResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet.WebAPI.Classes.Resources"> <GroupMemberResource> <ContactId>1</ContactId> <DoNotContact>true</DoNotContact> <GroupId>1</GroupId> <Id>1</Id> <IsDisabled>true</IsDisabled> <MemberTypeId>1</MemberTypeId> <Order>1</Order> <Role>sample string 2</Role> </GroupMemberResource> <GroupMemberResource> <ContactId>1</ContactId> <DoNotContact>true</DoNotContact> <GroupId>1</GroupId> <Id>1</Id> <IsDisabled>true</IsDisabled> <MemberTypeId>1</MemberTypeId> <Order>1</Order> <Role>sample string 2</Role> </GroupMemberResource> <GroupMemberResource> <ContactId>1</ContactId> <DoNotContact>true</DoNotContact> <GroupId>1</GroupId> <Id>1</Id> <IsDisabled>true</IsDisabled> <MemberTypeId>1</MemberTypeId> <Order>1</Order> <Role>sample string 2</Role> </GroupMemberResource> </ArrayOfGroupMemberResource>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/csv
Sample:
Sample not available.
Response Information
Bunch of inserted group members
Response body formats
application/json, text/json
Sample:
[ { "Id": 1, "MemberTypeId": 1, "ContactId": 1, "IsDisabled": true, "DoNotContact": true, "GroupId": 1, "Order": 1, "Role": "sample string 2" }, { "Id": 1, "MemberTypeId": 1, "ContactId": 1, "IsDisabled": true, "DoNotContact": true, "GroupId": 1, "Order": 1, "Role": "sample string 2" }, { "Id": 1, "MemberTypeId": 1, "ContactId": 1, "IsDisabled": true, "DoNotContact": true, "GroupId": 1, "Order": 1, "Role": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfGroupMemberResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet.WebAPI.Classes.Resources"> <GroupMemberResource> <ContactId>1</ContactId> <DoNotContact>true</DoNotContact> <GroupId>1</GroupId> <Id>1</Id> <IsDisabled>true</IsDisabled> <MemberTypeId>1</MemberTypeId> <Order>1</Order> <Role>sample string 2</Role> </GroupMemberResource> <GroupMemberResource> <ContactId>1</ContactId> <DoNotContact>true</DoNotContact> <GroupId>1</GroupId> <Id>1</Id> <IsDisabled>true</IsDisabled> <MemberTypeId>1</MemberTypeId> <Order>1</Order> <Role>sample string 2</Role> </GroupMemberResource> <GroupMemberResource> <ContactId>1</ContactId> <DoNotContact>true</DoNotContact> <GroupId>1</GroupId> <Id>1</Id> <IsDisabled>true</IsDisabled> <MemberTypeId>1</MemberTypeId> <Order>1</Order> <Role>sample string 2</Role> </GroupMemberResource> </ArrayOfGroupMemberResource>
text/csv
Sample:
Id,MemberTypeId,ContactId,IsDisabled,DoNotContact,GroupId,Order,Role "1","1","1","True","True","1","1","sample string 2" "1","1","1","True","True","1","1","sample string 2" "1","1","1","True","True","1","1","sample string 2"