PUT api/Question

Request Information

URI Parameters

None.

Body Parameters

QuestionModel
NameDescriptionTypeAdditional information
questionId

integer

Required

questionDesc

string

None.

questionText

string

None.

toolTip

string

None.

answerType

string

None.

isActive

boolean

None.

questionCategory

string

None.

includeFreeText

boolean

None.

includePredefined

boolean

None.

removequestionId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "questionId": 1,
  "questionDesc": "sample string 2",
  "questionText": "sample string 3",
  "toolTip": "sample string 4",
  "answerType": "sample string 5",
  "isActive": true,
  "questionCategory": "sample string 6",
  "includeFreeText": true,
  "includePredefined": true,
  "removequestionId": 7
}

application/xml, text/xml

Sample:
<QuestionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECD_SFCData">
  <answerType>sample string 5</answerType>
  <includeFreeText>true</includeFreeText>
  <includePredefined>true</includePredefined>
  <isActive>true</isActive>
  <questionCategory>sample string 6</questionCategory>
  <questionDesc>sample string 2</questionDesc>
  <questionId>1</questionId>
  <questionText>sample string 3</questionText>
  <removequestionId>7</removequestionId>
  <toolTip>sample string 4</toolTip>
</QuestionModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.