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": [
    "cebb432e-3e25-4f59-9780-9fa346d2903b",
    "f06def3a-206c-40be-a851-e79bb2919682"
  ]
}

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-25T09:48:04.144652+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