POST api/Quiz/Set
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": "cc3b32f5-9a3e-4efb-bff5-b0b7b85565ca",
"AttemptId": "80b2e075-bb24-43c6-b80d-1b5853bbcec4",
"ClassId": "f7311fb8-cab0-4fde-980b-c9f42293f10e",
"SectionId": "1c72b00b-1e92-4fdd-b4e1-58c9a51372c5",
"StudentId": "0c1e3bf9-0efa-4ad3-9adf-224c87b1c710",
"FrozenQuestionId": "1d28b04a-d63b-49da-9e70-9e1b455cb784",
"Marks": 1.0,
"Action": "sample string 1",
"Submit": true,
"Answers": [
{
"q": "8be41e51-ef2f-4ce7-b407-9b4ee248b125",
"s": "sample string 2",
"t": "sample string 3",
"f": true,
"m": 1.0
},
{
"q": "8be41e51-ef2f-4ce7-b407-9b4ee248b125",
"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.