PUT associations({associationId})/members({memberId})/representatives({representativeId})

Method to modify a representative. Currently this method only moves a representative from one member to another.

Request Information

Parameters

NameDescriptionAdditional information
associationId
Association of interest

Define this parameter in the request URI.

representativeId
Representative to update

Define this parameter in the request URI.

freshRepresentativeData
Data to update the representative with

Define this parameter in the request body.

memberId
No documentation available.

Define this parameter in the request URI.

Request body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "MemberId": 1,
  "Name": "sample string 2",
  "WorkPhone": "sample string 3",
  "Email": "sample string 4",
  "Primary": true,
  "FirstName": "sample string 5",
  "LastName": "sample string 6",
  "Title": "sample string 7",
  "Status": 1,
  "ShowAnyToPublic": true,
  "ShowAnyToMembers": true,
  "PersonalBio": "sample string 8"
}

application/xml, text/xml

Sample:
<RepresentativeResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet.WebAPI.Classes.Resources">
  <Email>sample string 4</Email>
  <FirstName>sample string 5</FirstName>
  <Id>1</Id>
  <LastName>sample string 6</LastName>
  <MemberId>1</MemberId>
  <Name>sample string 2</Name>
  <PersonalBio>sample string 8</PersonalBio>
  <Primary>true</Primary>
  <ShowAnyToMembers>true</ShowAnyToMembers>
  <ShowAnyToPublic>true</ShowAnyToPublic>
  <Status>1</Status>
  <Title>sample string 7</Title>
  <WorkPhone>sample string 3</WorkPhone>
</RepresentativeResource>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Newly updated representative

Response body formats

application/json, text/json

Sample:

Sample not available.