GET api/Teacher/GetTeacherList?schoolid={schoolid}&classname={classname}§ion={section}&sessionid={sessionid}
Get Teacher List
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| schoolid | integer |
Required |
|
| classname | string |
Required |
|
| section | string |
Required |
|
| sessionid | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of TeacherModel| Name | Description | Type | Additional information |
|---|---|---|---|
| tid | integer |
None. |
|
| tname | string |
None. |
|
| contactno | string |
None. |
|
| photo | string |
None. |
|
| string |
None. |
||
| logo | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"tid": 1,
"tname": "sample string 2",
"contactno": "sample string 3",
"photo": "sample string 4",
"email": "sample string 5",
"logo": "sample string 6"
},
{
"tid": 1,
"tname": "sample string 2",
"contactno": "sample string 3",
"photo": "sample string 4",
"email": "sample string 5",
"logo": "sample string 6"
}
]
text/html
Sample:
[{"tid":1,"tname":"sample string 2","contactno":"sample string 3","photo":"sample string 4","email":"sample string 5","logo":"sample string 6"},{"tid":1,"tname":"sample string 2","contactno":"sample string 3","photo":"sample string 4","email":"sample string 5","logo":"sample string 6"}]
application/xml, text/xml
Sample:
<ArrayOfTeacherModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/smsapi.Models">
<TeacherModel>
<contactno>sample string 3</contactno>
<email>sample string 5</email>
<logo>sample string 6</logo>
<photo>sample string 4</photo>
<tid>1</tid>
<tname>sample string 2</tname>
</TeacherModel>
<TeacherModel>
<contactno>sample string 3</contactno>
<email>sample string 5</email>
<logo>sample string 6</logo>
<photo>sample string 4</photo>
<tid>1</tid>
<tname>sample string 2</tname>
</TeacherModel>
</ArrayOfTeacherModel>