POST api/Employees/SaveLoanRequest
Request Information
URI Parameters
None.
Body Parameters
LoanCreateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeId | integer |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| MonthsCount | byte |
None. |
|
| LoanValue | decimal number |
None. |
|
| Notes | string |
None. |
|
| Loan_Type | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmployeeId": 1,
"StartDate": "2025-11-11T01:10:20.0873298+02:00",
"EndDate": "2025-11-11T01:10:20.0873298+02:00",
"MonthsCount": 64,
"LoanValue": 5.0,
"Notes": "sample string 6",
"Loan_Type": 7
}
application/xml, text/xml
Sample:
<LoanCreateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EkadHR.HRAPI.Dtos"> <EmployeeId>1</EmployeeId> <EndDate>2025-11-11T01:10:20.0873298+02:00</EndDate> <LoanValue>5</LoanValue> <Loan_Type>7</Loan_Type> <MonthsCount>64</MonthsCount> <Notes>sample string 6</Notes> <StartDate>2025-11-11T01:10:20.0873298+02:00</StartDate> </LoanCreateDto>
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. |