Developers
Adding a private comment to an idea in a pipeline
Comments can be posted to an idea in a pipeline through this API. Currently just plain text comments are supported.
POST parameters
- id - The ID of the pipeline
- ideaId - The ID of the idea
- comment - The comment body
Note, this API endpoint also requires valid X-On-Behalf-Of headers as it imports skill and interest information into Brainstorm. See here for more information.
POST: /api/pipeline/addPrivateComment
Setting the ContentType
All POST requests to Brainstorm must have the following content type: application/x-www-form-urlencoded
webRequest.ContentType = "application/x-www-form-urlencoded";
Upon successfull request, you will see an ApiSuccessCreate XML or JSON response.
<ApiSuccessCreate xmlns="http://schemas.datacontract.org/2004/07/Brainstorm.Model.DTO" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Message>Successfully created</Message>
<StatusCode>200</StatusCode>
<Id>0</Id>
</ApiSuccessCreate>