POST api/Quiz/UpdateQuiz

Documentation for 'UpdateQuiz'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "item": {
    "id": "sample string 1",
    "assessment_id": "sample string 2",
    "pid": "sample string 3",
    "title": "sample string 4",
    "desc": "sample string 5",
    "type": "sample string 6",
    "passingScore": "sample string 7",
    "division": "sample string 8",
    "duration": "sample string 9",
    "enabled": "sample string 10",
    "deleted": "sample string 11",
    "createdDate": "2025-01-09T12:06:33.4632649+08:00",
    "updatedDate": "2025-01-09T12:06:33.4632649+08:00",
    "status": "sample string 12",
    "adminID": "sample string 13",
    "questions": [
      {
        "qid": "sample string 1",
        "id": "sample string 2",
        "quiz_id": "sample string 3",
        "title": "sample string 4",
        "type": "sample string 5",
        "status": "sample string 6",
        "enabled": "sample string 7",
        "deleted": "sample string 8",
        "createdDate": "2025-01-09T12:06:33.4632649+08:00",
        "updatedDate": "2025-01-09T12:06:33.4632649+08:00",
        "adminID": "sample string 9",
        "items": [
          {
            "id": "sample string 1",
            "question_id": "sample string 2",
            "answer_id": "sample string 3",
            "status": "sample string 4",
            "title": "sample string 5",
            "isAnswer": "sample string 6",
            "enabled": "sample string 7",
            "deleted": "sample string 8",
            "createdDate": "2025-01-09T12:06:33.4632649+08:00",
            "updatedDate": "2025-01-09T12:06:33.4632649+08:00",
            "adminID": "sample string 9"
          },
          {
            "id": "sample string 1",
            "question_id": "sample string 2",
            "answer_id": "sample string 3",
            "status": "sample string 4",
            "title": "sample string 5",
            "isAnswer": "sample string 6",
            "enabled": "sample string 7",
            "deleted": "sample string 8",
            "createdDate": "2025-01-09T12:06:33.4632649+08:00",
            "updatedDate": "2025-01-09T12:06:33.4632649+08:00",
            "adminID": "sample string 9"
          },
          {
            "id": "sample string 1",
            "question_id": "sample string 2",
            "answer_id": "sample string 3",
            "status": "sample string 4",
            "title": "sample string 5",
            "isAnswer": "sample string 6",
            "enabled": "sample string 7",
            "deleted": "sample string 8",
            "createdDate": "2025-01-09T12:06:33.4632649+08:00",
            "updatedDate": "2025-01-09T12:06:33.4632649+08:00",
            "adminID": "sample string 9"
          }
        ]
      },
      {
        "qid": "sample string 1",
        "id": "sample string 2",
        "quiz_id": "sample string 3",
        "title": "sample string 4",
        "type": "sample string 5",
        "status": "sample string 6",
        "enabled": "sample string 7",
        "deleted": "sample string 8",
        "createdDate": "2025-01-09T12:06:33.4632649+08:00",
        "updatedDate": "2025-01-09T12:06:33.4632649+08:00",
        "adminID": "sample string 9",
        "items": [
          {
            "id": "sample string 1",
            "question_id": "sample string 2",
            "answer_id": "sample string 3",
            "status": "sample string 4",
            "title": "sample string 5",
            "isAnswer": "sample string 6",
            "enabled": "sample string 7",
            "deleted": "sample string 8",
            "createdDate": "2025-01-09T12:06:33.4632649+08:00",
            "updatedDate": "2025-01-09T12:06:33.4632649+08:00",
            "adminID": "sample string 9"
          },
          {
            "id": "sample string 1",
            "question_id": "sample string 2",
            "answer_id": "sample string 3",
            "status": "sample string 4",
            "title": "sample string 5",
            "isAnswer": "sample string 6",
            "enabled": "sample string 7",
            "deleted": "sample string 8",
            "createdDate": "2025-01-09T12:06:33.4632649+08:00",
            "updatedDate": "2025-01-09T12:06:33.4632649+08:00",
            "adminID": "sample string 9"
          },
          {
            "id": "sample string 1",
            "question_id": "sample string 2",
            "answer_id": "sample string 3",
            "status": "sample string 4",
            "title": "sample string 5",
            "isAnswer": "sample string 6",
            "enabled": "sample string 7",
            "deleted": "sample string 8",
            "createdDate": "2025-01-09T12:06:33.4632649+08:00",
            "updatedDate": "2025-01-09T12:06:33.4632649+08:00",
            "adminID": "sample string 9"
          }
        ]
      },
      {
        "qid": "sample string 1",
        "id": "sample string 2",
        "quiz_id": "sample string 3",
        "title": "sample string 4",
        "type": "sample string 5",
        "status": "sample string 6",
        "enabled": "sample string 7",
        "deleted": "sample string 8",
        "createdDate": "2025-01-09T12:06:33.4632649+08:00",
        "updatedDate": "2025-01-09T12:06:33.4632649+08:00",
        "adminID": "sample string 9",
        "items": [
          {
            "id": "sample string 1",
            "question_id": "sample string 2",
            "answer_id": "sample string 3",
            "status": "sample string 4",
            "title": "sample string 5",
            "isAnswer": "sample string 6",
            "enabled": "sample string 7",
            "deleted": "sample string 8",
            "createdDate": "2025-01-09T12:06:33.4632649+08:00",
            "updatedDate": "2025-01-09T12:06:33.4632649+08:00",
            "adminID": "sample string 9"
          },
          {
            "id": "sample string 1",
            "question_id": "sample string 2",
            "answer_id": "sample string 3",
            "status": "sample string 4",
            "title": "sample string 5",
            "isAnswer": "sample string 6",
            "enabled": "sample string 7",
            "deleted": "sample string 8",
            "createdDate": "2025-01-09T12:06:33.4632649+08:00",
            "updatedDate": "2025-01-09T12:06:33.4632649+08:00",
            "adminID": "sample string 9"
          },
          {
            "id": "sample string 1",
            "question_id": "sample string 2",
            "answer_id": "sample string 3",
            "status": "sample string 4",
            "title": "sample string 5",
            "isAnswer": "sample string 6",
            "enabled": "sample string 7",
            "deleted": "sample string 8",
            "createdDate": "2025-01-09T12:06:33.4632649+08:00",
            "updatedDate": "2025-01-09T12:06:33.4632649+08:00",
            "adminID": "sample string 9"
          }
        ]
      }
    ]
  }
}

