GET api/PR_LoanBalancesReport?DB={DB}&CompanyID={CompanyID}&IncludeClosed={IncludeClosed}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| DB | string |
Required |
|
| CompanyID | integer |
Required |
|
| IncludeClosed | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
Collection of PR_LoanBalanceRow| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeLoanID | integer |
None. |
|
| Company_EmployeeID | string |
None. |
|
| EmployeeName | string |
None. |
|
| EmployeeDeleted | boolean |
None. |
|
| Loan_Name | string |
None. |
|
| Lender | string |
None. |
|
| External_Reference | string |
None. |
|
| Interest_Method | string |
None. |
|
| Interest_Rate | decimal number |
None. |
|
| Disbursement_Date | date |
None. |
|
| Lent | decimal number |
None. |
|
| Interest | decimal number |
None. |
|
| Repaid_Payroll | decimal number |
None. |
|
| Repaid_Other | decimal number |
None. |
|
| Written_Off | decimal number |
None. |
|
| Balance | decimal number |
None. |
|
| Instalment | decimal number |
None. |
|
| Status | string |
None. |
|
| First_Deduction | integer |
None. |
|
| Last_Deduction | integer |
None. |
|
| Expected_Finish | integer |
None. |
|
| Skipped_Months_Ahead | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"EmployeeLoanID": 1,
"Company_EmployeeID": "sample string 2",
"EmployeeName": "sample string 3",
"EmployeeDeleted": true,
"Loan_Name": "sample string 5",
"Lender": "sample string 6",
"External_Reference": "sample string 7",
"Interest_Method": "sample string 8",
"Interest_Rate": 9.0,
"Disbursement_Date": "2026-12-01T08:14:05.2648866+00:00",
"Lent": 10.0,
"Interest": 11.0,
"Repaid_Payroll": 12.0,
"Repaid_Other": 13.0,
"Written_Off": 14.0,
"Balance": 15.0,
"Instalment": 16.0,
"Status": "sample string 17",
"First_Deduction": 18,
"Last_Deduction": 1,
"Expected_Finish": 1,
"Skipped_Months_Ahead": 19
},
{
"EmployeeLoanID": 1,
"Company_EmployeeID": "sample string 2",
"EmployeeName": "sample string 3",
"EmployeeDeleted": true,
"Loan_Name": "sample string 5",
"Lender": "sample string 6",
"External_Reference": "sample string 7",
"Interest_Method": "sample string 8",
"Interest_Rate": 9.0,
"Disbursement_Date": "2026-12-01T08:14:05.2648866+00:00",
"Lent": 10.0,
"Interest": 11.0,
"Repaid_Payroll": 12.0,
"Repaid_Other": 13.0,
"Written_Off": 14.0,
"Balance": 15.0,
"Instalment": 16.0,
"Status": "sample string 17",
"First_Deduction": 18,
"Last_Deduction": 1,
"Expected_Finish": 1,
"Skipped_Months_Ahead": 19
}
]
application/xml, text/xml
Sample:
<ArrayOfPR_LoanBalanceRow xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdroitERPWebApis">
<PR_LoanBalanceRow>
<Balance>15</Balance>
<Company_EmployeeID>sample string 2</Company_EmployeeID>
<Disbursement_Date>2026-12-01T08:14:05.2648866+00:00</Disbursement_Date>
<EmployeeDeleted>true</EmployeeDeleted>
<EmployeeLoanID>1</EmployeeLoanID>
<EmployeeName>sample string 3</EmployeeName>
<Expected_Finish>1</Expected_Finish>
<External_Reference>sample string 7</External_Reference>
<First_Deduction>18</First_Deduction>
<Instalment>16</Instalment>
<Interest>11</Interest>
<Interest_Method>sample string 8</Interest_Method>
<Interest_Rate>9</Interest_Rate>
<Last_Deduction>1</Last_Deduction>
<Lender>sample string 6</Lender>
<Lent>10</Lent>
<Loan_Name>sample string 5</Loan_Name>
<Repaid_Other>13</Repaid_Other>
<Repaid_Payroll>12</Repaid_Payroll>
<Skipped_Months_Ahead>19</Skipped_Months_Ahead>
<Status>sample string 17</Status>
<Written_Off>14</Written_Off>
</PR_LoanBalanceRow>
<PR_LoanBalanceRow>
<Balance>15</Balance>
<Company_EmployeeID>sample string 2</Company_EmployeeID>
<Disbursement_Date>2026-12-01T08:14:05.2648866+00:00</Disbursement_Date>
<EmployeeDeleted>true</EmployeeDeleted>
<EmployeeLoanID>1</EmployeeLoanID>
<EmployeeName>sample string 3</EmployeeName>
<Expected_Finish>1</Expected_Finish>
<External_Reference>sample string 7</External_Reference>
<First_Deduction>18</First_Deduction>
<Instalment>16</Instalment>
<Interest>11</Interest>
<Interest_Method>sample string 8</Interest_Method>
<Interest_Rate>9</Interest_Rate>
<Last_Deduction>1</Last_Deduction>
<Lender>sample string 6</Lender>
<Lent>10</Lent>
<Loan_Name>sample string 5</Loan_Name>
<Repaid_Other>13</Repaid_Other>
<Repaid_Payroll>12</Repaid_Payroll>
<Skipped_Months_Ahead>19</Skipped_Months_Ahead>
<Status>sample string 17</Status>
<Written_Off>14</Written_Off>
</PR_LoanBalanceRow>
</ArrayOfPR_LoanBalanceRow>