POST associations({associationId})/representatives/status

Method to post a new status update

Request Information

Parameters

NameDescriptionAdditional information
associationId
No documentation available.

Define this parameter in the request URI.

statusUpdateResource
New Status update to post

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "UpdateTypeId": 2,
  "CreatedDate": "2024-11-21T12:20:56.8649489-06:00",
  "CreatedRepresentativeId": 4,
  "CreatedMemberId": 1,
  "Message": "sample string 5",
  "Url": "sample string 6",
  "ObjectId": 1,
  "StatusUpdateImageUrls": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "StatusUpdateLikes": 7,
  "StatusUpdateComments": 8,
  "StatusUpdateVideoUrls": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ]
}

application/xml, text/xml

Sample:
<StatusUpdateResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet.WebAPI.Classes.Resources">
  <CreatedDate>2024-11-21T12:20:56.8649489-06:00</CreatedDate>
  <CreatedMemberId>1</CreatedMemberId>
  <CreatedRepresentativeId>4</CreatedRepresentativeId>
  <Id>1</Id>
  <Message>sample string 5</Message>
  <ObjectId>1</ObjectId>
  <StatusUpdateComments>8</StatusUpdateComments>
  <StatusUpdateImageUrls xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </StatusUpdateImageUrls>
  <StatusUpdateLikes>7</StatusUpdateLikes>
  <StatusUpdateVideoUrls xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </StatusUpdateVideoUrls>
  <UpdateTypeId>2</UpdateTypeId>
  <Url>sample string 6</Url>
</StatusUpdateResource>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Newly posted status update

Response body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "UpdateTypeId": 2,
  "CreatedDate": "2024-11-21T12:20:56.8811815-06:00",
  "CreatedRepresentativeId": 4,
  "CreatedMemberId": 1,
  "Message": "sample string 5",
  "Url": "sample string 6",
  "ObjectId": 1,
  "StatusUpdateImageUrls": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "StatusUpdateLikes": 7,
  "StatusUpdateComments": 8,
  "StatusUpdateVideoUrls": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ]
}

application/xml, text/xml

Sample:
<StatusUpdateResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet.WebAPI.Classes.Resources">
  <CreatedDate>2024-11-21T12:20:56.8811815-06:00</CreatedDate>
  <CreatedMemberId>1</CreatedMemberId>
  <CreatedRepresentativeId>4</CreatedRepresentativeId>
  <Id>1</Id>
  <Message>sample string 5</Message>
  <ObjectId>1</ObjectId>
  <StatusUpdateComments>8</StatusUpdateComments>
  <StatusUpdateImageUrls xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </StatusUpdateImageUrls>
  <StatusUpdateLikes>7</StatusUpdateLikes>
  <StatusUpdateVideoUrls xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </StatusUpdateVideoUrls>
  <UpdateTypeId>2</UpdateTypeId>
  <Url>sample string 6</Url>
</StatusUpdateResource>