POST api/v1/cBT_QuestionOption

Request Information

URI Parameters

None.

Body Parameters

CBT_QuestionOptionVM
NameDescriptionTypeAdditional information
questionOptionId

integer

None.

questionBankId

integer

None.

optionTypeId

integer

None.

questionOption

string

None.

isCorrectAnswer

boolean

None.

dateCreated

date

None.

tenantId

integer

None.

option

string

None.

Request Formats

application/json, text/json

Sample:
{
  "questionOptionId": 1,
  "questionBankId": 1,
  "optionTypeId": 1,
  "questionOption": "sample string 2",
  "isCorrectAnswer": true,
  "dateCreated": "2024-11-24T08:22:14.8072193-08:00",
  "tenantId": 1,
  "option": "sample string 4"
}

application/xml, text/xml

Sample:
<CBT_QuestionOptionVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel">
  <dateCreated>2024-11-24T08:22:14.8072193-08:00</dateCreated>
  <isCorrectAnswer>true</isCorrectAnswer>
  <option>sample string 4</option>
  <optionTypeId>1</optionTypeId>
  <questionBankId>1</questionBankId>
  <questionOption>sample string 2</questionOption>
  <questionOptionId>1</questionOptionId>
  <tenantId>1</tenantId>
</CBT_QuestionOptionVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.