POST api/Quiz/Save
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": "d735679b-94d5-4223-9e4b-b7f67c0dcb06",
"AttemptId": "25325b39-72a8-4009-881e-19371b710bc5",
"ClassId": "aff96fb0-8a4d-49b6-8ac2-ef3bcb88f225",
"SectionId": "eea67b32-b2a3-48d0-b319-5784a62bf6a7",
"StudentId": "f35fd5a4-9a1d-4299-a55e-63959a3cd568",
"FrozenQuestionId": "a2fb5cab-35d4-4612-94a4-077ba9df66b3",
"Marks": 1.0,
"Action": "sample string 1",
"Submit": true,
"Answers": [
{
"q": "05906a2d-941d-4a75-af7f-8bd9813970f2",
"s": "sample string 2",
"t": "sample string 3",
"f": true,
"m": 1.0
},
{
"q": "05906a2d-941d-4a75-af7f-8bd9813970f2",
"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.