Get Started
Portal api methods
Help

POST api/2.0/community/event/{feedid}/comment This function requires authentication

Description

Adds a comment to the event with the specified ID. The parent event ID can be also specified if needed.

Parameters
Name Description Type Example
feedid
sent in url
Event ID number 1234
content
sent in body
Comment content string some text
parentId
sent in body
Comment parent ID number 1234
Remark

Send parentId=0 or don't send it at all if you want your comment to be on the root level

Example
             Sending data in application/json:
             
             {
                 content:"My comment",
                 parentId:"9924256A-739C-462b-AF15-E652A3B1B6EB"
             }
             
             Sending data in application/x-www-form-urlencoded
             content="My comment"&parentId="9924256A-739C-462b-AF15-E652A3B1B6EB"
             
Returns

Comments list

Example Response

application/json

{
  "status": 0,
  "response": {
    "id": 10,
    "parentId": 123,
    "created": "2019-08-17T20:39:00.0075377Z",
    "updated": "2019-08-17T20:39:00.0075377Z",
    "createdBy": {
      "id": "00000000-0000-0000-0000-000000000000",
      "displayName": "Mike Zanyatski",
      "title": "Manager",
      "avatarSmall": "url to small avatar",
      "profileUrl": ""
    },
    "text": "comment text"
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <id>10</id>
    <parentId>123</parentId>
    <created>2019-08-17T20:39:00.0075377Z</created>
    <updated>2019-08-17T20:39:00.0075377Z</updated>
    <createdBy>
      <id>00000000-0000-0000-0000-000000000000</id>
      <displayName>Mike Zanyatski</displayName>
      <title>Manager</title>
      <avatarSmall>url to small avatar</avatarSmall>
      <profileUrl></profileUrl>
    </createdBy>
    <text>comment text</text>
  </response>
</result>