Get Started
Portal api methods
Help

POST api/2.0/community/bookmark/{id}/comment This function requires authentication

Description

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

Parameters
Name Description Type Example
id
sent in url
Bookmark ID number 1234
content
sent in body
comment content string some text
parentId
sent in body
parent comment ID guid 9924256A-739C-462b-AF15-E652A3B1B6EB
Remark

Send parentId=00000000-0000-0000-0000-000000000000 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

list of bookmark comments

Example Response

application/json

{
  "status": 0,
  "response": {
    "id": "00000000-0000-0000-0000-000000000000",
    "created": "2019-10-15T09:54:26.7289998Z",
    "updated": "2019-10-15T09:54:26.7289998Z",
    "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>00000000-0000-0000-0000-000000000000</id>
    <created>2019-10-15T09:54:26.7289998Z</created>
    <updated>2019-10-15T09:54:26.7289998Z</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>