POST api/Collaboration/AddComment
Adding a comment
Request Information
URI Parameters
None.
Body Parameters
Parameters for adding a comment
AddCommentParams| Name | Description | Type | Additional information |
|---|---|---|---|
| GeometryId |
Thread ID |
integer |
None. |
| ReplyToId | 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:
{
"geometryId": 1,
"replyToId": 1,
"text": "sample string 2",
"subscriberGuids": [
"da2aab3d-1e0c-4caf-be69-09c371fcbd41",
"dccfb09b-f49e-4900-b70b-7563c73faafc"
]
}
Response Information
Resource Description
Result containing data of the added comment
ObjResultOfAddCommentOutcome| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | AddCommentOutcome |
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": {
"commentId": 1,
"commentTime": "2025-12-16T23:40:05.4986578+01:00"
},
"error": "sample string 1",
"success": true,
"errorCode": 3
}
Parameter Information
parameters
Parameters for adding a comment
| Property | Description |
|---|---|
| GeometryId (Int64) |
Thread ID |
| ReplyToId (Nullable`1) | |
| Text (String) |
Comment |
| SubscriberGuids (Guid[]) |
IDs of users who need to be notified about the comment |