POST api/update/employee
Request Information
URI Parameters
None.
Body Parameters
UpdateEmployee| Name | Description | Type | Additional information |
|---|---|---|---|
| EmpId | integer |
None. |
|
| EmpNo | integer |
None. |
|
| EmpName | string |
None. |
|
| JobTitleId | integer |
None. |
|
| OTLimit | decimal number |
None. |
|
| Manager | integer |
None. |
|
| DeputyManager | integer |
None. |
|
| Supervisor | integer |
None. |
|
| SiteId | integer |
None. |
|
| EmpJoining | date |
None. |
|
| EmpArea | string |
None. |
|
| EmpDept | string |
None. |
|
| DeptId | integer |
None. |
|
| EmpBPay | decimal number |
None. |
|
| EmpHRate | decimal number |
None. |
|
| string |
None. |
||
| SponsorDetail | string |
None. |
|
| QatarId | integer |
None. |
|
| Nationality | string |
None. |
|
| HouseAllow | decimal number |
None. |
|
| TranspAllow | decimal number |
None. |
|
| TeleAllow | decimal number |
None. |
|
| FoodAllow | decimal number |
None. |
|
| OtherAllow | decimal number |
None. |
|
| CertFlag | boolean |
None. |
|
| TrainFlag | boolean |
None. |
|
| DriveFlag | boolean |
None. |
|
| AnnualLeave | integer |
None. |
|
| MedicalLeave | integer |
None. |
|
| MaternityLeave | integer |
None. |
|
| LocalLeave | integer |
None. |
|
| PersonalReasons | integer |
None. |
|
| CarryForwardLeave | integer |
None. |
|
| ModifiedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmpId": 1,
"EmpNo": 2,
"EmpName": "sample string 3",
"JobTitleId": 4,
"OTLimit": 5.0,
"Manager": 1,
"DeputyManager": 1,
"Supervisor": 1,
"SiteId": 6,
"EmpJoining": "2025-12-05T21:12:34.8815839-08:00",
"EmpArea": "sample string 8",
"EmpDept": "sample string 9",
"DeptId": 10,
"EmpBPay": 11.1,
"EmpHRate": 12.1,
"Email": "sample string 13",
"SponsorDetail": "sample string 14",
"QatarId": 15,
"Nationality": "sample string 16",
"HouseAllow": 17.1,
"TranspAllow": 18.1,
"TeleAllow": 19.1,
"FoodAllow": 20.1,
"OtherAllow": 21.1,
"CertFlag": true,
"TrainFlag": true,
"DriveFlag": true,
"AnnualLeave": 25,
"MedicalLeave": 26,
"MaternityLeave": 27,
"LocalLeave": 28,
"PersonalReasons": 29,
"CarryForwardLeave": 30,
"ModifiedBy": 31
}
application/xml, text/xml
Sample:
<UpdateEmployee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/working_sample_mvc_api.Models"> <AnnualLeave>25</AnnualLeave> <CarryForwardLeave>30</CarryForwardLeave> <CertFlag>true</CertFlag> <DeptId>10</DeptId> <DeputyManager>1</DeputyManager> <DriveFlag>true</DriveFlag> <Email>sample string 13</Email> <EmpArea>sample string 8</EmpArea> <EmpBPay>11.1</EmpBPay> <EmpDept>sample string 9</EmpDept> <EmpHRate>12.1</EmpHRate> <EmpId>1</EmpId> <EmpJoining>2025-12-05T21:12:34.8815839-08:00</EmpJoining> <EmpName>sample string 3</EmpName> <EmpNo>2</EmpNo> <FoodAllow>20.1</FoodAllow> <HouseAllow>17.1</HouseAllow> <JobTitleId>4</JobTitleId> <LocalLeave>28</LocalLeave> <Manager>1</Manager> <MaternityLeave>27</MaternityLeave> <MedicalLeave>26</MedicalLeave> <ModifiedBy>31</ModifiedBy> <Nationality>sample string 16</Nationality> <OTLimit>5</OTLimit> <OtherAllow>21.1</OtherAllow> <PersonalReasons>29</PersonalReasons> <QatarId>15</QatarId> <SiteId>6</SiteId> <SponsorDetail>sample string 14</SponsorDetail> <Supervisor>1</Supervisor> <TeleAllow>19.1</TeleAllow> <TrainFlag>true</TrainFlag> <TranspAllow>18.1</TranspAllow> </UpdateEmployee>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.