POST api/Employees/SaveLoanRequest

Request Information

URI Parameters

None.

Body Parameters

LoanCreateDto
NameDescriptionTypeAdditional 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": "2024-12-23T18:14:04.8455617+02:00",
  "EndDate": "2024-12-23T18:14:04.8455617+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>2024-12-23T18:14:04.8455617+02:00</EndDate>
  <LoanValue>5</LoanValue>
  <Loan_Type>7</Loan_Type>
  <MonthsCount>64</MonthsCount>
  <Notes>sample string 6</Notes>
  <StartDate>2024-12-23T18:14:04.8455617+02:00</StartDate>
</LoanCreateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.