POST UpdateQuizDatafor101Courses/{courseUniqueId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
courseUniqueId

Required

Body Parameters

NameDescriptionTypeAdditional information
Attempts

None.

CutOffMarks

None.

DurationHour

None.

DurationMins

None.

DurationSeconds

None.

hasQuiz

None.

isAttemptsDefined

None.

isQuizRandomized

None.

isQuizTimeBoxed

None.

noOfQuestions

None.

questionsAndAnswer

None.

Request Formats

application/json, text/json

Sample:
{
  "Attempts": 1,
  "CutOffMarks": 2,
  "DurationHour": 3,
  "DurationMins": 4,
  "DurationSeconds": 5,
  "hasQuiz": true,
  "isAttemptsDefined": true,
  "isQuizRandomized": true,
  "isQuizTimeBoxed": true,
  "noOfQuestions": 10,
  "questionsAndAnswer": [
    {
      "isMaxLimitReached": true,
      "options": [
        {
          "option": "sample string 1",
          "isCorrectAnswer": true
        },
        {
          "option": "sample string 1",
          "isCorrectAnswer": true
        }
      ],
      "Question": "sample string 2"
    },
    {
      "isMaxLimitReached": true,
      "options": [
        {
          "option": "sample string 1",
          "isCorrectAnswer": true
        },
        {
          "option": "sample string 1",
          "isCorrectAnswer": true
        }
      ],
      "Question": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<QuizDataFor101 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yorbit.Data.SQLServer.POCO">
  <Attempts>1</Attempts>
  <CutOffMarks>2</CutOffMarks>
  <DurationHour>3</DurationHour>
  <DurationMins>4</DurationMins>
  <DurationSeconds>5</DurationSeconds>
  <hasQuiz>true</hasQuiz>
  <isAttemptsDefined>true</isAttemptsDefined>
  <isQuizRandomized>true</isQuizRandomized>
  <isQuizTimeBoxed>true</isQuizTimeBoxed>
  <noOfQuestions>10</noOfQuestions>
  <questionsAndAnswer>
    <QuestionsAndAnswer>
      <Question>sample string 2</Question>
      <isMaxLimitReached>true</isMaxLimitReached>
      <options>
        <Options>
          <isCorrectAnswer>true</isCorrectAnswer>
          <option>sample string 1</option>
        </Options>
        <Options>
          <isCorrectAnswer>true</isCorrectAnswer>
          <option>sample string 1</option>
        </Options>
      </options>
    </QuestionsAndAnswer>
    <QuestionsAndAnswer>
      <Question>sample string 2</Question>
      <isMaxLimitReached>true</isMaxLimitReached>
      <options>
        <Options>
          <isCorrectAnswer>true</isCorrectAnswer>
          <option>sample string 1</option>
        </Options>
        <Options>
          <isCorrectAnswer>true</isCorrectAnswer>
          <option>sample string 1</option>
        </Options>
      </options>
    </QuestionsAndAnswer>
  </questionsAndAnswer>
</QuizDataFor101>

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.