GET api/v1/loanpart/{id}

Gets LoanPartDetails info by identifier

Requires authorization!

Response Codes

  • 200 - Successfully got LoanPartDetails with specified ID
  • 400 - LoanPart ID is not provided
  • 401 - User is not Authorized
  • 404 - LoanPart with the provided ID was not found

Request Information

URI Parameters

NameDescriptionTypeAdditional 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

ApiResultLoanPartDetails
NameDescriptionTypeAdditional information
Payload

The payload of the response. Type depends on the API request.

LoanPartDetails

None.

Success

Indicates if the request was successfull or not. true if the request was handled successfully, false otherwise.

boolean

Required

Errors

Error(s) accociated with the API request.

Collection of ApiError

None.

Response Formats

application/json, text/json

Sample:
{
  "Payload": {
    "LoanPartId": "787e4298-d3da-4fd0-b701-9580646cb340",
    "Amount": 2.0,
    "AuctionId": "11ecd7dc-f6b3-4024-aeb2-e9a3c234db5c",
    "AuctionName": "sample string-4",
    "AuctionNumber": 0,
    "AuctionBidNumber": 5,
    "InvestmentNumber": "sample string-5",
    "Country": "sample string-6",
    "CreditScore": 1.1,
    "CreditScoreEsMicroL": "sample string-7",
    "CreditScoreEsEquifaxRisk": "sample string-8",
    "CreditScoreFiAsiakasTietoRiskGrade": "sample string-9",
    "CreditScoreEeMini": "sample string-10",
    "Rating": "sample string-11",
    "InitialInterest": 12.0,
    "Interest": 13.0,
    "UseOfLoan": 0,
    "IncomeVerificationStatus": 1,
    "LoanId": "3b10d674-43d8-40f6-9464-8def6377b733",
    "LoanStatusCode": 15,
    "UserName": "sample string-16",
    "Gender": 0,
    "DateOfBirth": "2018-12-11T17:02:29.0932486+02:00",
    "SignedDate": "2018-12-11T17:02:29.0932486+02:00",
    "ReScheduledOn": "2018-12-11T17:02:29.0932486+02:00",
    "DebtOccuredOn": "2018-12-11T17:02:29.0932486+02:00",
    "DebtOccuredOnForSecondary": "2018-12-11T17:02:29.0942703+02:00",
    "LoanDuration": 17,
    "NextPaymentNr": 18,
    "NextPaymentDate": "2018-12-11T17:02:29.0942703+02:00",
    "NextPaymentSum": 1.0,
    "NrOfScheduledPayments": 19,
    "LastPaymentDate": "2018-12-11T17:02:29.0942703+02:00",
    "PrincipalRepaid": 21.0,
    "InterestRepaid": 22.0,
    "LateAmountPaid": 23.0,
    "PrincipalRemaining": -46.0,
    "PrincipalLateAmount": 24.0,
    "InterestLateAmount": 25.0,
    "PenaltyLateAmount": 26.0,
    "LateAmountTotal": 75.0,
    "PrincipalWriteOffAmount": 27.0,
    "InterestWriteOffAmount": 28.0,
    "PenaltyWriteOffAmount": 29.0,
    "WriteOffTotal": 84.0,
    "DebtServicingCostMainAmount": 30.0,
    "DebtServicingCostInterestAmount": 31.0,
    "DebtServicingCostPenaltyAmount": 32.0,
    "DebtServicingCostTotal": 93.0,
    "RepaidPrincipalCurrentOwner": 33.0,
    "RepaidInterestsCurrentOwner": 34.0,
    "LateChargesPaidCurrentOwner": 35.0,
    "RepaidTotalCurrentOwner": 36.0,
    "TotalRepaid": 37.0,
    "DebtManagmentEvents": [
      {
        "CreatedOn": "2018-12-11T17:02:29.0962415+02:00",
        "EventType": 1,
        "Description": "sample string-2"
      },
      {
        "CreatedOn": "2018-12-11T17:02:29.0962415+02:00",
        "EventType": 1,
        "Description": "sample string-2"
      }
    ],
    "LoanTransfers": [
      {
        "Date": "2018-12-11T17:02:29.0972584+02:00",
        "PrincipalAmount": 2.0,
        "InterestAmount": 3.0,
        "InterestAmountCarriedOver": 4.0,
        "PenaltyAmountCarriedOver": 5.0,
        "TotalAmount": 6.0
      },
      {
        "Date": "2018-12-11T17:02:29.0972584+02:00",
        "PrincipalAmount": 2.0,
        "InterestAmount": 3.0,
        "InterestAmountCarriedOver": 4.0,
        "PenaltyAmountCarriedOver": 5.0,
        "TotalAmount": 6.0
      }
    ],
    "ScheduledPayments": [
      {
        "ScheduledDate": "2018-12-11T17:02:29.0982568+02:00",
        "PrincipalAmount": 3.0,
        "PrincipalAmountLeft": 4.0,
        "InterestAmount": 5.0,
        "IntrestAmountCarriedOver": 6.0,
        "PenaltyAmountCarriedOver": 7.0,
        "TotalAmount": 21.0
      },
      {
        "ScheduledDate": "2018-12-11T17:02:29.0982568+02:00",
        "PrincipalAmount": 3.0,
        "PrincipalAmountLeft": 4.0,
        "InterestAmount": 5.0,
        "IntrestAmountCarriedOver": 6.0,
        "PenaltyAmountCarriedOver": 7.0,
        "TotalAmount": 21.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>2</Amount>
    <AuctionId>11ecd7dc-f6b3-4024-aeb2-e9a3c234db5c</AuctionId>
    <AuctionName>sample string-4</AuctionName>
    <Country>sample string-6</Country>
    <CreditScore>1.1</CreditScore>
    <CreditScoreEeMini>sample string-10</CreditScoreEeMini>
    <CreditScoreEsEquifaxRisk>sample string-8</CreditScoreEsEquifaxRisk>
    <CreditScoreEsMicroL>sample string-7</CreditScoreEsMicroL>
    <CreditScoreFiAsiakasTietoRiskGrade>sample string-9</CreditScoreFiAsiakasTietoRiskGrade>
    <DateOfBirth>2018-12-11T17:02:29.0932486+02:00</DateOfBirth>
    <DebtManagmentEvents>
      <DebtManagementEvent>
        <CreatedOn>2018-12-11T17:02:29.0962415+02:00</CreatedOn>
        <Description>sample string-2</Description>
        <EventType>Message</EventType>
      </DebtManagementEvent>
      <DebtManagementEvent>
        <CreatedOn>2018-12-11T17:02:29.0962415+02:00</CreatedOn>
        <Description>sample string-2</Description>
        <EventType>Message</EventType>
      </DebtManagementEvent>
    </DebtManagmentEvents>
    <DebtOccuredOn>2018-12-11T17:02:29.0932486+02:00</DebtOccuredOn>
    <DebtOccuredOnForSecondary>2018-12-11T17:02:29.0942703+02:00</DebtOccuredOnForSecondary>
    <DebtServicingCostInterestAmount>31</DebtServicingCostInterestAmount>
    <DebtServicingCostMainAmount>30</DebtServicingCostMainAmount>
    <DebtServicingCostPenaltyAmount>32</DebtServicingCostPenaltyAmount>
    <Gender>Male</Gender>
    <IncomeVerificationStatus>NotVerified</IncomeVerificationStatus>
    <InitialInterest>12</InitialInterest>
    <Interest>13</Interest>
    <InterestLateAmount>25</InterestLateAmount>
    <InterestRepaid>22</InterestRepaid>
    <InterestWriteOffAmount>28</InterestWriteOffAmount>
    <InvestmentNumber>sample string-5</InvestmentNumber>
    <LastPaymentDate>2018-12-11T17:02:29.0942703+02:00</LastPaymentDate>
    <LateAmountPaid>23</LateAmountPaid>
    <LateChargesPaidCurrentOwner>35</LateChargesPaidCurrentOwner>
    <LoanDuration>17</LoanDuration>
    <LoanId>3b10d674-43d8-40f6-9464-8def6377b733</LoanId>
    <LoanPartId>787e4298-d3da-4fd0-b701-9580646cb340</LoanPartId>
    <LoanStatusCode>15</LoanStatusCode>
    <LoanTransfers>
      <LoanTransfer>
        <Date>2018-12-11T17:02:29.0972584+02:00</Date>
        <InterestAmount>3</InterestAmount>
        <InterestAmountCarriedOver>4</InterestAmountCarriedOver>
        <PenaltyAmountCarriedOver>5</PenaltyAmountCarriedOver>
        <PrincipalAmount>2</PrincipalAmount>
        <TotalAmount>6</TotalAmount>
      </LoanTransfer>
      <LoanTransfer>
        <Date>2018-12-11T17:02:29.0972584+02:00</Date>
        <InterestAmount>3</InterestAmount>
        <InterestAmountCarriedOver>4</InterestAmountCarriedOver>
        <PenaltyAmountCarriedOver>5</PenaltyAmountCarriedOver>
        <PrincipalAmount>2</PrincipalAmount>
        <TotalAmount>6</TotalAmount>
      </LoanTransfer>
    </LoanTransfers>
    <NextPaymentDate>2018-12-11T17:02:29.0942703+02:00</NextPaymentDate>
    <NextPaymentNr>18</NextPaymentNr>
    <NextPaymentSum>1</NextPaymentSum>
    <NrOfScheduledPayments>19</NrOfScheduledPayments>
    <PenaltyLateAmount>26</PenaltyLateAmount>
    <PenaltyWriteOffAmount>29</PenaltyWriteOffAmount>
    <PrincipalLateAmount>24</PrincipalLateAmount>
    <PrincipalRepaid>21</PrincipalRepaid>
    <PrincipalWriteOffAmount>27</PrincipalWriteOffAmount>
    <Rating>sample string-11</Rating>
    <ReScheduledOn>2018-12-11T17:02:29.0932486+02:00</ReScheduledOn>
    <RepaidInterestsCurrentOwner>34</RepaidInterestsCurrentOwner>
    <RepaidPrincipalCurrentOwner>33</RepaidPrincipalCurrentOwner>
    <RepaidTotalCurrentOwner>36</RepaidTotalCurrentOwner>
    <ScheduledPayments>
      <ScheduledPayment>
        <InterestAmount>5</InterestAmount>
        <IntrestAmountCarriedOver>6</IntrestAmountCarriedOver>
        <PenaltyAmountCarriedOver>7</PenaltyAmountCarriedOver>
        <PrincipalAmount>3</PrincipalAmount>
        <PrincipalAmountLeft>4</PrincipalAmountLeft>
        <ScheduledDate>2018-12-11T17:02:29.0982568+02:00</ScheduledDate>
      </ScheduledPayment>
      <ScheduledPayment>
        <InterestAmount>5</InterestAmount>
        <IntrestAmountCarriedOver>6</IntrestAmountCarriedOver>
        <PenaltyAmountCarriedOver>7</PenaltyAmountCarriedOver>
        <PrincipalAmount>3</PrincipalAmount>
        <PrincipalAmountLeft>4</PrincipalAmountLeft>
        <ScheduledDate>2018-12-11T17:02:29.0982568+02:00</ScheduledDate>
      </ScheduledPayment>
    </ScheduledPayments>
    <SignedDate>2018-12-11T17:02:29.0932486+02:00</SignedDate>
    <TotalRepaid>37</TotalRepaid>
    <UseOfLoan>DebtConsolidation</UseOfLoan>
    <UserName>sample string-16</UserName>
  </Payload>
</ApiResultLoanPartDetails>