PUT api/Result/UpdateResult

Request Information

URI Parameters

None.

Body Parameters

Result
NameDescriptionTypeAdditional information
Id

integer

None.

ApplicationForm

ApplicationForm

None.

Exam

Exam

None.

Center

Center

None.

SubjectResult

Collection of SubjectResult

None.

SchoolName

string

None.

Etype

string

None.

Medium

string

None.

SeatNo

string

None.

CreatedBy

string

None.

CreatedDate

date

None.

UpdatedBy

string

None.

UpdatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ApplicationForm": {
    "$id": "2",
    "Id": 1,
    "AdmissionFormId": 2,
    "AdharCardNo": "sample string 3",
    "Name": "sample string 4",
    "FatherName": "sample string 5",
    "MotherName": "sample string 6",
    "Address": "sample string 7",
    "City": "sample string 8",
    "District": "sample string 9",
    "State": "sample string 10",
    "Pincode": "sample string 11",
    "Mobile": "sample string 12",
    "Email": "sample string 13",
    "DOB": "sample string 14",
    "Age": "sample string 15",
    "Category": "sample string 16",
    "Nationality": "sample string 17",
    "Sex": "sample string 18",
    "Fees": "sample string 19",
    "Center": {
      "$id": "3",
      "CenterId": 1,
      "CenterName": "sample string 2",
      "CreatedBy": "sample string 3",
      "CreatedDate": "2024-12-01T09:32:47.1788261+05:30",
      "UpdatedBy": "sample string 5",
      "UpdatedDate": "2024-12-01T09:32:47.1788261+05:30"
    },
    "Class": {
      "$id": "4",
      "ClassId": 1,
      "ClassName": "sample string 2",
      "Course": {
        "$id": "5",
        "CourseId": 1,
        "Name": "sample string 2",
        "Description": "sample string 3",
        "CourseType": "sample string 4",
        "Fees": "sample string 5",
        "CreatedBy": "sample string 6",
        "CreatedDate": "sample string 7",
        "UpdatedBy": "sample string 8",
        "UpdatedDate": "sample string 9"
      }
    },
    "Batch": {
      "$id": "6",
      "Id": 1,
      "Name": "sample string 2",
      "Time": "sample string 3",
      "CenterId": 4,
      "ClassId": 5,
      "CourseId": 6,
      "CourseName": "sample string 7",
      "ClassName": "sample string 8",
      "CenterName": "sample string 9",
      "CreatedBy": "sample string 10",
      "CreatedDate": "sample string 11",
      "UpdatedBy": "sample string 12",
      "UpdatedDate": "sample string 13"
    },
    "RollNo": "sample string 20",
    "CreatedBy": "sample string 21",
    "CreatedDate": "2024-12-01T09:32:47.1798263+05:30",
    "UpdatedBy": "sample string 23",
    "UpdatedDate": "2024-12-01T09:32:47.1798263+05:30",
    "Educations": [
      {
        "$id": "7",
        "StudentId": 1,
        "Examination": "sample string 2",
        "Board": "sample string 3",
        "Year": "sample string 4",
        "Marks": "sample string 5",
        "Subject": "sample string 6"
      },
      {
        "$ref": "7"
      }
    ]
  },
  "Exam": {
    "$id": "8",
    "Id": 1,
    "Class": {
      "$ref": "4"
    },
    "Subject": {
      "$id": "9",
      "Id": 1,
      "CourseId": 2,
      "ClassId": 3,
      "SectionId": 4,
      "Title": "sample string 5",
      "SubjectTypeId": 6,
      "SubjectType": "sample string 7",
      "Marks": "sample string 8",
      "SubjectCode": "sample string 9",
      "CreatedBy": "sample string 10",
      "CreatedDate": "2024-12-01T09:32:47.1798263+05:30",
      "UpdatedBy": "sample string 12",
      "UpdatedDate": "2024-12-01T09:32:47.1798263+05:30"
    },
    "Title": "sample string 2",
    "Time": "sample string 3",
    "Date": "sample string 4",
    "CreatedBy": "sample string 5"
  },
  "Center": {
    "$ref": "3"
  },
  "SubjectResult": [
    {
      "$id": "10",
      "ResultId": 1,
      "Subject": {
        "$ref": "9"
      },
      "TelDate": "sample string 2",
      "MaxMarks": 3,
      "ObtainMarks": 4
    },
    {
      "$ref": "10"
    }
  ],
  "SchoolName": "sample string 2",
  "Etype": "sample string 3",
  "Medium": "sample string 4",
  "SeatNo": "sample string 5",
  "CreatedBy": "sample string 6",
  "CreatedDate": "2024-12-01T09:32:47.1798263+05:30",
  "UpdatedBy": "sample string 8",
  "UpdatedDate": "2024-12-01T09:32:47.1798263+05:30"
}

