POST api/employee/update
Request Information
URI Parameters
None.
Body Parameters
UpdateEmployeeRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyId | integer |
None. |
|
| UserId | integer |
None. |
|
| EmployeeId | string |
None. |
|
| FullName | string |
None. |
|
| Department | string |
None. |
|
| Designation | string |
None. |
|
| JoiningDate | date |
None. |
|
| SalaryType | string |
None. |
|
| MonthlySalary | decimal number |
None. |
|
| PerDayRate | decimal number |
None. |
|
| DaysInMonth | integer |
None. |
|
| RoleId | integer |
None. |
|
| FaceEmbedding | Collection of decimal number |
None. |
|
| IsSiteAllowed | boolean |
None. |
|
| IsTourAllowed | boolean |
None. |
|
| SiteIds | Collection of integer |
None. |
|
| ShiftId | integer |
None. |
|
| EmploymentType | string |
None. |
|
| ContractorId | integer |
None. |
|
| LeftDate | date |
None. |
|
| StatutoryWageBase | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"CompanyId": 1,
"UserId": 2,
"EmployeeId": "sample string 3",
"FullName": "sample string 4",
"Department": "sample string 5",
"Designation": "sample string 6",
"JoiningDate": "2026-10-27T18:20:33.0420065+05:30",
"SalaryType": "sample string 8",
"MonthlySalary": 1.0,
"PerDayRate": 1.0,
"DaysInMonth": 9,
"RoleId": 10,
"FaceEmbedding": [
1.1,
2.1
],
"IsSiteAllowed": true,
"IsTourAllowed": true,
"SiteIds": [
1,
2
],
"ShiftId": 1,
"EmploymentType": "sample string 13",
"ContractorId": 1,
"LeftDate": "2026-10-27T18:20:33.0440245+05:30",
"StatutoryWageBase": 1.0
}
application/xml, text/xml
Sample:
<UpdateEmployeeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiAttapp.Controllers">
<CompanyId>1</CompanyId>
<ContractorId>1</ContractorId>
<DaysInMonth>9</DaysInMonth>
<Department>sample string 5</Department>
<Designation>sample string 6</Designation>
<EmployeeId>sample string 3</EmployeeId>
<EmploymentType>sample string 13</EmploymentType>
<FaceEmbedding xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:double>1.1</d2p1:double>
<d2p1:double>2.1</d2p1:double>
</FaceEmbedding>
<FullName>sample string 4</FullName>
<IsSiteAllowed>true</IsSiteAllowed>
<IsTourAllowed>true</IsTourAllowed>
<JoiningDate>2026-10-27T18:20:33.0420065+05:30</JoiningDate>
<LeftDate>2026-10-27T18:20:33.0440245+05:30</LeftDate>
<MonthlySalary>1</MonthlySalary>
<PerDayRate>1</PerDayRate>
<RoleId>10</RoleId>
<SalaryType>sample string 8</SalaryType>
<ShiftId>1</ShiftId>
<SiteIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</SiteIds>
<StatutoryWageBase>1</StatutoryWageBase>
<UserId>2</UserId>
</UpdateEmployeeRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |