GET v2.0/document/{id}/comments
Получение списка комментариев к документу.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Идентификатор документа. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Список комментариев к документу.
Collection of Korus.Eds.Api.AdditionalComment| Name | Description | Type | Additional information |
|---|---|---|---|
| DocumentId | integer |
None. |
|
| UserId | integer |
None. |
|
| Login | string |
None. |
|
| FullName | string |
None. |
|
| Created | date |
None. |
|
| Comment | string |
None. |
|
| IsVisibleAllParticipants | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"documentId": 1,
"userId": 2,
"login": "sample string 3",
"fullName": "sample string 4",
"created": "2025-11-01T20:53:31.2161048+03:00",
"comment": "sample string 6",
"isVisibleAllParticipants": true
},
{
"documentId": 1,
"userId": 2,
"login": "sample string 3",
"fullName": "sample string 4",
"created": "2025-11-01T20:53:31.2161048+03:00",
"comment": "sample string 6",
"isVisibleAllParticipants": true
}
]
application/xml, text/xml
Sample:
<ArrayOfAdditionalComment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Korus.Eds.Api">
<AdditionalComment>
<Comment>sample string 6</Comment>
<Created>2025-11-01T20:53:31.2161048+03:00</Created>
<DocumentId>1</DocumentId>
<FullName>sample string 4</FullName>
<IsVisibleAllParticipants>true</IsVisibleAllParticipants>
<Login>sample string 3</Login>
<UserId>2</UserId>
</AdditionalComment>
<AdditionalComment>
<Comment>sample string 6</Comment>
<Created>2025-11-01T20:53:31.2161048+03:00</Created>
<DocumentId>1</DocumentId>
<FullName>sample string 4</FullName>
<IsVisibleAllParticipants>true</IsVisibleAllParticipants>
<Login>sample string 3</Login>
<UserId>2</UserId>
</AdditionalComment>
</ArrayOfAdditionalComment>