Developers

Selecting a Winning Idea in a Brainstorm Challenge

Selecting a Winning Idea in a Challenge via the API requires a POST request.

POST parameters

  • id - The id of the challenge
  • ideaId - The id of the idea

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

Note, only challenge review team members can select a winning idea.

POST: /api/challenge/selectWinningIdea

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 ApiSuccessUpdate XML or JSON response.

<ApiSuccessUpdate xmlns="http://schemas.datacontract.org/2004/07/Brainstorm.Model.DTO" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
    <Message xmlns="http://brainstorm.intuit.com">Successfully updated</Message>
    <StatusCode xmlns="http://brainstorm.intuit.com">201</StatusCode>
</ApiSuccessUpdate>