POST api/Teacher/GetPermission
Get Teacher Permission where permission name id here:sms,notification,attendance
Request Information
URI Parameters
None.
Body Parameters
TeacherPermission| Name | Description | Type | Additional information |
|---|---|---|---|
| tid | integer |
None. |
|
| tname | string |
None. |
|
| permission_name | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"tid": 1,
"tname": "sample string 2",
"permission_name": "sample string 3"
}
text/html
Sample:
{"tid":1,"tname":"sample string 2","permission_name":"sample string 3"}
application/xml, text/xml
Sample:
<TeacherPermission xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/smsapi.Models"> <permission_name>sample string 3</permission_name> <tid>1</tid> <tname>sample string 2</tname> </TeacherPermission>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
true or false
booleanResponse Formats
application/json, text/json, text/html
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>