POST api/PossibleOptions/PostPossibleOption
Request Information
URI Parameters
None.
Body Parameters
PossibleOption| Name | Description | Type | Additional 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-12-26T07:42:55.3324175+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-12-26T07:42:55.3324175+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:
Response Information
Resource Description
PossibleOption| Name | Description | Type | Additional 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. |
Response 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-12-26T07:42:55.3324175+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-12-26T07:42:55.3324175+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>