POST api/comments/bulk/add
Bulk add comment
Request Information
URI Parameters
None.
Body Parameters
Bulk comment object with filters
BulkCommentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Content | string |
None. |
|
| SectionId | string |
None. |
|
| Ids | Collection of globally unique identifier |
None. |
|
| NotifyCompletionToSystemUser | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Content": "sample string 1",
"SectionId": "sample string 2",
"Ids": [
"7db260e0-8812-4d84-9ee8-688e9f71b81b",
"287a298b-0ecb-41a7-b2cb-fdc75aca6bee"
],
"NotifyCompletionToSystemUser": true
}
application/xml, text/xml
Sample:
<BulkCommentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Requests.BulkRequests">
<Content>sample string 1</Content>
<Ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>7db260e0-8812-4d84-9ee8-688e9f71b81b</d2p1:guid>
<d2p1:guid>287a298b-0ecb-41a7-b2cb-fdc75aca6bee</d2p1:guid>
</Ids>
<NotifyCompletionToSystemUser>true</NotifyCompletionToSystemUser>
<SectionId>sample string 2</SectionId>
</BulkCommentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Errors | Collection of Error |
None. |
|
| IsValid | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Errors": [
{
"PropertyName": "sample string 1",
"Message": "sample string 2"
},
{
"PropertyName": "sample string 1",
"Message": "sample string 2"
}
],
"IsValid": false
}
application/xml, text/xml
Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
<Errors>
<Error>
<Message>sample string 2</Message>
<PropertyName>sample string 1</PropertyName>
</Error>
<Error>
<Message>sample string 2</Message>
<PropertyName>sample string 1</PropertyName>
</Error>
</Errors>
</ApiResponse>