POST associations({associationId})/groups({groupId})/members
Posts a group member in 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. |
newMemberResource | New member 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" }
application/xml, text/xml
Sample:
<GroupMemberResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet.WebAPI.Classes.Resources"> <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>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Bunch of 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" }
application/xml, text/xml
Sample:
<GroupMemberResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet.WebAPI.Classes.Resources"> <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>