GET v1/quizSections/{id}
Retrieves a QuizSection by their id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Unique Identifier of the QuizSection requested. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
The QuizSection, if it exists. Otherwise a 404 error.
QuizSection| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| IsGraded | boolean |
None. |
|
| StartHtml | string |
None. |
|
| EndHtml | string |
None. |
|
| RandomizeItems | boolean |
None. |
|
| ItemsToShow | integer |
None. |
Response Codes
- 200 OK: Requested Quiz Section successfully returned.
- 401 Unauthorized:
- 404 NotFound: Requested Quiz Section does not exist.
- 500 InternalServerError:
Response Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"IsGraded": true,
"StartHtml": "sample string 3",
"EndHtml": "sample string 4",
"RandomizeItems": true,
"ItemsToShow": 1
}
text/html
Sample:
{"Id":"sample string 1","IsGraded":true,"StartHtml":"sample string 3","EndHtml":"sample string 4","RandomizeItems":true,"ItemsToShow":1}
application/xml, text/xml
Sample:
<QuizSection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ITAGroup.Questionnaire.Api.Contracts.v1.Models"> <EndHtml>sample string 4</EndHtml> <Id>sample string 1</Id> <IsGraded>true</IsGraded> <ItemsToShow>1</ItemsToShow> <RandomizeItems>true</RandomizeItems> <StartHtml>sample string 3</StartHtml> </QuizSection>