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": [
"2a340cf4-5ac3-41b3-90d2-b31f7d0324fe",
"91dd28c7-36cd-4218-88d9-fc50ee5d7a6c"
],
"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>2a340cf4-5ac3-41b3-90d2-b31f7d0324fe</d2p1:guid>
<d2p1:guid>91dd28c7-36cd-4218-88d9-fc50ee5d7a6c</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>