POST api/Contract/Rehire
Request Information
URI Parameters
None.
Body Parameters
EmployeeRehire_model| Name | Description | Type | Additional information |
|---|---|---|---|
| EmpId | integer |
None. |
|
| EmployerId | integer |
None. |
|
| CompanyId | integer |
None. |
|
| ClientId | integer |
None. |
|
| BranchId | integer |
None. |
|
| ShiftId | integer |
None. |
|
| DepartmentId | integer |
None. |
|
| EmployeeRankId | integer |
None. |
|
| EmployeeTypeId | integer |
None. |
|
| Position | string |
None. |
|
| FunctionId | integer |
None. |
|
| PayType | string |
None. |
|
| SalaryTypeId | integer |
None. |
|
| MonthlySalary | decimal number |
None. |
|
| IsMinumum | boolean |
None. |
|
| ContractStart | date |
None. |
|
| ContractEnd | date |
None. |
|
| UserId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmpId": 1,
"EmployerId": 2,
"CompanyId": 3,
"ClientId": 4,
"BranchId": 5,
"ShiftId": 6,
"DepartmentId": 7,
"EmployeeRankId": 8,
"EmployeeTypeId": 9,
"Position": "sample string 10",
"FunctionId": 11,
"PayType": "sample string 12",
"SalaryTypeId": 13,
"MonthlySalary": 14.0,
"IsMinumum": true,
"ContractStart": "2026-11-21T12:46:42.9465959+08:00",
"ContractEnd": "2026-11-21T12:46:42.9465959+08:00",
"UserId": 18
}
application/xml, text/xml
Sample:
<EmployeeTransaction.EmployeeRehire_model xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRModel.ViewModel.Contract.EmployeeTransaction"> <BranchId>5</BranchId> <ClientId>4</ClientId> <CompanyId>3</CompanyId> <ContractEnd>2026-11-21T12:46:42.9465959+08:00</ContractEnd> <ContractStart>2026-11-21T12:46:42.9465959+08:00</ContractStart> <DepartmentId>7</DepartmentId> <EmpId>1</EmpId> <EmployeeRankId>8</EmployeeRankId> <EmployeeTypeId>9</EmployeeTypeId> <EmployerId>2</EmployerId> <FunctionId>11</FunctionId> <IsMinumum>true</IsMinumum> <MonthlySalary>14</MonthlySalary> <PayType>sample string 12</PayType> <Position>sample string 10</Position> <SalaryTypeId>13</SalaryTypeId> <ShiftId>6</ShiftId> <UserId>18</UserId> </EmployeeTransaction.EmployeeRehire_model>
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. |