PUT api/PayrollLoanEntry/Update
Request Information
URI Parameters
None.
Body Parameters
PayrollLoanEntryUpdateVM| Name | Description | Type | Additional information |
|---|---|---|---|
| LoanEntryId | integer |
Required |
|
| 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 |
|
| ConfirmStatus | string |
Required Matching regular expression pattern: Y|N |
|
| UpdateUser | integer |
Required |
|
| UpdateIp | string |
Required String length: inclusive between 0 and 20 |
|
| TotalToBePaid | decimal number |
Required |
|
| LastEmi | decimal number |
None. |
|
| AdminFee | decimal number |
None. |
|
| LoanOpBal | decimal number |
None. |
|
| FinYear | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"LoanEntryId": 1,
"BookId": 2,
"LoanEntryDate": "sample string 3",
"Refno": "sample string 4",
"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": 5.0,
"LoanInterest": 6.0,
"LoanPeriod": 7,
"LoanEmiSystem": 8.0,
"LoanEmi": 9.0,
"EmiWithPayroll": "sample string 10",
"EmiStartMonth": 11,
"EmiStartYear": 12,
"ConfirmStatus": "sample string 13",
"UpdateUser": 14,
"UpdateIp": "sample string 15",
"TotalToBePaid": 16.0,
"LastEmi": 17.0,
"AdminFee": 18.0,
"LoanOpBal": 19.0,
"FinYear": 20
}
application/xml, text/xml
Sample:
<PayrollLoanEntryUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<AdminFee>18</AdminFee>
<BookId>2</BookId>
<ConfirmStatus>sample string 13</ConfirmStatus>
<EmiStartMonth>11</EmiStartMonth>
<EmiStartYear>12</EmiStartYear>
<EmiWithPayroll>sample string 10</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>20</FinYear>
<LastEmi>17</LastEmi>
<Loan>
<LoanId>1</LoanId>
<LoanName>sample string 2</LoanName>
</Loan>
<LoanAmount>5</LoanAmount>
<LoanEmi>9</LoanEmi>
<LoanEmiSystem>8</LoanEmiSystem>
<LoanEntryDate>sample string 3</LoanEntryDate>
<LoanEntryId>1</LoanEntryId>
<LoanInterest>6</LoanInterest>
<LoanOpBal>19</LoanOpBal>
<LoanPeriod>7</LoanPeriod>
<Refno>sample string 4</Refno>
<TotalToBePaid>16</TotalToBePaid>
<UpdateIp>sample string 15</UpdateIp>
<UpdateUser>14</UpdateUser>
</PayrollLoanEntryUpdateVM>
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.