Developers

Adding an Idea to a Brainstorm Pipeline

Adding an Idea to a Pipeline via the API requires a POST request.

POST parameters

  • id - The ID of the pipeline
  • ideaId - The ID of the idea

this API endpoint also requires valid X-On-Behalf-Of headers. See here for more information.

POST: /api/pipeline/addIdea

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 pipeline 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>