POST api/Employees/SaveDischargeRequest
Request Information
URI Parameters
None.
Body Parameters
DischargeRequestDtoName | Description | Type | Additional information |
---|---|---|---|
EmployeeId | integer |
None. |
|
DepartmentId | integer |
None. |
|
JobId | integer |
None. |
|
ContractEndDate | date |
None. |
|
DischargeDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "EmployeeId": 1, "DepartmentId": 2, "JobId": 3, "ContractEndDate": "2024-12-23T17:30:57.0096635+02:00", "DischargeDate": "2024-12-23T17:30:57.0096635+02:00" }
application/xml, text/xml
Sample:
<DischargeRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EkadHR.HRAPI.Dtos"> <ContractEndDate>2024-12-23T17:30:57.0096635+02:00</ContractEndDate> <DepartmentId>2</DepartmentId> <DischargeDate>2024-12-23T17:30:57.0096635+02:00</DischargeDate> <EmployeeId>1</EmployeeId> <JobId>3</JobId> </DischargeRequestDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |