POST Api/TeacherMaster/UpdateTeacherMaster
Request Information
URI Parameters
None.
Body Parameters
TeacherMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| name | string |
None. |
|
| country | integer |
None. |
|
| state | integer |
None. |
|
| city | integer |
None. |
|
| string |
None. |
||
| mobileNo | string |
None. |
|
| collegeId | integer |
None. |
|
| fatherName | string |
None. |
|
| gender | string |
None. |
|
| motherName | string |
None. |
|
| dob | string |
None. |
|
| currentAddress | string |
None. |
|
| permanantAddress | string |
None. |
|
| salary | string |
None. |
|
| dtTeacherEducationalInfo | string |
None. |
|
| dtTeacherExperienceInfo | string |
None. |
|
| classPunchId | string |
None. |
|
| employeeId | string |
None. |
|
| courseList | string |
None. |
|
| designationId | string |
None. |
|
| role | string |
None. |
|
| opCode | integer |
None. |
|
| isException | boolean |
None. |
|
| exceptionMessage | string |
None. |
|
| DS | DataSet |
None. |
|
| id | string |
None. |
|
| strId | string |
None. |
|
| userId | integer |
None. |
|
| status | integer |
None. |
|
| message | string |
None. |
|
| PageSize | string |
None. |
|
| PageIndex | string |
None. |
|
| responseValue | DataSet |
None. |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"country": 2,
"state": 3,
"city": 4,
"email": "sample string 5",
"mobileNo": "sample string 6",
"collegeId": 7,
"fatherName": "sample string 8",
"gender": "sample string 9",
"motherName": "sample string 10",
"dob": "sample string 11",
"currentAddress": "sample string 12",
"permanantAddress": "sample string 13",
"salary": "sample string 14",
"dtTeacherEducationalInfo": "sample string 15",
"dtTeacherExperienceInfo": "sample string 16",
"classPunchId": "sample string 17",
"employeeId": "sample string 18",
"courseList": "sample string 19",
"designationId": "sample string 20",
"role": "sample string 21",
"opCode": 22,
"isException": true,
"exceptionMessage": "sample string 24",
"ds": null,
"id": "sample string 25",
"strId": "sample string 26",
"userId": 27,
"status": 28,
"message": "sample string 29",
"pageSize": "sample string 30",
"pageIndex": "sample string 31",
"responseValue": {}
}
application/xml, text/xml
Sample:
<TeacherMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMSWebAPI.Models">
<DS i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/DLLUtility" />
<PageIndex xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 31</PageIndex>
<PageSize xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 30</PageSize>
<exceptionMessage xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 24</exceptionMessage>
<id xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 25</id>
<isException xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">true</isException>
<message xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 29</message>
<opCode xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">22</opCode>
<responseValue xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">
<xs:schema id="sample_x0020_string_x0020_3" targetNamespace="sample string 4" xmlns:mstns="sample string 4" xmlns="sample string 4" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:element name="sample_x0020_string_x0020_3" msdata:IsDataSet="true" msdata:CaseSensitive="true" msdata:UseCurrentLocale="true">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded" />
</xs:complexType>
</xs:element>
</xs:schema>
<diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1" />
</responseValue>
<status xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">28</status>
<strId xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 26</strId>
<userId xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">27</userId>
<city>4</city>
<classPunchId>sample string 17</classPunchId>
<collegeId>7</collegeId>
<country>2</country>
<courseList>sample string 19</courseList>
<currentAddress>sample string 12</currentAddress>
<designationId>sample string 20</designationId>
<dob>sample string 11</dob>
<dtTeacherEducationalInfo>sample string 15</dtTeacherEducationalInfo>
<dtTeacherExperienceInfo>sample string 16</dtTeacherExperienceInfo>
<email>sample string 5</email>
<employeeId>sample string 18</employeeId>
<fatherName>sample string 8</fatherName>
<gender>sample string 9</gender>
<mobileNo>sample string 6</mobileNo>
<motherName>sample string 10</motherName>
<name>sample string 1</name>
<permanantAddress>sample string 13</permanantAddress>
<role>sample string 21</role>
<salary>sample string 14</salary>
<state>3</state>
</TeacherMaster>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |