PUT associations({associationId})/groups({groupId})/members({groupMemberId})

Method to modify a group member

Request Information

Parameters

NameDescriptionAdditional information
associationId
association of interest

Define this parameter in the request URI.

groupId
Group identifier of interest

Define this parameter in the request URI.

groupMemberId
Group member to alter

Define this parameter in the request URI.

newMemberResource
Altered group member data

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

Freshly altered member

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>