PUT api/FormQuestions/PutFormQuestion?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

FormQuestion
NameDescriptionTypeAdditional information
QuestionId

integer

None.

FormSectionId

integer

None.

QuestionDesignId

integer

None.

FormId

integer

None.

Position

integer

None.

Title

string

None.

Txt

string

None.

AnswerRequired

boolean

None.

MaxChoices

integer

None.

ImgUrl

string

None.

IsVisible

boolean

None.

PublishedDate

date

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "QuestionId": 1,
  "FormSectionId": 2,
  "QuestionDesignId": 3,
  "FormId": 4,
  "Position": 5,
  "Title": "sample string 6",
  "Txt": "sample string 7",
  "AnswerRequired": true,
  "MaxChoices": 9,
  "ImgUrl": "sample string 10",
  "IsVisible": true,
  "PublishedDate": "2025-08-14T03:10:15.6758837+00:00",
  "LastChanged": "2025-08-14T03:10:15.6758837+00:00",
  "LastChange_AuthorId": 14
}

application/xml, text/xml

Sample:
<FormQuestion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <AnswerRequired>true</AnswerRequired>
  <FormId>4</FormId>
  <FormSectionId>2</FormSectionId>
  <ImgUrl>sample string 10</ImgUrl>
  <IsVisible>true</IsVisible>
  <LastChange_AuthorId>14</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:10:15.6758837+00:00</LastChanged>
  <MaxChoices>9</MaxChoices>
  <Position>5</Position>
  <PublishedDate>2025-08-14T03:10:15.6758837+00:00</PublishedDate>
  <QuestionDesignId>3</QuestionDesignId>
  <QuestionId>1</QuestionId>
  <Title>sample string 6</Title>
  <Txt>sample string 7</Txt>
</FormQuestion>

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 'FormQuestion'.

Response Information

Resource Description

None.