POST api/Quiz/Results
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": "a8b389fd-7f79-4abc-a0fe-e20db8da4384",
"AttemptId": "8d9ae8d5-b406-4168-b098-d0f4e07c5e05",
"ClassId": "601360ef-ca42-4e07-808d-223fef3e5afa",
"SectionId": "d514daae-ccc9-4e49-9667-1f45dfba8b33",
"StudentId": "a6a0db74-8b49-4387-883d-a9c7837f07bc",
"FrozenQuestionId": "2bc1275e-5010-4443-b14e-461e636d72cf",
"Marks": 1.0,
"Action": "sample string 1",
"Submit": true,
"Answers": [
{
"q": "62bbe795-815d-4787-9247-13e1aceffb86",
"s": "sample string 2",
"t": "sample string 3",
"f": true,
"m": 1.0
},
{
"q": "62bbe795-815d-4787-9247-13e1aceffb86",
"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.