POST api/Quiz/Mark
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": "f1b53c56-8efa-4347-b88d-13307aa2a2a8",
"AttemptId": "aec452af-cf24-4ab0-a846-898c9cab976a",
"ClassId": "6931ccf4-2a8d-418d-b81b-a85cda43d7aa",
"SectionId": "638cfd5e-0612-47d6-9782-e5c6c5865ced",
"StudentId": "92058990-c200-403c-95cc-ba7b95782add",
"FrozenQuestionId": "d6a519a9-58c2-40bc-8074-3b6432c3a0da",
"Marks": 1.0,
"Action": "sample string 1",
"Submit": true,
"Answers": [
{
"q": "3f378c7f-1e7a-4434-bbe3-0d4b52454538",
"s": "sample string 2",
"t": "sample string 3",
"f": true,
"m": 1.0
},
{
"q": "3f378c7f-1e7a-4434-bbe3-0d4b52454538",
"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.