POST associations({associationId})/representatives({representativeId})

Method to create a new representative

Request Information

Parameters

NameDescriptionAdditional information
associationId
Association of interest

Define this parameter in the request URI.

newRepresentative
New representative to add

Define this parameter in the request body.

representativeId
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 created representative

Response 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>