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