GET api/PR_LoanTypeList?DB={DB}&CompanyID={CompanyID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| DB | string |
Required |
|
| CompanyID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PR_LoanType| Name | Description | Type | Additional information |
|---|---|---|---|
| LoanID | integer |
None. |
|
| Loan_Name | string |
None. |
|
| Loan_Description | string |
None. |
|
| Lender_Name | string |
None. |
|
| Lender_Account | string |
None. |
|
| ActiveLoans | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"LoanID": 1,
"Loan_Name": "sample string 2",
"Loan_Description": "sample string 3",
"Lender_Name": "sample string 4",
"Lender_Account": "sample string 5",
"ActiveLoans": 6
},
{
"LoanID": 1,
"Loan_Name": "sample string 2",
"Loan_Description": "sample string 3",
"Lender_Name": "sample string 4",
"Lender_Account": "sample string 5",
"ActiveLoans": 6
}
]
application/xml, text/xml
Sample:
<ArrayOfPR_LoanType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdroitERPWebApis">
<PR_LoanType>
<ActiveLoans>6</ActiveLoans>
<Lender_Account>sample string 5</Lender_Account>
<Lender_Name>sample string 4</Lender_Name>
<LoanID>1</LoanID>
<Loan_Description>sample string 3</Loan_Description>
<Loan_Name>sample string 2</Loan_Name>
</PR_LoanType>
<PR_LoanType>
<ActiveLoans>6</ActiveLoans>
<Lender_Account>sample string 5</Lender_Account>
<Lender_Name>sample string 4</Lender_Name>
<LoanID>1</LoanID>
<Loan_Description>sample string 3</Loan_Description>
<Loan_Name>sample string 2</Loan_Name>
</PR_LoanType>
</ArrayOfPR_LoanType>