POST api/Collaboration/EditComment

Editing a comment

Request Information

URI Parameters

None.

Body Parameters

Comment editing parameters

EditCommentParams
NameDescriptionTypeAdditional information
CommentId

Comment ID

integer

None.

Text

Comment

string

None.

SubscriberGuids

IDs of users who need to be notified about the comment

Collection of globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "commentId": 1,
  "text": "sample string 2",
  "subscriberGuids": [
    "f3383a14-32e8-47c0-ae0d-a7b63212049d",
    "fdb47306-709d-497f-9331-c85aea7d2e2f"
  ]
}

Response Information

Resource Description

Result containing the comment edit timestamp

ObjResultOfDateTime
NameDescriptionTypeAdditional information
Data

date

None.

Error

Error description

string

None.

Success

Flag of successful operation

boolean

None.

ErrorCode

Error code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "data": "2024-04-15T08:50:16.7435188+02:00",
  "error": "sample string 2",
  "success": true,
  "errorCode": 4
}

Parameter Information

parameters

Comment editing parameters

Property Description
CommentId (Int64)
Comment ID
Text (String)
Comment
SubscriberGuids (Guid[])
IDs of users who need to be notified about the comment