GET api/PossibleOptions/OptionsOfQuestion/{QuestionId}
Get Possible Option Of Question
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
QuestionId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PossibleOptionName | 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-08-14T03:23:34.455536+00:00", "LastChange_AuthorId": 14 }, { "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:23:34.455536+00:00", "LastChange_AuthorId": 14 } ]
application/xml, text/xml
Sample:
<ArrayOfPossibleOption xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models"> <PossibleOption> <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:23:34.455536+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> <PossibleOption> <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:23:34.455536+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> </ArrayOfPossibleOption>