POST api/Student/AddStudent

Request Information

URI Parameters

None.

Body Parameters

Student
NameDescriptionTypeAdditional information
Id

integer

None.

FirstName

string

None.

MiddleName

string

None.

LastName

string

None.

AdmissionDate

date

None.

MotherName

string

None.

FatherMobile

string

None.

MotherMobile

string

None.

GenderId

integer

None.

DOB

date

None.

Address

string

None.

BloodGroup

string

None.

Religion

string

None.

Email

string

None.

ClassId

integer

None.

Section

string

None.

AddmissionId

integer

None.

Mobile

string

None.

RollNO

integer

None.

Category

string

None.

Cast

string

None.

ShortBio

string

None.

Photo

string

None.

FatherOccupation

string

None.

CreatedBy

string

None.

CreatedDate

date

None.

UpdatedBy

string

None.

UpdatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "FirstName": "sample string 2",
  "MiddleName": "sample string 3",
  "LastName": "sample string 4",
  "AdmissionDate": "2024-12-01T08:11:18.171056+05:30",
  "MotherName": "sample string 6",
  "FatherMobile": "sample string 7",
  "MotherMobile": "sample string 8",
  "GenderId": 9,
  "DOB": "2024-12-01T08:11:18.171056+05:30",
  "Address": "sample string 11",
  "BloodGroup": "sample string 12",
  "Religion": "sample string 13",
  "Email": "sample string 14",
  "ClassId": 15,
  "Section": "sample string 16",
  "AddmissionId": 17,
  "Mobile": "sample string 18",
  "RollNO": 19,
  "Category": "sample string 20",
  "Cast": "sample string 21",
  "ShortBio": "sample string 22",
  "Photo": "sample string 23",
  "FatherOccupation": "sample string 24",
  "CreatedBy": "sample string 25",
  "CreatedDate": "2024-12-01T08:11:18.171056+05:30",
  "UpdatedBy": "sample string 27",
  "UpdatedDate": "2024-12-01T08:11:18.171056+05:30"
}

application/octet-stream

Sample:
{"$id":"1","Id":1,"FirstName":"sample string 2","MiddleName":"sample string 3","LastName":"sample string 4","AdmissionDate":"2024-12-01T08:11:18.171056+05:30","MotherName":"sample string 6","FatherMobile":"sample string 7","MotherMobile":"sample string 8","GenderId":9,"DOB":"2024-12-01T08:11:18.171056+05:30","Address":"sample string 11","BloodGroup":"sample string 12","Religion":"sample string 13","Email":"sample string 14","ClassId":15,"Section":"sample string 16","AddmissionId":17,"Mobile":"sample string 18","RollNO":19,"Category":"sample string 20","Cast":"sample string 21","ShortBio":"sample string 22","Photo":"sample string 23","FatherOccupation":"sample string 24","CreatedBy":"sample string 25","CreatedDate":"2024-12-01T08:11:18.171056+05:30","UpdatedBy":"sample string 27","UpdatedDate":"2024-12-01T08:11:18.171056+05:30"}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.