PUT api/v1/cBT_QuestionBank/{questionBankId}/questionBankId
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
questionBankId | integer |
Required |
Body Parameters
CBT_QuestionBankVMName | Description | Type | Additional information |
---|---|---|---|
questionBankId | integer |
None. |
|
questionCode | string |
None. |
|
optionTypeId | integer |
None. |
|
question | string |
None. |
|
subjectId | integer |
None. |
|
subjectCode | string |
None. |
|
dateCreated | date |
None. |
|
createdBy | integer |
None. |
|
tenantId | integer |
None. |
|
questionCategoryId | integer |
None. |
|
options | Collection of CBT_QuestionOptionVM |
None. |
|
subjectName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "questionBankId": 1, "questionCode": "sample string 2", "optionTypeId": 1, "question": "sample string 3", "subjectId": 1, "subjectCode": "sample string 4", "dateCreated": "2024-11-24T08:30:05.6455755-08:00", "createdBy": 1, "tenantId": 1, "questionCategoryId": 1, "options": [ { "questionOptionId": 1, "questionBankId": 1, "optionTypeId": 1, "questionOption": "sample string 2", "isCorrectAnswer": true, "dateCreated": "2024-11-24T08:30:05.6455755-08:00", "tenantId": 1, "option": "sample string 4" }, { "questionOptionId": 1, "questionBankId": 1, "optionTypeId": 1, "questionOption": "sample string 2", "isCorrectAnswer": true, "dateCreated": "2024-11-24T08:30:05.6455755-08:00", "tenantId": 1, "option": "sample string 4" } ], "subjectName": "sample string 5" }
application/xml, text/xml
Sample:
<CBT_QuestionBankVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel"> <createdBy>1</createdBy> <dateCreated>2024-11-24T08:30:05.6455755-08:00</dateCreated> <optionTypeId>1</optionTypeId> <options> <CBT_QuestionOptionVM> <dateCreated>2024-11-24T08:30:05.6455755-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> <CBT_QuestionOptionVM> <dateCreated>2024-11-24T08:30:05.6455755-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> </options> <question>sample string 3</question> <questionBankId>1</questionBankId> <questionCategoryId>1</questionCategoryId> <questionCode>sample string 2</questionCode> <subjectCode>sample string 4</subjectCode> <subjectId>1</subjectId> <subjectName>sample string 5</subjectName> <tenantId>1</tenantId> </CBT_QuestionBankVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.