POST api/Quiz/Start
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": "2ad59126-f412-48c5-af37-1b96de4548f1",
"AttemptId": "0f1d392a-3f4a-40e5-9365-1c9f66fca96e",
"ClassId": "fca25737-bc65-45de-9ad8-cce20d7354f0",
"SectionId": "9d870541-4894-4a1a-865d-f4780e771332",
"StudentId": "7a3b8f05-9233-4065-b5fc-7701e4e0ecdd",
"FrozenQuestionId": "04f5bbe4-0f30-47a2-94d3-6c02b9c8f760",
"Marks": 1.0,
"Action": "sample string 1",
"Submit": true,
"Answers": [
{
"q": "5de962aa-1895-4648-9b04-46b14cded386",
"s": "sample string 2",
"t": "sample string 3",
"f": true,
"m": 1.0
},
{
"q": "5de962aa-1895-4648-9b04-46b14cded386",
"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.