POST api/StudentInfo/SubmitForm

Request Information

URI Parameters

None.

Body Parameters

StudentForm
NameDescriptionTypeAdditional information
Id

integer

None.

Aadhar

string

None.

CourseName

string

None.

RollNo

string

None.

Name

string

None.

FatherName

string

None.

MotherName

string

None.

Address

string

None.

City

string

None.

District

string

None.

State

string

None.

PinCode

string

None.

STDCode

string

None.

Telephone

string

None.

Mobile

string

None.

Email

string

None.

DOB

string

None.

Years

string

None.

Month

string

None.

Days

string

None.

Category

string

None.

Nationality

string

None.

Sex

string

None.

Fees

string

None.

Class

Class

None.

Center

Center

None.

Batch

Batch

None.

Exam1

string

None.

Board1

string

None.

Year1

string

None.

Perc1

string

None.

Sub1

string

None.

Exam2

string

None.

Board2

string

None.

Year2

string

None.

Perc2

string

None.

Sub2

string

None.

Exam3

string

None.

Board3

string

None.

Year3

string

None.

Perc3

string

None.

Sub3

string

None.

EducationDetails

Collection of Education

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Aadhar": "sample string 2",
  "CourseName": "sample string 3",
  "RollNo": "sample string 4",
  "Name": "sample string 5",
  "FatherName": "sample string 6",
  "MotherName": "sample string 7",
  "Address": "sample string 8",
  "City": "sample string 9",
  "District": "sample string 10",
  "State": "sample string 11",
  "PinCode": "sample string 12",
  "STDCode": "sample string 13",
  "Telephone": "sample string 14",
  "Mobile": "sample string 15",
  "Email": "sample string 16",
  "DOB": "sample string 17",
  "Years": "sample string 18",
  "Month": "sample string 19",
  "Days": "sample string 20",
  "Category": "sample string 21",
  "Nationality": "sample string 22",
  "Sex": "sample string 23",
  "Fees": "sample string 24",
  "Class": {
    "$id": "2",
    "ClassId": 1,
    "ClassName": "sample string 2",
    "Course": {
      "$id": "3",
      "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"
    }
  },
  "Center": {
    "$id": "4",
    "CenterId": 1,
    "CenterName": "sample string 2",
    "CreatedBy": "sample string 3",
    "CreatedDate": "2024-12-01T09:20:01.1632014+05:30",
    "UpdatedBy": "sample string 5",
    "UpdatedDate": "2024-12-01T09:20:01.1632014+05:30"
  },
  "Batch": {
    "$id": "5",
    "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"
  },
  "Exam1": "sample string 25",
  "Board1": "sample string 26",
  "Year1": "sample string 27",
  "Perc1": "sample string 28",
  "Sub1": "sample string 29",
  "Exam2": "sample string 30",
  "Board2": "sample string 31",
  "Year2": "sample string 32",
  "Perc2": "sample string 33",
  "Sub2": "sample string 34",
  "Exam3": "sample string 35",
  "Board3": "sample string 36",
  "Year3": "sample string 37",
  "Perc3": "sample string 38",
  "Sub3": "sample string 39",
  "EducationDetails": [
    {
      "$id": "6",
      "StudentId": 1,
      "Examination": "sample string 2",
      "Board": "sample string 3",
      "Year": "sample string 4",
      "Marks": "sample string 5",
      "Subject": "sample string 6"
    },
    {
      "$ref": "6"
    }
  ]
}

application/octet-stream

Sample:
{"$id":"1","Id":1,"Aadhar":"sample string 2","CourseName":"sample string 3","RollNo":"sample string 4","Name":"sample string 5","FatherName":"sample string 6","MotherName":"sample string 7","Address":"sample string 8","City":"sample string 9","District":"sample string 10","State":"sample string 11","PinCode":"sample string 12","STDCode":"sample string 13","Telephone":"sample string 14","Mobile":"sample string 15","Email":"sample string 16","DOB":"sample string 17","Years":"sample string 18","Month":"sample string 19","Days":"sample string 20","Category":"sample string 21","Nationality":"sample string 22","Sex":"sample string 23","Fees":"sample string 24","Class":{"$id":"2","ClassId":1,"ClassName":"sample string 2","Course":{"$id":"3","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"}},"Center":{"$id":"4","CenterId":1,"CenterName":"sample string 2","CreatedBy":"sample string 3","CreatedDate":"2024-12-01T09:20:01.1632014+05:30","UpdatedBy":"sample string 5","UpdatedDate":"2024-12-01T09:20:01.1632014+05:30"},"Batch":{"$id":"5","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"},"Exam1":"sample string 25","Board1":"sample string 26","Year1":"sample string 27","Perc1":"sample string 28","Sub1":"sample string 29","Exam2":"sample string 30","Board2":"sample string 31","Year2":"sample string 32","Perc2":"sample string 33","Sub2":"sample string 34","Exam3":"sample string 35","Board3":"sample string 36","Year3":"sample string 37","Perc3":"sample string 38","Sub3":"sample string 39","EducationDetails":[{"$id":"6","StudentId":1,"Examination":"sample string 2","Board":"sample string 3","Year":"sample string 4","Marks":"sample string 5","Subject":"sample string 6"},{"$ref":"6"}]}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.