POST api/Collaboration/CreateCommentThread
Creating a new comment thread
Request Information
URI Parameters
None.
Body Parameters
Comment thread parameters
CreateCommentThreadParams| Name | Description | Type | Additional information |
|---|---|---|---|
| MediaItemId |
Media Item ID |
integer |
None. |
| RevisionId |
Media Item version ID |
integer |
None. |
| Geometry |
Comment thread geometry |
string |
None. |
| CommentText |
Comment |
string |
None. |
| SubscriberGuids |
IDs of users who need to be notified about the current comment thread |
Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"mediaItemId": 1,
"revisionId": 1,
"geometry": "sample string 2",
"commentText": "sample string 3",
"subscriberGuids": [
"69a23de6-6e6e-4741-8aaf-0d34f1eb6eab",
"c51ef9c4-1262-4ee5-8306-5866115d0bac"
]
}
Response Information
Resource Description
Result containing the created comment thread
ObjResultOfCreateCommentThreadOutcome| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | CreateCommentThreadOutcome |
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": {
"geometryId": 1,
"commentId": 2,
"commentTime": "2025-12-16T23:38:21.2849182+01:00"
},
"error": "sample string 1",
"success": true,
"errorCode": 3
}
Parameter Information
parameters
Comment thread parameters
| Property | Description |
|---|---|
| MediaItemId (Int64) |
Media Item ID |
| RevisionId (Nullable`1) |
Media Item version ID |
| Geometry (String) |
Comment thread geometry |
| CommentText (String) |
Comment |
| SubscriberGuids (Guid[]) |
IDs of users who need to be notified about the current comment thread |