GET api/Teacher/GetAllTeacher

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Teacher
NameDescriptionTypeAdditional information
Id

integer

None.

RoleId

integer

None.

FirstName

string

None.

MiddleName

string

None.

LastName

string

None.

MotherName

string

None.

DOB

string

None.

Gender

string

None.

IdNo

integer

None.

BloodGroup

string

None.

Religion

string

None.

Cast

string

None.

Category

string

None.

Email

string

None.

ClassId

integer

None.

Section

string

None.

Address

string

None.

JoiningDate

string

None.

Mobile

string

None.

ShortBio

string

None.

Photo

string

None.

CreatedBy

string

None.

CreatedDate

date

None.

UpdatedBy

string

None.

UpdatedDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": 1,
    "RoleId": 2,
    "FirstName": "sample string 3",
    "MiddleName": "sample string 4",
    "LastName": "sample string 5",
    "MotherName": "sample string 6",
    "DOB": "sample string 7",
    "Gender": "sample string 8",
    "IdNo": 9,
    "BloodGroup": "sample string 10",
    "Religion": "sample string 11",
    "Cast": "sample string 12",
    "Category": "sample string 13",
    "Email": "sample string 14",
    "ClassId": 15,
    "Section": "sample string 16",
    "Address": "sample string 17",
    "JoiningDate": "sample string 18",
    "Mobile": "sample string 19",
    "ShortBio": "sample string 20",
    "Photo": "sample string 21",
    "CreatedBy": "sample string 22",
    "CreatedDate": "2024-12-01T08:03:26.5408355+05:30",
    "UpdatedBy": "sample string 24",
    "UpdatedDate": "2024-12-01T08:03:26.5408355+05:30"
  },
  {
    "$ref": "1"
  }
]

application/octet-stream

Sample:
[{"$id":"1","Id":1,"RoleId":2,"FirstName":"sample string 3","MiddleName":"sample string 4","LastName":"sample string 5","MotherName":"sample string 6","DOB":"sample string 7","Gender":"sample string 8","IdNo":9,"BloodGroup":"sample string 10","Religion":"sample string 11","Cast":"sample string 12","Category":"sample string 13","Email":"sample string 14","ClassId":15,"Section":"sample string 16","Address":"sample string 17","JoiningDate":"sample string 18","Mobile":"sample string 19","ShortBio":"sample string 20","Photo":"sample string 21","CreatedBy":"sample string 22","CreatedDate":"2024-12-01T08:03:26.5408355+05:30","UpdatedBy":"sample string 24","UpdatedDate":"2024-12-01T08:03:26.5408355+05:30"},{"$ref":"1"}]