GET api/FormQuestions/QuestionOfDesign/{DesignId}
Get Question WithDesign
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| DesignId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of FormQuestion| Name | Description | Type | Additional 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. |
Response 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-12-25T05:54:15.4684001+00:00",
"LastChanged": "2025-12-25T05:54:15.4684001+00:00",
"LastChange_AuthorId": 14
},
{
"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-12-25T05:54:15.4684001+00:00",
"LastChanged": "2025-12-25T05:54:15.4684001+00:00",
"LastChange_AuthorId": 14
}
]
application/xml, text/xml
Sample:
<ArrayOfFormQuestion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
<FormQuestion>
<AnswerRequired>true</AnswerRequired>
<FormId>4</FormId>
<FormSectionId>2</FormSectionId>
<ImgUrl>sample string 10</ImgUrl>
<IsVisible>true</IsVisible>
<LastChange_AuthorId>14</LastChange_AuthorId>
<LastChanged>2025-12-25T05:54:15.4684001+00:00</LastChanged>
<MaxChoices>9</MaxChoices>
<Position>5</Position>
<PublishedDate>2025-12-25T05:54:15.4684001+00:00</PublishedDate>
<QuestionDesignId>3</QuestionDesignId>
<QuestionId>1</QuestionId>
<Title>sample string 6</Title>
<Txt>sample string 7</Txt>
</FormQuestion>
<FormQuestion>
<AnswerRequired>true</AnswerRequired>
<FormId>4</FormId>
<FormSectionId>2</FormSectionId>
<ImgUrl>sample string 10</ImgUrl>
<IsVisible>true</IsVisible>
<LastChange_AuthorId>14</LastChange_AuthorId>
<LastChanged>2025-12-25T05:54:15.4684001+00:00</LastChanged>
<MaxChoices>9</MaxChoices>
<Position>5</Position>
<PublishedDate>2025-12-25T05:54:15.4684001+00:00</PublishedDate>
<QuestionDesignId>3</QuestionDesignId>
<QuestionId>1</QuestionId>
<Title>sample string 6</Title>
<Txt>sample string 7</Txt>
</FormQuestion>
</ArrayOfFormQuestion>