PUT api/PossibleOptions/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

PossibleOption
NameDescriptionTypeAdditional information
OptionId

integer

None.

QuestionId

integer

None.

FormId

integer

None.

Value

string

None.

MinValue

decimal number

None.

MaxValue

decimal number

None.

IntervalValue

decimal number

None.

ImgUrl

string

None.

IsValid

boolean

None.

IsFreeAnswer

boolean

None.

Position

integer

None.

IsVisible

boolean

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "OptionId": 1,
  "QuestionId": 2,
  "FormId": 3,
  "Value": "sample string 4",
  "MinValue": 5.1,
  "MaxValue": 6.1,
  "IntervalValue": 7.1,
  "ImgUrl": "sample string 8",
  "IsValid": true,
  "IsFreeAnswer": true,
  "Position": 11,
  "IsVisible": true,
  "LastChanged": "2025-08-14T03:15:22.0100272+00:00",
  "LastChange_AuthorId": 14
}

application/xml, text/xml

Sample:
<PossibleOption xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <FormId>3</FormId>
  <ImgUrl>sample string 8</ImgUrl>
  <IntervalValue>7.1</IntervalValue>
  <IsFreeAnswer>true</IsFreeAnswer>
  <IsValid>true</IsValid>
  <IsVisible>true</IsVisible>
  <LastChange_AuthorId>14</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:15:22.0100272+00:00</LastChanged>
  <MaxValue>6.1</MaxValue>
  <MinValue>5.1</MinValue>
  <OptionId>1</OptionId>
  <Position>11</Position>
  <QuestionId>2</QuestionId>
  <Value>sample string 4</Value>
</PossibleOption>

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

Response Information

Resource Description

None.