POST api/Marker/EditCorrection

Request Information

URI Parameters

None.

Body Parameters

MockTestResultProcessingDetailCorrection
NameDescriptionTypeAdditional information
RecordNo

integer

None.

MockTestResultProcessingFK

integer

None.

MockTestResultProcessing

MockTestResultProcessing

None.

MockTestResultDetailFK

integer

None.

Selection

string

None.

Correction

string

None.

Explanation

string

None.

LineNumber

integer

None.

StrPosition

integer

None.

IsCorrection

boolean

None.

PostDate

date

None.

CreatedOn

date

None.

UpdatedOn

date

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordNo": 1,
  "MockTestResultProcessingFK": 2,
  "MockTestResultProcessing": {
    "RecordNo": 1,
    "MockTestResultFK": 2,
    "MockTestResult": {
      "RecordNo": 1,
      "StudentFk": 2,
      "MockTestFk": 3,
      "MockTest": {
        "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": "2021-08-03T14:57:28.8132996+00:00",
          "IsDeleted": true
        },
        "TestTypeFk": 7,
        "TestType": {
          "RecordNo": 1,
          "TestTypeName": "sample string 2",
          "SortOrder": 3,
          "IsStudent": true,
          "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
          "IsDeleted": true
        },
        "FreeMockTest": true,
        "TargetScore": 9.0,
        "Duration": 10,
        "PlanSortOrder": 11,
        "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
        "UpdatedOn": "2021-08-03T14:57:28.8132996+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": "2021-08-03T14:57:28.8132996+00:00",
            "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
            "IsDeleted": true,
            "MockTestQuestion": [
              {
                "RecordNo": 1,
                "SortOrder": 1,
                "QuestionFk": 2,
                "Question": {
                  "RecordNo": 1,
                  "QuestionName": "sample string 2",
                  "MockTestFK": 1,
                  "QuestionTypeFk": 4,
                  "Explanation": "sample string 5",
                  "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
                  "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
                  "IsDeleted": true,
                  "QuestionOption": [
                    {
                      "RecordNo": 1,
                      "OptionName": "sample string 2",
                      "Discription": "sample string 3",
                      "IsNameVisible": true,
                      "IsDiscriptionVisible": true,
                      "QuestionFK": 6,
                      "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
                      "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
                      "IsDeleted": true
                    },
                    {
                      "RecordNo": 1,
                      "OptionName": "sample string 2",
                      "Discription": "sample string 3",
                      "IsNameVisible": true,
                      "IsDiscriptionVisible": true,
                      "QuestionFK": 6,
                      "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
                      "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
                      "IsDeleted": true
                    }
                  ],
                  "DropDownName": "1-sample string 2",
                  "SampleEssay": "sample string 8",
                  "LetterGuide": "sample string 9"
                },
                "QuestionGroupFK": 3,
                "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
                "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
                "IsDeleted": true
              },
              {
                "RecordNo": 1,
                "SortOrder": 1,
                "QuestionFk": 2,
                "Question": {
                  "RecordNo": 1,
                  "QuestionName": "sample string 2",
                  "MockTestFK": 1,
                  "QuestionTypeFk": 4,
                  "Explanation": "sample string 5",
                  "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
                  "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
                  "IsDeleted": true,
                  "QuestionOption": [
                    {
                      "RecordNo": 1,
                      "OptionName": "sample string 2",
                      "Discription": "sample string 3",
                      "IsNameVisible": true,
                      "IsDiscriptionVisible": true,
                      "QuestionFK": 6,
                      "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
                      "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
                      "IsDeleted": true
                    },
                    {
                      "RecordNo": 1,
                      "OptionName": "sample string 2",
                      "Discription": "sample string 3",
                      "IsNameVisible": true,
                      "IsDiscriptionVisible": true,
                      "QuestionFK": 6,
                      "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
                      "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
                      "IsDeleted": true
                    }
                  ],
                  "DropDownName": "1-sample string 2",
                  "SampleEssay": "sample string 8",
                  "LetterGuide": "sample string 9"
                },
                "QuestionGroupFK": 3,
                "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
                "UpdatedOn": "2021-08-03T14:57:28.8132996+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": "2021-08-03T14:57:28.8132996+00:00",
            "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
            "IsDeleted": true,
            "MockTestQuestion": [
              {
                "RecordNo": 1,
                "SortOrder": 1,
                "QuestionFk": 2,
                "Question": {
                  "RecordNo": 1,
                  "QuestionName": "sample string 2",
                  "MockTestFK": 1,
                  "QuestionTypeFk": 4,
                  "Explanation": "sample string 5",
                  "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
                  "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
                  "IsDeleted": true,
                  "QuestionOption": [
                    {
                      "RecordNo": 1,
                      "OptionName": "sample string 2",
                      "Discription": "sample string 3",
                      "IsNameVisible": true,
                      "IsDiscriptionVisible": true,
                      "QuestionFK": 6,
                      "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
                      "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
                      "IsDeleted": true
                    },
                    {
                      "RecordNo": 1,
                      "OptionName": "sample string 2",
                      "Discription": "sample string 3",
                      "IsNameVisible": true,
                      "IsDiscriptionVisible": true,
                      "QuestionFK": 6,
                      "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
                      "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
                      "IsDeleted": true
                    }
                  ],
                  "DropDownName": "1-sample string 2",
                  "SampleEssay": "sample string 8",
                  "LetterGuide": "sample string 9"
                },
                "QuestionGroupFK": 3,
                "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
                "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
                "IsDeleted": true
              },
              {
                "RecordNo": 1,
                "SortOrder": 1,
                "QuestionFk": 2,
                "Question": {
                  "RecordNo": 1,
                  "QuestionName": "sample string 2",
                  "MockTestFK": 1,
                  "QuestionTypeFk": 4,
                  "Explanation": "sample string 5",
                  "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
                  "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
                  "IsDeleted": true,
                  "QuestionOption": [
                    {
                      "RecordNo": 1,
                      "OptionName": "sample string 2",
                      "Discription": "sample string 3",
                      "IsNameVisible": true,
                      "IsDiscriptionVisible": true,
                      "QuestionFK": 6,
                      "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
                      "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
                      "IsDeleted": true
                    },
                    {
                      "RecordNo": 1,
                      "OptionName": "sample string 2",
                      "Discription": "sample string 3",
                      "IsNameVisible": true,
                      "IsDiscriptionVisible": true,
                      "QuestionFK": 6,
                      "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
                      "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
                      "IsDeleted": true
                    }
                  ],
                  "DropDownName": "1-sample string 2",
                  "SampleEssay": "sample string 8",
                  "LetterGuide": "sample string 9"
                },
                "QuestionGroupFK": 3,
                "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
                "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
                "IsDeleted": true
              }
            ],
            "DropDownName": "1-sample string 2"
          }
        ]
      },
      "QuestionAttempt": 1,
      "CorrectAnswer": 1,
      "TotalQuestion": 1,
      "Accuracy": 1.0,
      "TotalTimeSpent": 1,
      "TotalTimeSpent2": "sample string 4",
      "StartTime": "2021-08-03T14:57:28.8132996+00:00",
      "EndTime": "2021-08-03T14:57:28.8132996+00:00",
      "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
      "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
      "IsDeleted": true,
      "AchievedBandScore": 1.0,
      "IsRejected": true,
      "RejectedBy": 9,
      "RejectedOn": "2021-08-03T14:57:28.8132996+00:00",
      "Duration": 10,
      "WritingType": "sample string 11",
      "ScheduleTestFK": 1,
      "MockTestProcessingSortOrder": 1,
      "WritingTypeFK": 1,
      "MockTestResultDetail": [
        {
          "RecordNo": 1,
          "MockTestResultFK": 2,
          "SortOrder": 3,
          "QuestionFk": 4,
          "Question": {
            "RecordNo": 1,
            "QuestionName": "sample string 2",
            "MockTestFK": 1,
            "QuestionTypeFk": 4,
            "Explanation": "sample string 5",
            "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
            "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
            "IsDeleted": true,
            "QuestionOption": [
              {
                "RecordNo": 1,
                "OptionName": "sample string 2",
                "Discription": "sample string 3",
                "IsNameVisible": true,
                "IsDiscriptionVisible": true,
                "QuestionFK": 6,
                "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
                "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
                "IsDeleted": true
              },
              {
                "RecordNo": 1,
                "OptionName": "sample string 2",
                "Discription": "sample string 3",
                "IsNameVisible": true,
                "IsDiscriptionVisible": true,
                "QuestionFK": 6,
                "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
                "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
                "IsDeleted": true
              }
            ],
            "DropDownName": "1-sample string 2",
            "SampleEssay": "sample string 8",
            "LetterGuide": "sample string 9"
          },
          "GivenAnswer": "sample string 5",
          "CorrectAnswer": "sample string 6",
          "Status": true,
          "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
          "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
          "IsDeleted": true,
          "IsRejected": true,
          "RejectedBy": 11,
          "RejectedOn": "2021-08-03T14:57:28.8132996+00:00",
          "RejectedReason": "sample string 12",
          "WordCount": 13
        },
        {
          "RecordNo": 1,
          "MockTestResultFK": 2,
          "SortOrder": 3,
          "QuestionFk": 4,
          "Question": {
            "RecordNo": 1,
            "QuestionName": "sample string 2",
            "MockTestFK": 1,
            "QuestionTypeFk": 4,
            "Explanation": "sample string 5",
            "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
            "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
            "IsDeleted": true,
            "QuestionOption": [
              {
                "RecordNo": 1,
                "OptionName": "sample string 2",
                "Discription": "sample string 3",
                "IsNameVisible": true,
                "IsDiscriptionVisible": true,
                "QuestionFK": 6,
                "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
                "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
                "IsDeleted": true
              },
              {
                "RecordNo": 1,
                "OptionName": "sample string 2",
                "Discription": "sample string 3",
                "IsNameVisible": true,
                "IsDiscriptionVisible": true,
                "QuestionFK": 6,
                "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
                "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
                "IsDeleted": true
              }
            ],
            "DropDownName": "1-sample string 2",
            "SampleEssay": "sample string 8",
            "LetterGuide": "sample string 9"
          },
          "GivenAnswer": "sample string 5",
          "CorrectAnswer": "sample string 6",
          "Status": true,
          "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
          "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
          "IsDeleted": true,
          "IsRejected": true,
          "RejectedBy": 11,
          "RejectedOn": "2021-08-03T14:57:28.8132996+00:00",
          "RejectedReason": "sample string 12",
          "WordCount": 13
        }
      ]
    },
    "TestTypeprocessingActionFK": 3,
    "TestTypeprocessingAction": {
      "RecordNo": 1,
      "ProcessingActionFK": 2,
      "TestTypeFK": 3,
      "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
      "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
      "IsDeleted": true,
      "SortOrder": 6
    },
    "AcceptTime": "2021-08-03T14:57:28.8132996+00:00",
    "AcceptedBy": 5,
    "IsDecline": true,
    "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
    "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
    "IsDeleted": true,
    "IsCompleted": true,
    "CompletedTime": "2021-08-03T14:57:28.8132996+00:00",
    "Rating": 1.0,
    "RatedBy": 1,
    "RatingTime": "2021-08-03T14:57:28.8132996+00:00"
  },
  "MockTestResultDetailFK": 3,
  "Selection": "sample string 4",
  "Correction": "sample string 5",
  "Explanation": "sample string 6",
  "LineNumber": 7,
  "StrPosition": 8,
  "IsCorrection": true,
  "PostDate": "2021-08-03T14:57:28.8132996+00:00",
  "CreatedOn": "2021-08-03T14:57:28.8132996+00:00",
  "UpdatedOn": "2021-08-03T14:57:28.8132996+00:00",
  "IsDeleted": true
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'TrishAcademy.Models.QuestionGroup' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'TrishAcademy.Models.QuestionGroup' contains cycles and cannot be serialized if reference tracking is disabled.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MockTestResultProcessingDetailCorrection'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.