POST Quiz/Result

Calculate Quiz Result

Request Information

URI Parameters

None.

Body Parameters

NameDescriptionTypeAdditional information
QuizId

None.

EntityId

None.

PackageId

None.

EntityType

None.

BadgeId

None.

QuestionAndAnswers

None.

TimeTaken

None.

CurrentAttempt

None.

Request Formats

application/json, text/json

Sample:
{
  "QuizId": "sample string 1",
  "EntityId": "sample string 2",
  "PackageId": "sample string 3",
  "EntityType": "sample string 4",
  "BadgeId": "sample string 5",
  "QuestionAndAnswers": [
    {
      "QuestionId": 1,
      "SelectedOption": [
        "sample string 1",
        "sample string 2"
      ]
    },
    {
      "QuestionId": 1,
      "SelectedOption": [
        "sample string 1",
        "sample string 2"
      ]
    }
  ],
  "TimeTaken": "sample string 6",
  "CurrentAttempt": 7
}

application/xml, text/xml

Sample:
<QuizAnswers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SkillPortal.Data.Models">
  <BadgeId>sample string 5</BadgeId>
  <CurrentAttempt>7</CurrentAttempt>
  <EntityId>sample string 2</EntityId>
  <EntityType>sample string 4</EntityType>
  <PackageId>sample string 3</PackageId>
  <QuestionAndAnswers>
    <QuestionAndAnswer>
      <QuestionId>1</QuestionId>
      <SelectedOption xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </SelectedOption>
    </QuestionAndAnswer>
    <QuestionAndAnswer>
      <QuestionId>1</QuestionId>
      <SelectedOption xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </SelectedOption>
    </QuestionAndAnswer>
  </QuestionAndAnswers>
  <QuizId>sample string 1</QuizId>
  <TimeTaken>sample string 6</TimeTaken>
</QuizAnswers>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NameDescriptionTypeAdditional information
Version

None.

Content

None.

StatusCode

None.

ReasonPhrase

None.

Headers

None.

RequestMessage

None.

IsSuccessStatusCode

None.