POST api/PayrollLoanEntry/Save
Request Information
URI Parameters
None.
Body Parameters
PayrollLoanEntrySaveVM| Name | Description | Type | Additional information |
|---|---|---|---|
| BookId | integer |
Required |
|
| LoanEntryDate | string |
Required |
|
| Refno | string |
Required String length: inclusive between 0 and 15 |
|
| Employee | EmployeeLookup |
Required |
|
| Loan | PayrollLoanMasterLookupVM |
Required |
|
| LoanAmount | decimal number |
None. |
|
| LoanInterest | decimal number |
None. |
|
| LoanPeriod | integer |
None. |
|
| LoanEmiSystem | decimal number |
None. |
|
| LoanEmi | decimal number |
None. |
|
| EmiWithPayroll | string |
Required Matching regular expression pattern: Y|N |
|
| EmiStartMonth | integer |
Required |
|
| EmiStartYear | integer |
Required |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required String length: inclusive between 0 and 20 |
|
| TotalToBePaid | decimal number |
None. |
|
| LastEmi | decimal number |
None. |
|
| AdminFee | decimal number |
None. |
|
| LoanOpBal | decimal number |
None. |
|
| FinYear | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"BookId": 1,
"LoanEntryDate": "sample string 2",
"Refno": "sample string 3",
"Employee": {
"EmployeeId": 1,
"EmployeeName": "sample string 2",
"Prefix": "sample string 3",
"PresentHouseName": "sample string 4",
"PresentAddress": "sample string 5",
"EmployeeStatus": "sample string 6"
},
"Loan": {
"LoanId": 1,
"LoanName": "sample string 2"
},
"LoanAmount": 4.0,
"LoanInterest": 5.0,
"LoanPeriod": 6,
"LoanEmiSystem": 7.0,
"LoanEmi": 8.0,
"EmiWithPayroll": "sample string 9",
"EmiStartMonth": 10,
"EmiStartYear": 11,
"CreateUser": 12,
"CreateIp": "sample string 13",
"TotalToBePaid": 14.0,
"LastEmi": 15.0,
"AdminFee": 16.0,
"LoanOpBal": 17.0,
"FinYear": 18
}
application/xml, text/xml
Sample:
<PayrollLoanEntrySaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<AdminFee>16</AdminFee>
<BookId>1</BookId>
<CreateIp>sample string 13</CreateIp>
<CreateUser>12</CreateUser>
<EmiStartMonth>10</EmiStartMonth>
<EmiStartYear>11</EmiStartYear>
<EmiWithPayroll>sample string 9</EmiWithPayroll>
<Employee>
<EmployeeId>1</EmployeeId>
<EmployeeName>sample string 2</EmployeeName>
<EmployeeStatus>sample string 6</EmployeeStatus>
<Prefix>sample string 3</Prefix>
<PresentAddress>sample string 5</PresentAddress>
<PresentHouseName>sample string 4</PresentHouseName>
</Employee>
<FinYear>18</FinYear>
<LastEmi>15</LastEmi>
<Loan>
<LoanId>1</LoanId>
<LoanName>sample string 2</LoanName>
</Loan>
<LoanAmount>4</LoanAmount>
<LoanEmi>8</LoanEmi>
<LoanEmiSystem>7</LoanEmiSystem>
<LoanEntryDate>sample string 2</LoanEntryDate>
<LoanInterest>5</LoanInterest>
<LoanOpBal>17</LoanOpBal>
<LoanPeriod>6</LoanPeriod>
<Refno>sample string 3</Refno>
<TotalToBePaid>14</TotalToBePaid>
</PayrollLoanEntrySaveVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.