PUT api/PayrollLoanRepay/Update
Request Information
URI Parameters
None.
Body Parameters
PayrollLoanRepayUpdateVM| Name | Description | Type | Additional information |
|---|---|---|---|
| LoanRepayId | integer |
Required |
|
| BookId | integer |
Required |
|
| Employee | EmployeeLookup |
Required |
|
| LoanEntry | PayrollLoanEntryLookupVM |
Required |
|
| LoanRepayDate | string |
Required |
|
| Refno | string |
Required String length: inclusive between 0 and 15 |
|
| Loan | PayrollLoanMasterLookupVM |
Required |
|
| RepayAmount | decimal number |
None. |
|
| RepayManual | string |
Required Matching regular expression pattern: Y|N |
|
| RepayMonth | integer |
Required |
|
| RepayYear | integer |
Required |
|
| ConfirmStatus | string |
Required Matching regular expression pattern: Y|N |
|
| UpdateUser | integer |
Required |
|
| UpdateIp | string |
Required String length: inclusive between 0 and 20 |
|
| FinYear | integer |
None. |
|
| AdjustType | string |
Required Matching regular expression pattern: N|L |
|
| Remarks | string |
String length: inclusive between 0 and 500 |
Request Formats
application/json, text/json
Sample:
{
"LoanRepayId": 1,
"BookId": 2,
"Employee": {
"EmployeeId": 1,
"EmployeeName": "sample string 2",
"Prefix": "sample string 3",
"PresentHouseName": "sample string 4",
"PresentAddress": "sample string 5",
"EmployeeStatus": "sample string 6"
},
"LoanEntry": {
"LoanEntryId": 1,
"LoanEntryDate": "sample string 2",
"Refno": "sample string 3",
"Loan": {
"LoanId": 1,
"LoanName": "sample string 2"
},
"LoanAmount": 4.0,
"LoanEmi": 5.0
},
"LoanRepayDate": "sample string 3",
"Refno": "sample string 4",
"Loan": {
"LoanId": 1,
"LoanName": "sample string 2"
},
"RepayAmount": 5.0,
"RepayManual": "sample string 6",
"RepayMonth": 7,
"RepayYear": 8,
"ConfirmStatus": "sample string 9",
"UpdateUser": 10,
"UpdateIp": "sample string 11",
"FinYear": 12,
"AdjustType": "sample string 13",
"Remarks": "sample string 14"
}
application/xml, text/xml
Sample:
<PayrollLoanRepayUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<AdjustType>sample string 13</AdjustType>
<BookId>2</BookId>
<ConfirmStatus>sample string 9</ConfirmStatus>
<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>12</FinYear>
<Loan>
<LoanId>1</LoanId>
<LoanName>sample string 2</LoanName>
</Loan>
<LoanEntry>
<Loan>
<LoanId>1</LoanId>
<LoanName>sample string 2</LoanName>
</Loan>
<LoanAmount>4</LoanAmount>
<LoanEmi>5</LoanEmi>
<LoanEntryDate>sample string 2</LoanEntryDate>
<LoanEntryId>1</LoanEntryId>
<Refno>sample string 3</Refno>
</LoanEntry>
<LoanRepayDate>sample string 3</LoanRepayDate>
<LoanRepayId>1</LoanRepayId>
<Refno>sample string 4</Refno>
<Remarks>sample string 14</Remarks>
<RepayAmount>5</RepayAmount>
<RepayManual>sample string 6</RepayManual>
<RepayMonth>7</RepayMonth>
<RepayYear>8</RepayYear>
<UpdateIp>sample string 11</UpdateIp>
<UpdateUser>10</UpdateUser>
</PayrollLoanRepayUpdateVM>
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.