POST api/Quiz/Class
Request Information
URI Parameters
None.
Body Parameters
QuizRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| AssignmentId | globally unique identifier |
None. |
|
| AttemptId | globally unique identifier |
None. |
|
| ClassId | globally unique identifier |
None. |
|
| SectionId | globally unique identifier |
None. |
|
| StudentId | globally unique identifier |
None. |
|
| FrozenQuestionId | globally unique identifier |
None. |
|
| Marks | decimal number |
None. |
|
| Action | string |
None. |
|
| Submit | boolean |
None. |
|
| Answers | Collection of QuizAnswer |
None. |
Request Formats
application/json, text/json
Sample:
{
"AssignmentId": "d27e4b9e-000a-4bd9-b2ad-6376638da3ca",
"AttemptId": "46c98c89-7984-4fdb-b4c1-3c98b383de59",
"ClassId": "f25120a2-0650-45b4-a993-30739d23f835",
"SectionId": "ba6cca22-4ea7-4f99-a915-1871ec606ccc",
"StudentId": "35c7f6ed-591d-45ab-9d5e-075f3e2b47aa",
"FrozenQuestionId": "aac13bde-4e8a-4d52-ac9a-4fa27b4d9bf7",
"Marks": 1.0,
"Action": "sample string 1",
"Submit": true,
"Answers": [
{
"q": "f3de9594-c3f4-4413-81e6-fe0c78fad8c3",
"s": "sample string 2",
"t": "sample string 3",
"f": true,
"m": 1.0
},
{
"q": "f3de9594-c3f4-4413-81e6-fe0c78fad8c3",
"s": "sample string 2",
"t": "sample string 3",
"f": true,
"m": 1.0
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.