GET api/GetTeacherPagination?pageSize={pageSize}¤tPage={currentPage}&fname={fname}&sortBy={sortBy}&lname={lname}&isactive={isactive}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pageSize | integer |
Required |
|
| currentPage | integer |
Required |
|
| fname | string |
Required |
|
| sortBy | integer |
Required |
|
| lname | string |
Required |
|
| isactive | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
PageOfTeacher| Name | Description | Type | Additional information |
|---|---|---|---|
| Results | Collection of Teacher |
None. |
|
| CurrentPage | integer |
None. |
|
| PageCount | integer |
None. |
|
| PageSize | integer |
None. |
|
| RecordCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Results": [
{
"$id": "2",
"TeacherId": 1,
"TeacherFName": "sample string 2",
"TeacherLName": "sample string 3",
"TeacherEmail": "sample string 4",
"TeacherPhone": "sample string 5",
"TeacherImagePath": "QEA=",
"TeacherBioInfo": "sample string 6",
"IsActive": true,
"CreatedDate": "2025-12-05T19:38:08.0105831-08:00",
"LastModifiedDate": "2025-12-05T19:38:08.0105831-08:00",
"CreatedBy": "sample string 10",
"LastModifiedBy": "sample string 11"
},
{
"$ref": "2"
}
],
"CurrentPage": 1,
"PageCount": 2,
"PageSize": 3,
"RecordCount": 4
}