application/xml, text/xml

Sample:
<AddNewQuizRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SISVServices.Models">
  <item xmlns:d2p1="http://schemas.datacontract.org/2004/07/SISVServicesDA.Models">
    <d2p1:adminID>sample string 13</d2p1:adminID>
    <d2p1:assessment_id>sample string 2</d2p1:assessment_id>
    <d2p1:createdDate>2025-01-09T12:06:33.4632649+08:00</d2p1:createdDate>
    <d2p1:deleted>sample string 11</d2p1:deleted>
    <d2p1:desc>sample string 5</d2p1:desc>
    <d2p1:division>sample string 8</d2p1:division>
    <d2p1:duration>sample string 9</d2p1:duration>
    <d2p1:enabled>sample string 10</d2p1:enabled>
    <d2p1:id>sample string 1</d2p1:id>
    <d2p1:passingScore>sample string 7</d2p1:passingScore>
    <d2p1:pid>sample string 3</d2p1:pid>
    <d2p1:questions>
      <d2p1:Quiz_Question>
        <d2p1:adminID>sample string 9</d2p1:adminID>
        <d2p1:createdDate>2025-01-09T12:06:33.4632649+08:00</d2p1:createdDate>
        <d2p1:deleted>sample string 8</d2p1:deleted>
        <d2p1:enabled>sample string 7</d2p1:enabled>
        <d2p1:id>sample string 2</d2p1:id>
        <d2p1:items>
          <d2p1:Quiz_Answer>
            <d2p1:adminID>sample string 9</d2p1:adminID>
            <d2p1:answer_id>sample string 3</d2p1:answer_id>
            <d2p1:createdDate>2025-01-09T12:06:33.4632649+08:00</d2p1:createdDate>
            <d2p1:deleted>sample string 8</d2p1:deleted>
            <d2p1:enabled>sample string 7</d2p1:enabled>
            <d2p1:id>sample string 1</d2p1:id>
            <d2p1:isAnswer>sample string 6</d2p1:isAnswer>
            <d2p1:question_id>sample string 2</d2p1:question_id>
            <d2p1:status>sample string 4</d2p1:status>
            <d2p1:title>sample string 5</d2p1:title>
            <d2p1:updatedDate>2025-01-09T12:06:33.4632649+08:00</d2p1:updatedDate>
          </d2p1:Quiz_Answer>
          <d2p1:Quiz_Answer>
            <d2p1:adminID>sample string 9</d2p1:adminID>
            <d2p1:answer_id>sample string 3</d2p1:answer_id>
            <d2p1:createdDate>2025-01-09T12:06:33.4632649+08:00</d2p1:createdDate>
            <d2p1:deleted>sample string 8</d2p1:deleted>
            <d2p1:enabled>sample string 7</d2p1:enabled>
            <d2p1:id>sample string 1</d2p1:id>
            <d2p1:isAnswer>sample string 6</d2p1:isAnswer>
            <d2p1:question_id>sample string 2</d2p1:question_id>
            <d2p1:status>sample string 4</d2p1:status>
            <d2p1:title>sample string 5</d2p1:title>
            <d2p1:updatedDate>2025-01-09T12:06:33.4632649+08:00</d2p1:updatedDate>
          </d2p1:Quiz_Answer>
          <d2p1:Quiz_Answer>
            <d2p1:adminID>sample string 9</d2p1:adminID>
            <d2p1:answer_id>sample string 3</d2p1:answer_id>
            <d2p1:createdDate>2025-01-09T12:06:33.4632649+08:00</d2p1:createdDate>
            <d2p1:deleted>sample string 8</d2p1:deleted>
            <d2p1:enabled>sample string 7</d2p1:enabled>
            <d2p1:id>sample string 1</d2p1:id>
            <d2p1:isAnswer>sample string 6</d2p1:isAnswer>
            <d2p1:question_id>sample string 2</d2p1:question_id>
            <d2p1:status>sample string 4</d2p1:status>
            <d2p1:title>sample string 5</d2p1:title>
            <d2p1:updatedDate>2025-01-09T12:06:33.4632649+08:00</d2p1:updatedDate>
          </d2p1:Quiz_Answer>
        </d2p1:items>
        <d2p1:qid>sample string 1</d2p1:qid>
        <d2p1:quiz_id>sample string 3</d2p1:quiz_id>
        <d2p1:status>sample string 6</d2p1:status>
        <d2p1:title>sample string 4</d2p1:title>
        <d2p1:type>sample string 5</d2p1:type>
        <d2p1:updatedDate>2025-01-09T12:06:33.4632649+08:00</d2p1:updatedDate>
      </d2p1:Quiz_Question>
      <d2p1:Quiz_Question>
        <d2p1:adminID>sample string 9</d2p1:adminID>
        <d2p1:createdDate>2025-01-09T12:06:33.4632649+08:00</d2p1:createdDate>
        <d2p1:deleted>sample string 8</d2p1:deleted>
        <d2p1:enabled>sample string 7</d2p1:enabled>
        <d2p1:id>sample string 2</d2p1:id>
        <d2p1:items>
          <d2p1:Quiz_Answer>
            <d2p1:adminID>sample string 9</d2p1:adminID>
            <d2p1:answer_id>sample string 3</d2p1:answer_id>
            <d2p1:createdDate>2025-01-09T12:06:33.4632649+08:00</d2p1:createdDate>
            <d2p1:deleted>sample string 8</d2p1:deleted>
            <d2p1:enabled>sample string 7</d2p1:enabled>
            <d2p1:id>sample string 1</d2p1:id>
            <d2p1:isAnswer>sample string 6</d2p1:isAnswer>
            <d2p1:question_id>sample string 2</d2p1:question_id>
            <d2p1:status>sample string 4</d2p1:status>
            <d2p1:title>sample string 5</d2p1:title>
            <d2p1:updatedDate>2025-01-09T12:06:33.4632649+08:00</d2p1:updatedDate>
          </d2p1:Quiz_Answer>
          <d2p1:Quiz_Answer>
            <d2p1:adminID>sample string 9</d2p1:adminID>
            <d2p1:answer_id>sample string 3</d2p1:answer_id>
            <d2p1:createdDate>2025-01-09T12:06:33.4632649+08:00</d2p1:createdDate>
            <d2p1:deleted>sample string 8</d2p1:deleted>
            <d2p1:enabled>sample string 7</d2p1:enabled>
            <d2p1:id>sample string 1</d2p1:id>
            <d2p1:isAnswer>sample string 6</d2p1:isAnswer>
            <d2p1:question_id>sample string 2</d2p1:question_id>
            <d2p1:status>sample string 4</d2p1:status>
            <d2p1:title>sample string 5</d2p1:title>
            <d2p1:updatedDate>2025-01-09T12:06:33.4632649+08:00</d2p1:updatedDate>
          </d2p1:Quiz_Answer>
          <d2p1:Quiz_Answer>
            <d2p1:adminID>sample string 9</d2p1:adminID>
            <d2p1:answer_id>sample string 3</d2p1:answer_id>
            <d2p1:createdDate>2025-01-09T12:06:33.4632649+08:00</d2p1:createdDate>
            <d2p1:deleted>sample string 8</d2p1:deleted>
            <d2p1:enabled>sample string 7</d2p1:enabled>
            <d2p1:id>sample string 1</d2p1:id>
            <d2p1:isAnswer>sample string 6</d2p1:isAnswer>
            <d2p1:question_id>sample string 2</d2p1:question_id>
            <d2p1:status>sample string 4</d2p1:status>
            <d2p1:title>sample string 5</d2p1:title>
            <d2p1:updatedDate>2025-01-09T12:06:33.4632649+08:00</d2p1:updatedDate>
          </d2p1:Quiz_Answer>
        </d2p1:items>
        <d2p1:qid>sample string 1</d2p1:qid>
        <d2p1:quiz_id>sample string 3</d2p1:quiz_id>
        <d2p1:status>sample string 6</d2p1:status>
        <d2p1:title>sample string 4</d2p1:title>
        <d2p1:type>sample string 5</d2p1:type>
        <d2p1:updatedDate>2025-01-09T12:06:33.4632649+08:00</d2p1:updatedDate>
      </d2p1:Quiz_Question>
      <d2p1:Quiz_Question>
        <d2p1:adminID>sample string 9</d2p1:adminID>
        <d2p1:createdDate>2025-01-09T12:06:33.4632649+08:00</d2p1:createdDate>
        <d2p1:deleted>sample string 8</d2p1:deleted>
        <d2p1:enabled>sample string 7</d2p1:enabled>
        <d2p1:id>sample string 2</d2p1:id>
        <d2p1:items>
          <d2p1:Quiz_Answer>
            <d2p1:adminID>sample string 9</d2p1:adminID>
            <d2p1:answer_id>sample string 3</d2p1:answer_id>
            <d2p1:createdDate>2025-01-09T12:06:33.4632649+08:00</d2p1:createdDate>
            <d2p1:deleted>sample string 8</d2p1:deleted>
            <d2p1:enabled>sample string 7</d2p1:enabled>
            <d2p1:id>sample string 1</d2p1:id>
            <d2p1:isAnswer>sample string 6</d2p1:isAnswer>
            <d2p1:question_id>sample string 2</d2p1:question_id>
            <d2p1:status>sample string 4</d2p1:status>
            <d2p1:title>sample string 5</d2p1:title>
            <d2p1:updatedDate>2025-01-09T12:06:33.4632649+08:00</d2p1:updatedDate>
          </d2p1:Quiz_Answer>
          <d2p1:Quiz_Answer>
            <d2p1:adminID>sample string 9</d2p1:adminID>
            <d2p1:answer_id>sample string 3</d2p1:answer_id>
            <d2p1:createdDate>2025-01-09T12:06:33.4632649+08:00</d2p1:createdDate>
            <d2p1:deleted>sample string 8</d2p1:deleted>
            <d2p1:enabled>sample string 7</d2p1:enabled>
            <d2p1:id>sample string 1</d2p1:id>
            <d2p1:isAnswer>sample string 6</d2p1:isAnswer>
            <d2p1:question_id>sample string 2</d2p1:question_id>
            <d2p1:status>sample string 4</d2p1:status>
            <d2p1:title>sample string 5</d2p1:title>
            <d2p1:updatedDate>2025-01-09T12:06:33.4632649+08:00</d2p1:updatedDate>
          </d2p1:Quiz_Answer>
          <d2p1:Quiz_Answer>
            <d2p1:adminID>sample string 9</d2p1:adminID>
            <d2p1:answer_id>sample string 3</d2p1:answer_id>
            <d2p1:createdDate>2025-01-09T12:06:33.4632649+08:00</d2p1:createdDate>
            <d2p1:deleted>sample string 8</d2p1:deleted>
            <d2p1:enabled>sample string 7</d2p1:enabled>
            <d2p1:id>sample string 1</d2p1:id>
            <d2p1:isAnswer>sample string 6</d2p1:isAnswer>
            <d2p1:question_id>sample string 2</d2p1:question_id>
            <d2p1:status>sample string 4</d2p1:status>
            <d2p1:title>sample string 5</d2p1:title>
            <d2p1:updatedDate>2025-01-09T12:06:33.4632649+08:00</d2p1:updatedDate>
          </d2p1:Quiz_Answer>
        </d2p1:items>
        <d2p1:qid>sample string 1</d2p1:qid>
        <d2p1:quiz_id>sample string 3</d2p1:quiz_id>
        <d2p1:status>sample string 6</d2p1:status>
        <d2p1:title>sample string 4</d2p1:title>
        <d2p1:type>sample string 5</d2p1:type>
        <d2p1:updatedDate>2025-01-09T12:06:33.4632649+08:00</d2p1:updatedDate>
      </d2p1:Quiz_Question>
    </d2p1:questions>
    <d2p1:status>sample string 12</d2p1:status>
    <d2p1:title>sample string 4</d2p1:title>
    <d2p1:type>sample string 6</d2p1:type>
    <d2p1:updatedDate>2025-01-09T12:06:33.4632649+08:00</d2p1:updatedDate>
  </item>
</AddNewQuizRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'AddNewQuizRequest'.