POST api/Quiz/Paper

Request Information

URI Parameters

None.

Body Parameters

QuizRequest
NameDescriptionTypeAdditional 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": "fb4e4d90-8c45-4100-91e9-e4675e1f3f79",
  "AttemptId": "56e9c754-4f8b-43f6-85c5-2b220165e061",
  "ClassId": "b0eaea7d-70fb-4533-b56d-ef53f24a459b",
  "SectionId": "1b977909-7dfd-48d5-990a-b88420e6a193",
  "StudentId": "b7a3fa1f-8db8-4783-8b93-b47ee960b74e",
  "FrozenQuestionId": "d3ed9fcf-4486-42a2-afd3-218fc212cf7e",
  "Marks": 1.0,
  "Action": "sample string 1",
  "Submit": true,
  "Answers": [
    {
      "q": "a75892f3-c0ed-4e3a-948d-33e9e1bb3342",
      "s": "sample string 2",
      "t": "sample string 3",
      "f": true,
      "m": 1.0
    },
    {
      "q": "a75892f3-c0ed-4e3a-948d-33e9e1bb3342",
      "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

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.