POST api/MockTest
Request Information
URI Parameters
None.
Body Parameters
MockTestName | Description | Type | Additional information |
---|---|---|---|
RecordNo | integer |
None. |
|
TestName | string |
None. |
|
Description | string |
None. |
|
SubTitle | string |
None. |
|
Guid | string |
Max length: 50 |
|
MockTypeFK | integer |
None. |
|
MockType | MockType |
None. |
|
TestTypeFk | integer |
None. |
|
TestType | TestType |
None. |
|
FreeMockTest | boolean |
None. |
|
TargetScore | decimal number |
None. |
|
Duration | integer |
None. |
|
PlanSortOrder | integer |
None. |
|
CreatedOn | date |
None. |
|
UpdatedOn | date |
None. |
|
IsDeleted | boolean |
None. |
|
LetterGuide | string |
None. |
|
SampleEssay | string |
None. |
|
Question | Collection of QuestionGroup |
None. |
Request Formats
application/json, text/json
Sample:
{ "RecordNo": 1, "TestName": "sample string 2", "Description": "sample string 3", "SubTitle": "sample string 4", "Guid": "sample string 5", "MockTypeFK": 6, "MockType": { "RecordNo": 1, "MockTypeName": "sample string 2", "UpdatedOn": "2024-12-23T00:03:26.201702+00:00", "IsDeleted": true }, "TestTypeFk": 7, "TestType": { "RecordNo": 1, "TestTypeName": "sample string 2", "SortOrder": 3, "IsStudent": true, "ProjectFK": 1, "Projects": { "RecordNo": 1, "ProjectName": "sample string 2", "UpdatedOn": "2024-12-23T00:03:26.201702+00:00", "IsDeleted": true, "TestTypes": [] }, "UpdatedOn": "2024-12-23T00:03:26.201702+00:00", "IsDeleted": true }, "FreeMockTest": true, "TargetScore": 9.0, "Duration": 10, "PlanSortOrder": 11, "CreatedOn": "2024-12-23T00:03:26.201702+00:00", "UpdatedOn": "2024-12-23T00:03:26.201702+00:00", "IsDeleted": true, "LetterGuide": "sample string 14", "SampleEssay": "sample string 15", "Question": [ { "RecordNo": 1, "GroupName": "sample string 2", "ParentFK": 1, "SubGroup": [], "MockTestFK": 1, "Description": "sample string 3", "IsNameVisible": true, "IsDescriptionVisible": true, "CreatedOn": "2024-12-23T00:03:26.201702+00:00", "UpdatedOn": "2024-12-23T00:03:26.201702+00:00", "IsDeleted": true, "MockTestQuestion": [ { "RecordNo": 1, "SortOrder": 1, "QuestionFk": 2, "Question": { "RecordNo": 1, "QuestionName": "sample string 2", "MockTestFK": 1, "QuestionTypeFk": 4, "QuestionType": { "RecordNo": 1, "QuestionTypeName": "sample string 2", "CreatedOn": "2024-12-23T00:03:26.201702+00:00", "UpdatedOn": "2024-12-23T00:03:26.201702+00:00", "IsDeleted": true }, "Explanation": "sample string 5", "CreatedOn": "2024-12-23T00:03:26.201702+00:00", "UpdatedOn": "2024-12-23T00:03:26.201702+00:00", "IsDeleted": true, "QuestionOption": [ { "RecordNo": 1, "OptionName": "sample string 2", "Discription": "sample string 3", "IsNameVisible": true, "IsDiscriptionVisible": true, "QuestionFK": 6, "CreatedOn": "2024-12-23T00:03:26.201702+00:00", "UpdatedOn": "2024-12-23T00:03:26.201702+00:00", "IsDeleted": true }, { "RecordNo": 1, "OptionName": "sample string 2", "Discription": "sample string 3", "IsNameVisible": true, "IsDiscriptionVisible": true, "QuestionFK": 6, "CreatedOn": "2024-12-23T00:03:26.201702+00:00", "UpdatedOn": "2024-12-23T00:03:26.201702+00:00", "IsDeleted": true } ], "DropDownName": "1-sample string 2", "SampleEssay": "sample string 8", "LetterGuide": "sample string 9" }, "QuestionGroupFK": 3, "CreatedOn": "2024-12-23T00:03:26.201702+00:00", "UpdatedOn": "2024-12-23T00:03:26.201702+00:00", "IsDeleted": true }, { "RecordNo": 1, "SortOrder": 1, "QuestionFk": 2, "Question": { "RecordNo": 1, "QuestionName": "sample string 2", "MockTestFK": 1, "QuestionTypeFk": 4, "QuestionType": { "RecordNo": 1, "QuestionTypeName": "sample string 2", "CreatedOn": "2024-12-23T00:03:26.201702+00:00", "UpdatedOn": "2024-12-23T00:03:26.201702+00:00", "IsDeleted": true }, "Explanation": "sample string 5", "CreatedOn": "2024-12-23T00:03:26.201702+00:00", "UpdatedOn": "2024-12-23T00:03:26.201702+00:00", "IsDeleted": true, "QuestionOption": [ { "RecordNo": 1, "OptionName": "sample string 2", "Discription": "sample string 3", "IsNameVisible": true, "IsDiscriptionVisible": true, "QuestionFK": 6, "CreatedOn": "2024-12-23T00:03:26.201702+00:00", "UpdatedOn": "2024-12-23T00:03:26.201702+00:00", "IsDeleted": true }, { "RecordNo": 1, "OptionName": "sample string 2", "Discription": "sample string 3", "IsNameVisible": true, "IsDiscriptionVisible": true, "QuestionFK": 6, "CreatedOn": "2024-12-23T00:03:26.201702+00:00", "UpdatedOn": "2024-12-23T00:03:26.201702+00:00", "IsDeleted": true } ], "DropDownName": "1-sample string 2", "SampleEssay": "sample string 8", "LetterGuide": "sample string 9" }, "QuestionGroupFK": 3, "CreatedOn": "2024-12-23T00:03:26.201702+00:00", "UpdatedOn": "2024-12-23T00:03:26.201702+00:00", "IsDeleted": true } ], "DropDownName": "1-sample string 2" }, { "RecordNo": 1, "GroupName": "sample string 2", "ParentFK": 1, "SubGroup": [], "MockTestFK": 1, "Description": "sample string 3", "IsNameVisible": true, "IsDescriptionVisible": true, "CreatedOn": "2024-12-23T00:03:26.201702+00:00", "UpdatedOn": "2024-12-23T00:03:26.201702+00:00", "IsDeleted": true, "MockTestQuestion": [ { "RecordNo": 1, "SortOrder": 1, "QuestionFk": 2, "Question": { "RecordNo": 1, "QuestionName": "sample string 2", "MockTestFK": 1, "QuestionTypeFk": 4, "QuestionType": { "RecordNo": 1, "QuestionTypeName": "sample string 2", "CreatedOn": "2024-12-23T00:03:26.201702+00:00", "UpdatedOn": "2024-12-23T00:03:26.201702+00:00", "IsDeleted": true }, "Explanation": "sample string 5", "CreatedOn": "2024-12-23T00:03:26.201702+00:00", "UpdatedOn": "2024-12-23T00:03:26.201702+00:00", "IsDeleted": true, "QuestionOption": [ { "RecordNo": 1, "OptionName": "sample string 2", "Discription": "sample string 3", "IsNameVisible": true, "IsDiscriptionVisible": true, "QuestionFK": 6, "CreatedOn": "2024-12-23T00:03:26.201702+00:00", "UpdatedOn": "2024-12-23T00:03:26.201702+00:00", "IsDeleted": true }, { "RecordNo": 1, "OptionName": "sample string 2", "Discription": "sample string 3", "IsNameVisible": true, "IsDiscriptionVisible": true, "QuestionFK": 6, "CreatedOn": "2024-12-23T00:03:26.201702+00:00", "UpdatedOn": "2024-12-23T00:03:26.201702+00:00", "IsDeleted": true } ], "DropDownName": "1-sample string 2", "SampleEssay": "sample string 8", "LetterGuide": "sample string 9" }, "QuestionGroupFK": 3, "CreatedOn": "2024-12-23T00:03:26.201702+00:00", "UpdatedOn": "2024-12-23T00:03:26.201702+00:00", "IsDeleted": true }, { "RecordNo": 1, "SortOrder": 1, "QuestionFk": 2, "Question": { "RecordNo": 1, "QuestionName": "sample string 2", "MockTestFK": 1, "QuestionTypeFk": 4, "QuestionType": { "RecordNo": 1, "QuestionTypeName": "sample string 2", "CreatedOn": "2024-12-23T00:03:26.201702+00:00", "UpdatedOn": "2024-12-23T00:03:26.201702+00:00", "IsDeleted": true }, "Explanation": "sample string 5", "CreatedOn": "2024-12-23T00:03:26.201702+00:00", "UpdatedOn": "2024-12-23T00:03:26.201702+00:00", "IsDeleted": true, "QuestionOption": [ { "RecordNo": 1, "OptionName": "sample string 2", "Discription": "sample string 3", "IsNameVisible": true, "IsDiscriptionVisible": true, "QuestionFK": 6, "CreatedOn": "2024-12-23T00:03:26.201702+00:00", "UpdatedOn": "2024-12-23T00:03:26.201702+00:00", "IsDeleted": true }, { "RecordNo": 1, "OptionName": "sample string 2", "Discription": "sample string 3", "IsNameVisible": true, "IsDiscriptionVisible": true, "QuestionFK": 6, "CreatedOn": "2024-12-23T00:03:26.201702+00:00", "UpdatedOn": "2024-12-23T00:03:26.201702+00:00", "IsDeleted": true } ], "DropDownName": "1-sample string 2", "SampleEssay": "sample string 8", "LetterGuide": "sample string 9" }, "QuestionGroupFK": 3, "CreatedOn": "2024-12-23T00:03:26.201702+00:00", "UpdatedOn": "2024-12-23T00:03:26.201702+00:00", "IsDeleted": true } ], "DropDownName": "1-sample string 2" } ] }
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.