POST api/v1/LiveQuizEvent/PostAssesScoreForLiveQuiz

Request Information

URI Parameters

None.

Body Parameters

AssessmentScoreDetailLiveQuiz
NameDescriptionTypeAdditional information
Score

integer

None.

ClassId

integer

None.

IsUserAssessmentSuccess

boolean

None.

ClassName

string

None.

TotalCorrectAnswers

integer

None.

Locale

string

None.

UserQuestionResponse

Collection of UserQuestionResponse

None.

ClassTag

string

None.

LiveEventPasscode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Score": 1,
  "ClassId": 2,
  "IsUserAssessmentSuccess": true,
  "ClassName": "sample string 4",
  "TotalCorrectAnswers": 5,
  "Locale": "sample string 6",
  "UserQuestionResponse": [
    {
      "QuestionId": 1,
      "ChoiceId": 1,
      "IsRightAnswer": true,
      "TimeSpent": 1
    },
    {
      "QuestionId": 1,
      "ChoiceId": 1,
      "IsRightAnswer": true,
      "TimeSpent": 1
    }
  ],
  "ClassTag": "sample string 7",
  "LiveEventPasscode": "sample string 8"
}

text/html

Sample:
{"Score":1,"ClassId":2,"IsUserAssessmentSuccess":true,"ClassName":"sample string 4","TotalCorrectAnswers":5,"Locale":"sample string 6","UserQuestionResponse":[{"QuestionId":1,"ChoiceId":1,"IsRightAnswer":true,"TimeSpent":1},{"QuestionId":1,"ChoiceId":1,"IsRightAnswer":true,"TimeSpent":1}],"ClassTag":"sample string 7","LiveEventPasscode":"sample string 8"}

text/xml

Sample:
<AssessmentScoreDetailLiveQuiz xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShotClassCore.Models">
  <ClassId>2</ClassId>
  <ClassName>sample string 4</ClassName>
  <ClassTag>sample string 7</ClassTag>
  <IsUserAssessmentSuccess>true</IsUserAssessmentSuccess>
  <LiveEventPasscode>sample string 8</LiveEventPasscode>
  <Locale>sample string 6</Locale>
  <Score>1</Score>
  <TotalCorrectAnswers>5</TotalCorrectAnswers>
  <UserQuestionResponse>
    <UserQuestionResponse>
      <ChoiceId>1</ChoiceId>
      <IsRightAnswer>true</IsRightAnswer>
      <QuestionId>1</QuestionId>
      <TimeSpent>1</TimeSpent>
    </UserQuestionResponse>
    <UserQuestionResponse>
      <ChoiceId>1</ChoiceId>
      <IsRightAnswer>true</IsRightAnswer>
      <QuestionId>1</QuestionId>
      <TimeSpent>1</TimeSpent>
    </UserQuestionResponse>
  </UserQuestionResponse>
</AssessmentScoreDetailLiveQuiz>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json, text/html

Sample:
"sample string 1"

text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>