POST api/updateEmployee
Request Information
URI Parameters
None.
Body Parameters
ModEmployee| Name | Description | Type | Additional information |
|---|---|---|---|
| adminId | integer |
None. |
|
| empId | integer |
None. |
|
| firstName | string |
None. |
|
| lastName | string |
None. |
|
| string |
None. |
||
| phone | string |
None. |
|
| dob | string |
None. |
|
| dateOfJoin | string |
None. |
|
| designation | string |
None. |
|
| totalExperience | string |
None. |
|
| education | string |
None. |
|
| empCode | string |
None. |
|
| address | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"adminId": 1,
"empId": 2,
"firstName": "sample string 3",
"lastName": "sample string 4",
"email": "sample string 5",
"phone": "sample string 6",
"dob": "sample string 7",
"dateOfJoin": "sample string 8",
"designation": "sample string 9",
"totalExperience": "sample string 10",
"education": "sample string 11",
"empCode": "sample string 12",
"address": "sample string 13"
}
application/xml, text/xml
Sample:
<ModEmployee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MnbebookApi.Models"> <address>sample string 13</address> <adminId>1</adminId> <dateOfJoin>sample string 8</dateOfJoin> <designation>sample string 9</designation> <dob>sample string 7</dob> <education>sample string 11</education> <email>sample string 5</email> <empCode>sample string 12</empCode> <empId>2</empId> <firstName>sample string 3</firstName> <lastName>sample string 4</lastName> <phone>sample string 6</phone> <totalExperience>sample string 10</totalExperience> </ModEmployee>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CommonResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | integer |
None. |
|
| Data | Object |
None. |
|
| Message | string |
None. |
|
| refresh_token | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 1,
"Data": {},
"Message": "sample string 3",
"refresh_token": "sample string 4"
}
application/xml, text/xml
Sample:
<CommonResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MnbebookApi.Models"> <Data /> <Message>sample string 3</Message> <Status>1</Status> <refresh_token>sample string 4</refresh_token> </CommonResponse>