POST v1/quizGroups/{id}/remove-quizzes
Removes quizzes from a quiz group.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The unique identifier of the quiz group to whom the new quizzes should be added. |
string |
Required |
Body Parameters
The quiz ids to add. If any quiz ids are invalid, no changes will be made.
Collection of stringRequest Formats
application/json, text/json
Sample:
[ "sample string 1", "sample string 2" ]
text/html
Sample:
["sample string 1","sample string 2"]
application/xml, text/xml
Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <string>sample string 1</string> <string>sample string 2</string> </ArrayOfstring>
Response Information
Resource Description
An object with the Id for the quiz and a collection of the quizzes to which they belong after removals.
QuizGroupPostResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
Response Codes
- 200 OK: Quizzes successfully removed.
- 400 BadRequest: Data validation failed, see the response body for more information.
- 401 Unauthorized:
- 500 InternalServerError:
Response Formats
application/json, text/json
Sample:
{
"Id": "sample string 1"
}
text/html
Sample:
{"Id":"sample string 1"}
application/xml, text/xml
Sample:
<QuizGroupPostResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ITAGroup.Questionnaire.Api.Contracts.v1.Responses"> <Id>sample string 1</Id> </QuizGroupPostResponse>