Developers

Adding a Submission Question to a Brainstorm Challenge

Submission questions are created to ask a question when a user submits an idea to a challenge.

Adding a submission question to a challenge via the API requires a POST request.

POST parameters

  • id - The id of the challenge
  • value - The question to ask the submitter of an idea to a challenge

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

POST: /api/pipeline/addSubmissionQuestion

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>