GET api/v1/loanpart/{id}
Gets LoanPartDetails info by identifier
Requires authorization!
Response Codes
200
– Successfully got LoanPartDetails with specified ID400
– LoanPart ID is not provided401
– User is not Authorized404
– LoanPart with the provided ID was not found
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
LoanPartDetails's identifier |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Gets LoanPartDetails info by identifier
ApiResultAuction with LoanPartDetails set to Payload property
Name | Description | Type | Additional information |
---|---|---|---|
Payload |
The payload of the response. Type depends on the API request. |
LoanPartDetails |
None. |
Success |
Indicates if the request was successfull or not.
|
boolean |
Required |
Errors |
Error(s) accociated with the API request. |
Collection of ApiError |
None. |
Response Formats
application/json, text/json
Sample:
{ "Payload": { "InitialInterest": 1.0, "RescheduledInterest": 1.0, "WriteOffTotal": 96.0, "DebtServicingCostTotal": 105.0, "RepaidPrincipalCurrentOwner": 2.0, "RepaidInterestsCurrentOwner": 3.0, "LateChargesPaidCurrentOwner": 4.0, "RepaidTotalCurrentOwner": 5.0, "TotalRepaid": 6.0, "DebtManagmentEvents": [ { "CreatedOn": "2024-12-17T02:25:25.7336596+02:00", "EventType": 1, "Description": "sample string-4" }, { "CreatedOn": "2024-12-17T02:25:25.7336596+02:00", "EventType": 1, "Description": "sample string-4" } ], "LoanTransfers": [ { "Date": "2024-12-17T02:25:25.7336596+02:00", "PrincipalAmount": 3.0, "InterestAmount": 4.0, "InterestAmountCarriedOver": 5.0, "PenaltyAmountCarriedOver": 6.0, "TotalAmount": 7.0 }, { "Date": "2024-12-17T02:25:25.7336596+02:00", "PrincipalAmount": 3.0, "InterestAmount": 4.0, "InterestAmountCarriedOver": 5.0, "PenaltyAmountCarriedOver": 6.0, "TotalAmount": 7.0 } ], "ScheduledPayments": [ { "ScheduledDate": "2024-12-17T02:25:25.7336596+02:00", "PrincipalAmount": 3.0, "PrincipalAmountLeft": 4.0, "InterestAmount": 5.0, "IntrestAmountCarriedOver": 6.0, "PenaltyAmountCarriedOver": 7.0, "TotalAmount": 21.0 }, { "ScheduledDate": "2024-12-17T02:25:25.7336596+02:00", "PrincipalAmount": 3.0, "PrincipalAmountLeft": 4.0, "InterestAmount": 5.0, "IntrestAmountCarriedOver": 6.0, "PenaltyAmountCarriedOver": 7.0, "TotalAmount": 21.0 } ], "LoanId": "dd2eefef-0765-4d67-b8be-a20e6d077007", "LoanDuration": 8, "CreditScoreEsMicroL": "sample string-9", "CreditScoreEsEquifaxRisk": "sample string-10", "CreditScoreFiAsiakasTietoRiskGrade": "sample string-11", "CreditScoreEeMini": "sample string-12", "LoanPartId": "38f92976-0141-4008-9e05-2e7117ff87cf", "Amount": 14.0, "AuctionId": "864d9392-85a5-4526-b565-b82fe50ca0de", "AuctionName": "sample string-16", "AuctionNumber": 0, "AuctionBidNumber": 17, "InvestmentNumber": "sample string-17", "Country": "sample string-18", "CreditScore": 1.1, "Rating": "sample string-19", "Interest": 20.0, "UseOfLoan": 0, "IncomeVerificationStatus": 1, "LoanStatusCode": 21, "UserName": "sample string-22", "Gender": 0, "DateOfBirth": "2024-12-17T02:25:25.7336596+02:00", "SignedDate": "2024-12-17T02:25:25.7336596+02:00", "ReScheduledOn": "2024-12-17T02:25:25.7336596+02:00", "DebtOccuredOn": "2024-12-17T02:25:25.7336596+02:00", "DebtOccuredOnForSecondary": "2024-12-17T02:25:25.7336596+02:00", "NextPaymentNr": 23, "NextPaymentDate": "2024-12-17T02:25:25.7336596+02:00", "NextPaymentSum": 1.0, "NrOfScheduledPayments": 24, "LastPaymentDate": "2024-12-17T02:25:25.7336596+02:00", "PrincipalRepaid": 25.0, "InterestRepaid": 26.0, "LateAmountPaid": 27.0, "PrincipalRemaining": -76.0, "PrincipalLateAmount": 28.0, "InterestLateAmount": 29.0, "PenaltyLateAmount": 30.0, "LateAmountTotal": 87.0, "PrincipalWriteOffAmount": 31.0, "InterestWriteOffAmount": 32.0, "PenaltyWriteOffAmount": 33.0, "DebtServicingCostMainAmount": 34.0, "DebtServicingCostInterestAmount": 35.0, "DebtServicingCostPenaltyAmount": 36.0 }, "Success": true, "Errors": [ { "Code": 1, "Message": "sample string-2", "Details": "sample string-3" }, { "Code": 1, "Message": "sample string-2", "Details": "sample string-3" } ] }
application/xml, text/xml
Sample:
<ApiResultLoanPartDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sobralaen.Api.Models"> <Errors> <ApiError> <Code>1</Code> <Details>sample string-3</Details> <Message>sample string-2</Message> </ApiError> <ApiError> <Code>1</Code> <Details>sample string-3</Details> <Message>sample string-2</Message> </ApiError> </Errors> <Success>true</Success> <Payload> <Amount>14</Amount> <AuctionId>864d9392-85a5-4526-b565-b82fe50ca0de</AuctionId> <AuctionName>sample string-16</AuctionName> <Country>sample string-18</Country> <CreditScore>1.1</CreditScore> <DateOfBirth>2024-12-17T02:25:25.7336596+02:00</DateOfBirth> <DebtOccuredOn>2024-12-17T02:25:25.7336596+02:00</DebtOccuredOn> <DebtOccuredOnForSecondary>2024-12-17T02:25:25.7336596+02:00</DebtOccuredOnForSecondary> <DebtServicingCostInterestAmount>35</DebtServicingCostInterestAmount> <DebtServicingCostMainAmount>34</DebtServicingCostMainAmount> <DebtServicingCostPenaltyAmount>36</DebtServicingCostPenaltyAmount> <Gender>Male</Gender> <IncomeVerificationStatus>NotVerified</IncomeVerificationStatus> <Interest>20</Interest> <InterestLateAmount>29</InterestLateAmount> <InterestRepaid>26</InterestRepaid> <InterestWriteOffAmount>32</InterestWriteOffAmount> <InvestmentNumber>sample string-17</InvestmentNumber> <LastPaymentDate>2024-12-17T02:25:25.7336596+02:00</LastPaymentDate> <LateAmountPaid>27</LateAmountPaid> <LoanPartId>38f92976-0141-4008-9e05-2e7117ff87cf</LoanPartId> <LoanStatusCode>21</LoanStatusCode> <NextPaymentDate>2024-12-17T02:25:25.7336596+02:00</NextPaymentDate> <NextPaymentNr>23</NextPaymentNr> <NextPaymentSum>1</NextPaymentSum> <NrOfScheduledPayments>24</NrOfScheduledPayments> <PenaltyLateAmount>30</PenaltyLateAmount> <PenaltyWriteOffAmount>33</PenaltyWriteOffAmount> <PrincipalLateAmount>28</PrincipalLateAmount> <PrincipalRepaid>25</PrincipalRepaid> <PrincipalWriteOffAmount>31</PrincipalWriteOffAmount> <Rating>sample string-19</Rating> <ReScheduledOn>2024-12-17T02:25:25.7336596+02:00</ReScheduledOn> <SignedDate>2024-12-17T02:25:25.7336596+02:00</SignedDate> <UseOfLoan>DebtConsolidation</UseOfLoan> <UserName>sample string-22</UserName> <CreditScoreEeMini>sample string-12</CreditScoreEeMini> <CreditScoreEsEquifaxRisk>sample string-10</CreditScoreEsEquifaxRisk> <CreditScoreEsMicroL>sample string-9</CreditScoreEsMicroL> <CreditScoreFiAsiakasTietoRiskGrade>sample string-11</CreditScoreFiAsiakasTietoRiskGrade> <LoanDuration>8</LoanDuration> <LoanId>dd2eefef-0765-4d67-b8be-a20e6d077007</LoanId> <DebtManagmentEvents> <DebtManagementEvent> <CreatedOn>2024-12-17T02:25:25.7336596+02:00</CreatedOn> <Description>sample string-4</Description> <EventType>Message</EventType> </DebtManagementEvent> <DebtManagementEvent> <CreatedOn>2024-12-17T02:25:25.7336596+02:00</CreatedOn> <Description>sample string-4</Description> <EventType>Message</EventType> </DebtManagementEvent> </DebtManagmentEvents> <InitialInterest>1</InitialInterest> <LateChargesPaidCurrentOwner>4</LateChargesPaidCurrentOwner> <LoanTransfers> <LoanTransfer> <Date>2024-12-17T02:25:25.7336596+02:00</Date> <InterestAmount>4</InterestAmount> <InterestAmountCarriedOver>5</InterestAmountCarriedOver> <PenaltyAmountCarriedOver>6</PenaltyAmountCarriedOver> <PrincipalAmount>3</PrincipalAmount> <TotalAmount>7</TotalAmount> </LoanTransfer> <LoanTransfer> <Date>2024-12-17T02:25:25.7336596+02:00</Date> <InterestAmount>4</InterestAmount> <InterestAmountCarriedOver>5</InterestAmountCarriedOver> <PenaltyAmountCarriedOver>6</PenaltyAmountCarriedOver> <PrincipalAmount>3</PrincipalAmount> <TotalAmount>7</TotalAmount> </LoanTransfer> </LoanTransfers> <RepaidInterestsCurrentOwner>3</RepaidInterestsCurrentOwner> <RepaidPrincipalCurrentOwner>2</RepaidPrincipalCurrentOwner> <RepaidTotalCurrentOwner>5</RepaidTotalCurrentOwner> <RescheduledInterest>1</RescheduledInterest> <ScheduledPayments> <ScheduledPayment> <InterestAmount>5</InterestAmount> <IntrestAmountCarriedOver>6</IntrestAmountCarriedOver> <PenaltyAmountCarriedOver>7</PenaltyAmountCarriedOver> <PrincipalAmount>3</PrincipalAmount> <PrincipalAmountLeft>4</PrincipalAmountLeft> <ScheduledDate>2024-12-17T02:25:25.7336596+02:00</ScheduledDate> </ScheduledPayment> <ScheduledPayment> <InterestAmount>5</InterestAmount> <IntrestAmountCarriedOver>6</IntrestAmountCarriedOver> <PenaltyAmountCarriedOver>7</PenaltyAmountCarriedOver> <PrincipalAmount>3</PrincipalAmount> <PrincipalAmountLeft>4</PrincipalAmountLeft> <ScheduledDate>2024-12-17T02:25:25.7336596+02:00</ScheduledDate> </ScheduledPayment> </ScheduledPayments> <TotalRepaid>6</TotalRepaid> </Payload> </ApiResultLoanPartDetails>