Developers

Save a challenge review text field

Saving a challenge review text field via the API requires a POST request. Note, there is only one open text value per challenge. Currently just plain text is supported

Challenge review open text fields are created via the Brainstorm application and are associated with ideas in a challenge. To retrieve information for challenge open text fields via the API, see Challenge Ideas.

POST parameters

  • id - The ID of the challenge
  • ideaId - The ID of the idea
  • customFieldId - The ID of the open text field
  • value - The value of the open text field

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

POST: /api/challenge/saveOpenTextValue

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>