POST api/Quiz/Enter
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": "c7de6f28-5090-4e8e-b2ae-41681269fdd2",
"AttemptId": "91a9b6d1-b3f4-4bdf-ba62-af6065db7c2c",
"ClassId": "09fe6eb2-2bc3-44fa-bdc8-c7e350950e0b",
"SectionId": "0a01cce8-41f4-434c-96fb-10891e0724ef",
"StudentId": "72170ff5-5551-4a4e-817d-251ba47d8f02",
"FrozenQuestionId": "4b2f69a3-cba7-474e-bf70-6abe78002db0",
"Marks": 1.0,
"Action": "sample string 1",
"Submit": true,
"Answers": [
{
"q": "e446d423-a76d-4b26-9326-7ec442d0bae5",
"s": "sample string 2",
"t": "sample string 3",
"f": true,
"m": 1.0
},
{
"q": "e446d423-a76d-4b26-9326-7ec442d0bae5",
"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.