POST api/Quiz/UpdateQuizQuestionAnswer

Documentation for 'UpdateQuizQuestionAnswer'.

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",
    "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:15:00.3177572+08:00",
    "updatedDate": "2025-01-09T12:15:00.3177572+08:00",
    "adminID": "sample string 9"
  }
}

application/xml, text/xml

Sample:
<AddNewQuizQuestionAnswerRequest 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 9</d2p1:adminID>
    <d2p1:answer_id>sample string 3</d2p1:answer_id>
    <d2p1:createdDate>2025-01-09T12:15:00.3177572+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:15:00.3177572+08:00</d2p1:updatedDate>
  </item>
</AddNewQuizQuestionAnswerRequest>

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 'AddNewQuizQuestionAnswerRequest'.