POST api/Teacher/GetTeacherFullDetails
this api is used for fetch the full details of individual teacher. in request body you should pass schoolid, token and UserId(Teacher Contact Number).
Request Information
URI Parameters
None.
Body Parameters
TeacherParameterModel| Name | Description | Type | Additional information |
|---|---|---|---|
| schoolid | integer |
None. |
|
| shiftId | integer |
None. |
|
| token | string |
None. |
|
| fdate | string |
None. |
|
| UserId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"schoolid": 1,
"shiftId": 2,
"token": "sample string 3",
"fdate": "sample string 4",
"UserId": "sample string 5"
}
text/html
Sample:
{"schoolid":1,"shiftId":2,"token":"sample string 3","fdate":"sample string 4","UserId":"sample string 5"}
application/xml, text/xml
Sample:
<TeacherParameterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/smsapi.Models"> <UserId>sample string 5</UserId> <fdate>sample string 4</fdate> <schoolid>1</schoolid> <shiftId>2</shiftId> <token>sample string 3</token> </TeacherParameterModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
if it is success then it give resultcode 0, resultstring Success with teacher details and if it is not successful it give resultcode greater than 0, resultstring have some Error message. Data Contains the TeachersDetailsRecord Model containg all the details of Teacher
ApiResponseOfTeacherAttendanceRecord| Name | Description | Type | Additional information |
|---|---|---|---|
| resultcode | integer |
None. |
|
| resultstring | string |
None. |
|
| Data | TeacherAttendanceRecord |
None. |
Response Formats
application/json, text/json
Sample:
{
"resultcode": 1,
"resultstring": "sample string 2",
"Data": {
"id": 1,
"teacherName": "sample string 2",
"contact": "sample string 3",
"className": "sample string 4",
"sectionName": "sample string 5",
"emailId": "sample string 6",
"designation": "sample string 7",
"qualification": "sample string 8",
"experience": "sample string 9",
"Photo": "sample string 10",
"EmpCode": "sample string 11",
"ClockIn": "2025-10-25T08:11:57.9890947+05:30",
"ClockOut": "2025-10-25T08:11:57.9890947+05:30",
"AttendenceType": "sample string 12",
"adate": "2025-10-25T08:11:57.9890947+05:30",
"basicSalary": 1.0
}
}
text/html
Sample:
{"resultcode":1,"resultstring":"sample string 2","Data":{"id":1,"teacherName":"sample string 2","contact":"sample string 3","className":"sample string 4","sectionName":"sample string 5","emailId":"sample string 6","designation":"sample string 7","qualification":"sample string 8","experience":"sample string 9","Photo":"sample string 10","EmpCode":"sample string 11","ClockIn":"2025-10-25T08:11:57.9890947+05:30","ClockOut":"2025-10-25T08:11:57.9890947+05:30","AttendenceType":"sample string 12","adate":"2025-10-25T08:11:57.9890947+05:30","basicSalary":1.0}}
application/xml, text/xml
Sample:
<ApiResponseOfTeacherAttendanceRecordGSP6PrmD xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/smsapi.Models">
<Data>
<AttendenceType>sample string 12</AttendenceType>
<ClockIn>2025-10-25T08:11:57.9890947+05:30</ClockIn>
<ClockOut>2025-10-25T08:11:57.9890947+05:30</ClockOut>
<EmpCode>sample string 11</EmpCode>
<Photo>sample string 10</Photo>
<adate>2025-10-25T08:11:57.9890947+05:30</adate>
<basicSalary>1</basicSalary>
<className>sample string 4</className>
<contact>sample string 3</contact>
<designation>sample string 7</designation>
<emailId>sample string 6</emailId>
<experience>sample string 9</experience>
<id>1</id>
<qualification>sample string 8</qualification>
<sectionName>sample string 5</sectionName>
<teacherName>sample string 2</teacherName>
</Data>
<resultcode>1</resultcode>
<resultstring>sample string 2</resultstring>
</ApiResponseOfTeacherAttendanceRecordGSP6PrmD>