POST api/Collaboration/EditComment
Editing a comment
Request Information
URI Parameters
None.
Body Parameters
Comment editing parameters
EditCommentParamsName | Description | Type | Additional 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": [ "49959689-33d8-4886-9f0e-19b9aeceef32", "406f0a1d-9d7b-45ad-b9f0-e0e80f5fb1aa" ] }
Response Information
Resource Description
Result containing the comment edit timestamp
ObjResultOfDateTimeName | Description | Type | Additional 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-12-04T19:50:58.1664594+01: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 |