GET api/Products/Loans/{sessionId}
Returns information about user loans
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
sessionId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
List of user loans
Collection of LoanName | Description | Type | Additional information |
---|---|---|---|
LoanKey |
სესხის უნიკალური იდენტიფიკატორი |
integer |
None. |
ProdType |
პროდუქტის ტიპი |
string |
None. |
LoanName |
სესხის სახელი |
string |
None. |
Ccy |
ვალუტა |
string |
None. |
LoanType |
სესხის ტიპი |
string |
None. |
ProductId |
პროდუქტის იდენტიფიკატორი |
integer |
None. |
ProductName |
პროდუქტის დასახელება |
string |
None. |
SignedDate |
სესხის აღების თარიღი |
integer |
None. |
MatureDate |
სესხის დასრულების თარიღი |
integer |
None. |
InitialPrincipal |
სესხის საწყისი თანხა |
integer |
None. |
RemainingInterest |
გეგმიური გრაფიკით გადასახდელი ჯამური პროცენტი |
decimal number |
None. |
InterestRate |
წლიური პროცენტი |
decimal number |
None. |
RestAmount |
დარჩენილი ძირი |
decimal number |
None. |
NextPayment |
შემდეგი გადახდის დეტალები |
NextPayment |
None. |
LastPayment |
ბოლო გადახდის დეტალები |
LastPayment |
None. |
Response Formats
application/json, text/json
Sample:
[ { "LoanKey": 1, "ProdType": "sample string 2", "LoanName": "sample string 3", "Ccy": "sample string 4", "LoanType": "sample string 5", "ProductId": 6, "ProductName": "sample string 7", "SignedDate": 8, "MatureDate": 9, "InitialPrincipal": 10, "RemainingInterest": 11.1, "InterestRate": 12.1, "RestAmount": 13.1, "NextPayment": { "PayDate": 1, "Ccy": "sample string 2", "PriAmt": 3.1, "IntAmt": 4.1, "FeeAmt": 5.1, "InsAmt": 6, "RliAmt": 7, "TotalAmt": 8.1, "NextPayAmt": 9.1 }, "LastPayment": { "PaymentDate": 1, "Principal": 2.1, "Interest": 3.1, "Penalty": 4, "Fee": 5, "ScheduledFee": 6.1, "InsAmt": 7, "RliAmt": 8, "AmountPaid": 9.1, "Ccy": "sample string 10" } }, { "LoanKey": 1, "ProdType": "sample string 2", "LoanName": "sample string 3", "Ccy": "sample string 4", "LoanType": "sample string 5", "ProductId": 6, "ProductName": "sample string 7", "SignedDate": 8, "MatureDate": 9, "InitialPrincipal": 10, "RemainingInterest": 11.1, "InterestRate": 12.1, "RestAmount": 13.1, "NextPayment": { "PayDate": 1, "Ccy": "sample string 2", "PriAmt": 3.1, "IntAmt": 4.1, "FeeAmt": 5.1, "InsAmt": 6, "RliAmt": 7, "TotalAmt": 8.1, "NextPayAmt": 9.1 }, "LastPayment": { "PaymentDate": 1, "Principal": 2.1, "Interest": 3.1, "Penalty": 4, "Fee": 5, "ScheduledFee": 6.1, "InsAmt": 7, "RliAmt": 8, "AmountPaid": 9.1, "Ccy": "sample string 10" } } ]
application/xml, text/xml
Sample:
<ArrayOfLoan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hackathon.Models"> <Loan> <Ccy>sample string 4</Ccy> <InitialPrincipal>10</InitialPrincipal> <InterestRate>12.1</InterestRate> <LastPayment> <AmountPaid>9.1</AmountPaid> <Ccy>sample string 10</Ccy> <Fee>5</Fee> <InsAmt>7</InsAmt> <Interest>3.1</Interest> <PaymentDate>1</PaymentDate> <Penalty>4</Penalty> <Principal>2.1</Principal> <RliAmt>8</RliAmt> <ScheduledFee>6.1</ScheduledFee> </LastPayment> <LoanKey>1</LoanKey> <LoanName>sample string 3</LoanName> <LoanType>sample string 5</LoanType> <MatureDate>9</MatureDate> <NextPayment> <Ccy>sample string 2</Ccy> <FeeAmt>5.1</FeeAmt> <InsAmt>6</InsAmt> <IntAmt>4.1</IntAmt> <NextPayAmt>9.1</NextPayAmt> <PayDate>1</PayDate> <PriAmt>3.1</PriAmt> <RliAmt>7</RliAmt> <TotalAmt>8.1</TotalAmt> </NextPayment> <ProdType>sample string 2</ProdType> <ProductId>6</ProductId> <ProductName>sample string 7</ProductName> <RemainingInterest>11.1</RemainingInterest> <RestAmount>13.1</RestAmount> <SignedDate>8</SignedDate> </Loan> <Loan> <Ccy>sample string 4</Ccy> <InitialPrincipal>10</InitialPrincipal> <InterestRate>12.1</InterestRate> <LastPayment> <AmountPaid>9.1</AmountPaid> <Ccy>sample string 10</Ccy> <Fee>5</Fee> <InsAmt>7</InsAmt> <Interest>3.1</Interest> <PaymentDate>1</PaymentDate> <Penalty>4</Penalty> <Principal>2.1</Principal> <RliAmt>8</RliAmt> <ScheduledFee>6.1</ScheduledFee> </LastPayment> <LoanKey>1</LoanKey> <LoanName>sample string 3</LoanName> <LoanType>sample string 5</LoanType> <MatureDate>9</MatureDate> <NextPayment> <Ccy>sample string 2</Ccy> <FeeAmt>5.1</FeeAmt> <InsAmt>6</InsAmt> <IntAmt>4.1</IntAmt> <NextPayAmt>9.1</NextPayAmt> <PayDate>1</PayDate> <PriAmt>3.1</PriAmt> <RliAmt>7</RliAmt> <TotalAmt>8.1</TotalAmt> </NextPayment> <ProdType>sample string 2</ProdType> <ProductId>6</ProductId> <ProductName>sample string 7</ProductName> <RemainingInterest>11.1</RemainingInterest> <RestAmount>13.1</RestAmount> <SignedDate>8</SignedDate> </Loan> </ArrayOfLoan>