POST api/SscCertificate/AddSscCertificate

Request Information

URI Parameters

None.

Body Parameters

SscCertificate
NameDescriptionTypeAdditional information
Id

integer

None.

HallTicket

HallTicket

None.

Date

string

None.

MarksList

Collection of MarksList

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "HallTicket": {
    "$id": "2",
    "Id": 1,
    "ApplicationForm": {
      "$id": "3",
      "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": "4",
        "CenterId": 1,
        "CenterName": "sample string 2",
        "CreatedBy": "sample string 3",
        "CreatedDate": "2024-12-01T09:29:04.3899111+05:30",
        "UpdatedBy": "sample string 5",
        "UpdatedDate": "2024-12-01T09:29:04.3899111+05:30"
      },
      "Class": {
        "$id": "5",
        "ClassId": 1,
        "ClassName": "sample string 2",
        "Course": {
          "$id": "6",
          "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": "7",
        "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:29:04.3899111+05:30",
      "UpdatedBy": "sample string 23",
      "UpdatedDate": "2024-12-01T09:29:04.3899111+05:30",
      "Educations": [
        {
          "$id": "8",
          "StudentId": 1,
          "Examination": "sample string 2",
          "Board": "sample string 3",
          "Year": "sample string 4",
          "Marks": "sample string 5",
          "Subject": "sample string 6"
        },
        {
          "$ref": "8"
        }
      ]
    },
    "Exam": {
      "$id": "9",
      "Id": 1,
      "Class": {
        "$ref": "5"
      },
      "Subject": {
        "$id": "10",
        "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:29:04.3899111+05:30",
        "UpdatedBy": "sample string 12",
        "UpdatedDate": "2024-12-01T09:29:04.3899111+05:30"
      },
      "Title": "sample string 2",
      "Time": "sample string 3",
      "Date": "sample string 4",
      "CreatedBy": "sample string 5"
    },
    "Center": {
      "$ref": "4"
    },
    "ExamDates": [
      {
        "$id": "11",
        "Id": 1,
        "HallTicketId": 2,
        "Subject": {
          "$ref": "10"
        },
        "TelDate": "sample string 3",
        "MaxMarks": 4,
        "ObtainMarks": 5
      },
      {
        "$ref": "11"
      }
    ],
    "SchoolName": "sample string 2",
    "Etype": "sample string 3",
    "Medium": "sample string 4",
    "SeatNo": "sample string 5",
    "CreatedBy": "sample string 6",
    "CreatedDate": "2024-12-01T09:29:04.3899111+05:30",
    "UpdatedBy": "sample string 8",
    "UpdatedDate": "2024-12-01T09:29:04.3899111+05:30",
    "MaxMarks": 10,
    "ObtainMarks": 11,
    "EnrollNo": "sample string 12",
    "RollNo": "sample string 13",
    "Photo": "sample string 14"
  },
  "Date": "sample string 2",
  "MarksList": [
    {
      "$id": "12",
      "Id": 1,
      "SscId": 2,
      "Subject": {
        "$ref": "10"
      },
      "ObtainMarks": 3,
      "MaxMarks": 4
    },
    {
      "$ref": "12"
    }
  ]
}

application/octet-stream

Sample:
{"$id":"1","Id":1,"HallTicket":{"$id":"2","Id":1,"ApplicationForm":{"$id":"3","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":"4","CenterId":1,"CenterName":"sample string 2","CreatedBy":"sample string 3","CreatedDate":"2024-12-01T09:29:04.3899111+05:30","UpdatedBy":"sample string 5","UpdatedDate":"2024-12-01T09:29:04.3899111+05:30"},"Class":{"$id":"5","ClassId":1,"ClassName":"sample string 2","Course":{"$id":"6","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":"7","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:29:04.3899111+05:30","UpdatedBy":"sample string 23","UpdatedDate":"2024-12-01T09:29:04.3899111+05:30","Educations":[{"$id":"8","StudentId":1,"Examination":"sample string 2","Board":"sample string 3","Year":"sample string 4","Marks":"sample string 5","Subject":"sample string 6"},{"$ref":"8"}]},"Exam":{"$id":"9","Id":1,"Class":{"$ref":"5"},"Subject":{"$id":"10","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:29:04.3899111+05:30","UpdatedBy":"sample string 12","UpdatedDate":"2024-12-01T09:29:04.3899111+05:30"},"Title":"sample string 2","Time":"sample string 3","Date":"sample string 4","CreatedBy":"sample string 5"},"Center":{"$ref":"4"},"ExamDates":[{"$id":"11","Id":1,"HallTicketId":2,"Subject":{"$ref":"10"},"TelDate":"sample string 3","MaxMarks":4,"ObtainMarks":5},{"$ref":"11"}],"SchoolName":"sample string 2","Etype":"sample string 3","Medium":"sample string 4","SeatNo":"sample string 5","CreatedBy":"sample string 6","CreatedDate":"2024-12-01T09:29:04.3899111+05:30","UpdatedBy":"sample string 8","UpdatedDate":"2024-12-01T09:29:04.3899111+05:30","MaxMarks":10,"ObtainMarks":11,"EnrollNo":"sample string 12","RollNo":"sample string 13","Photo":"sample string 14"},"Date":"sample string 2","MarksList":[{"$id":"12","Id":1,"SscId":2,"Subject":{"$ref":"10"},"ObtainMarks":3,"MaxMarks":4},{"$ref":"12"}]}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.