POST api/IClassUsers/AddTeacher
Request Information
URI Parameters
None.
Body Parameters
clsTeacher| Name | Description | Type | Additional information |
|---|---|---|---|
| TeacherName | string |
None. |
|
| PhoneNumber | string |
None. |
|
| string |
None. |
Request Formats
application/json, text/json
Sample:
{
"TeacherName": "sample string 1",
"PhoneNumber": "sample string 2",
"Email": "sample string 3"
}
application/xml, text/xml
Sample:
<clsTeacher xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity"> <Email>sample string 3</Email> <PhoneNumber>sample string 2</PhoneNumber> <TeacherName>sample string 1</TeacherName> </clsTeacher>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>