POST api/EmployeeLoan/AddLoan
Request Information
URI Parameters
None.
Body Parameters
RequestEmployeeLoanCreate| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeId | integer |
None. |
|
| LoanType | string |
None. |
|
| LoanTypeId | integer |
None. |
|
| RequestedAmount | decimal number |
None. |
|
| Reason | string |
None. |
|
| RequestedInstallments | integer |
None. |
|
| RequestedRecoveryStartPeriodId | integer |
None. |
|
| AttachmentPath | string |
None. |
|
| CreatedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmployeeId": 1,
"LoanType": "sample string 2",
"LoanTypeId": 1,
"RequestedAmount": 3.0,
"Reason": "sample string 4",
"RequestedInstallments": 5,
"RequestedRecoveryStartPeriodId": 1,
"AttachmentPath": "sample string 6",
"CreatedBy": 7
}
application/xml, text/xml
Sample:
<RequestEmployeeLoanCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RRCDR_Attendance_API.Helpers.Custom"> <AttachmentPath>sample string 6</AttachmentPath> <CreatedBy>7</CreatedBy> <EmployeeId>1</EmployeeId> <LoanType>sample string 2</LoanType> <LoanTypeId>1</LoanTypeId> <Reason>sample string 4</Reason> <RequestedAmount>3</RequestedAmount> <RequestedInstallments>5</RequestedInstallments> <RequestedRecoveryStartPeriodId>1</RequestedRecoveryStartPeriodId> </RequestEmployeeLoanCreate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />