PUT FormQuestionResponses/PutFormQuestionResponse?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

FormQuestionResponse
NameDescriptionTypeAdditional information
ResponseSectionId

integer

None.

DecisionFlowId

integer

None.

FormQuestionId

integer

None.

Answer

string

String length: inclusive between 0 and 100

Request Formats

application/json, text/json

Sample:
{
  "ResponseSectionId": 1,
  "DecisionFlowId": 2,
  "FormQuestionId": 3,
  "Answer": "sample string 4"
}

text/html

Sample:
{"ResponseSectionId":1,"DecisionFlowId":2,"FormQuestionId":3,"Answer":"sample string 4"}

application/xml, text/xml

Sample:
<FormQuestionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CPSC.ROBOT.Entities">
  <Answer>sample string 4</Answer>
  <DecisionFlowId>2</DecisionFlowId>
  <FormQuestionId>3</FormQuestionId>
  <ResponseSectionId>1</ResponseSectionId>
</FormQuestionResponse>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FormQuestionResponse'.

Response Information

Resource Description

None.