Developers
Adding a new Brainstorm Idea
Adding a new Idea via the API requires a POST request.
POST parameters
- title - The title of the idea
- description - A brief description of the idea
- tags - A comma seperated list of tags that should be added to the idea
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/idea/add
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. The value of the Id element will be the id of the idea that was just created.
<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>5000</Id>
</ApiSuccessCreate>