POST api/Employees/SaveResignationRequest
Request Information
URI Parameters
None.
Body Parameters
ResignationRequestDtoName | Description | Type | Additional information |
---|---|---|---|
EmployeeId | integer |
None. |
|
ResignationTypeId | integer |
None. |
|
OtherResignationType | string |
None. |
|
Grade | integer |
None. |
|
ResignationDate | date |
None. |
|
Notes | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "EmployeeId": 1, "ResignationTypeId": 2, "OtherResignationType": "sample string 3", "Grade": 4, "ResignationDate": "2024-12-23T17:37:07.1025739+02:00", "Notes": "sample string 6" }
application/xml, text/xml
Sample:
<ResignationRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EkadHR.HRAPI.Dtos"> <EmployeeId>1</EmployeeId> <Grade>4</Grade> <Notes>sample string 6</Notes> <OtherResignationType>sample string 3</OtherResignationType> <ResignationDate>2024-12-23T17:37:07.1025739+02:00</ResignationDate> <ResignationTypeId>2</ResignationTypeId> </ResignationRequestDto>
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. |