application/octet-stream

Sample:
{"$id":"1","Id":1,"ApplicationForm":{"$id":"2","Id":1,"AdmissionFormId":2,"AdharCardNo":"sample string 3","Name":"sample string 4","FatherName":"sample string 5","MotherName":"sample string 6","Address":"sample string 7","City":"sample string 8","District":"sample string 9","State":"sample string 10","Pincode":"sample string 11","Mobile":"sample string 12","Email":"sample string 13","DOB":"sample string 14","Age":"sample string 15","Category":"sample string 16","Nationality":"sample string 17","Sex":"sample string 18","Fees":"sample string 19","Center":{"$id":"3","CenterId":1,"CenterName":"sample string 2","CreatedBy":"sample string 3","CreatedDate":"2024-12-01T09:32:47.1788261+05:30","UpdatedBy":"sample string 5","UpdatedDate":"2024-12-01T09:32:47.1788261+05:30"},"Class":{"$id":"4","ClassId":1,"ClassName":"sample string 2","Course":{"$id":"5","CourseId":1,"Name":"sample string 2","Description":"sample string 3","CourseType":"sample string 4","Fees":"sample string 5","CreatedBy":"sample string 6","CreatedDate":"sample string 7","UpdatedBy":"sample string 8","UpdatedDate":"sample string 9"}},"Batch":{"$id":"6","Id":1,"Name":"sample string 2","Time":"sample string 3","CenterId":4,"ClassId":5,"CourseId":6,"CourseName":"sample string 7","ClassName":"sample string 8","CenterName":"sample string 9","CreatedBy":"sample string 10","CreatedDate":"sample string 11","UpdatedBy":"sample string 12","UpdatedDate":"sample string 13"},"RollNo":"sample string 20","CreatedBy":"sample string 21","CreatedDate":"2024-12-01T09:32:47.1798263+05:30","UpdatedBy":"sample string 23","UpdatedDate":"2024-12-01T09:32:47.1798263+05:30","Educations":[{"$id":"7","StudentId":1,"Examination":"sample string 2","Board":"sample string 3","Year":"sample string 4","Marks":"sample string 5","Subject":"sample string 6"},{"$ref":"7"}]},"Exam":{"$id":"8","Id":1,"Class":{"$ref":"4"},"Subject":{"$id":"9","Id":1,"CourseId":2,"ClassId":3,"SectionId":4,"Title":"sample string 5","SubjectTypeId":6,"SubjectType":"sample string 7","Marks":"sample string 8","SubjectCode":"sample string 9","CreatedBy":"sample string 10","CreatedDate":"2024-12-01T09:32:47.1798263+05:30","UpdatedBy":"sample string 12","UpdatedDate":"2024-12-01T09:32:47.1798263+05:30"},"Title":"sample string 2","Time":"sample string 3","Date":"sample string 4","CreatedBy":"sample string 5"},"Center":{"$ref":"3"},"SubjectResult":[{"$id":"10","ResultId":1,"Subject":{"$ref":"9"},"TelDate":"sample string 2","MaxMarks":3,"ObtainMarks":4},{"$ref":"10"}],"SchoolName":"sample string 2","Etype":"sample string 3","Medium":"sample string 4","SeatNo":"sample string 5","CreatedBy":"sample string 6","CreatedDate":"2024-12-01T09:32:47.1798263+05:30","UpdatedBy":"sample string 8","UpdatedDate":"2024-12-01T09:32:47.1798263+05:30"}

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 'Result'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream

Sample:

Sample not available.