POST api/Question
Request Information
URI Parameters
None.
Body Parameters
QuestionName | Description | Type | Additional information |
---|---|---|---|
RecordNo | integer |
None. |
|
QuestionName | string |
None. |
|
MockTestFK | integer |
None. |
|
QuestionTypeFk | integer |
None. |
|
QuestionType | QuestionType |
None. |
|
Explanation | string |
None. |
|
CreatedOn | date |
None. |
|
UpdatedOn | date |
None. |
|
IsDeleted | boolean |
None. |
|
QuestionOption | Collection of QuestionOption |
None. |
|
DropDownName | string |
None. |
|
SampleEssay | string |
None. |
|
LetterGuide | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "RecordNo": 1, "QuestionName": "sample string 2", "MockTestFK": 1, "QuestionTypeFk": 4, "QuestionType": { "RecordNo": 1, "QuestionTypeName": "sample string 2", "CreatedOn": "2024-12-22T23:47:14.1457134+00:00", "UpdatedOn": "2024-12-22T23:47:14.1457134+00:00", "IsDeleted": true }, "Explanation": "sample string 5", "CreatedOn": "2024-12-22T23:47:14.1457134+00:00", "UpdatedOn": "2024-12-22T23:47:14.1457134+00:00", "IsDeleted": true, "QuestionOption": [ { "RecordNo": 1, "OptionName": "sample string 2", "Discription": "sample string 3", "IsNameVisible": true, "IsDiscriptionVisible": true, "QuestionFK": 6, "CreatedOn": "2024-12-22T23:47:14.1457134+00:00", "UpdatedOn": "2024-12-22T23:47:14.1457134+00:00", "IsDeleted": true }, { "RecordNo": 1, "OptionName": "sample string 2", "Discription": "sample string 3", "IsNameVisible": true, "IsDiscriptionVisible": true, "QuestionFK": 6, "CreatedOn": "2024-12-22T23:47:14.1457134+00:00", "UpdatedOn": "2024-12-22T23:47:14.1457134+00:00", "IsDeleted": true } ], "DropDownName": "1-sample string 2", "SampleEssay": "sample string 8", "LetterGuide": "sample string 9" }
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.