GET api/v1/loanpart/list

Gets LoanPartDetails info by identifiers in a list (up to 1000 items).

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

None.

Body Parameters

LoanPartDetails identifiers list. This endpoint supports both GET and POST methods. If using this endpoint with the GET method the request data must be sent with the request body, even though it is a GET request. The "Content-Type" header must be set so the server knows how to decode the data.

LoanPartDetailsRequest
NameDescriptionTypeAdditional information
ItemIds

LoanPart ID's to list. Limited to 1000 items.

Collection of globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "ItemIds": [
    "140ed049-eff4-44f9-8ba1-548196c29076",
    "d8eba982-5b92-4344-8f93-23e5df9baf08"
  ]
}

application/xml, text/xml

Sample:
<LoanPartDetailsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sobralaen.Api.Models">
  <ItemIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>140ed049-eff4-44f9-8ba1-548196c29076</d2p1:guid>
    <d2p1:guid>d8eba982-5b92-4344-8f93-23e5df9baf08</d2p1:guid>
  </ItemIds>
</LoanPartDetailsRequest>

application/x-www-form-urlencoded

Sample:
ItemIds[0]=140ed049-eff4-44f9-8ba1-548196c29076&ItemIds[1]=d8eba982-5b92-4344-8f93-23e5df9baf08

Response Information

Resource Description

Gets LoanPartDetails info by identifiers in a list (up to 1000 items).
ApiResultAuction with LoanPartDetails set to Payload property, mapped 1:1 to the input ID's; null where not found

ApiResultLoanPartDetailsList
NameDescriptionTypeAdditional information
Payload

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

Collection of 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": [
    {
      "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.784648+02:00",
          "EventType": 1,
          "Description": "sample string-4"
        },
        {
          "CreatedOn": "2024-12-17T02:25:25.784648+02:00",
          "EventType": 1,
          "Description": "sample string-4"
        }
      ],
      "LoanTransfers": [
        {
          "Date": "2024-12-17T02:25:25.784648+02:00",
          "PrincipalAmount": 3.0,
          "InterestAmount": 4.0,
          "InterestAmountCarriedOver": 5.0,
          "PenaltyAmountCarriedOver": 6.0,
          "TotalAmount": 7.0
        },
        {
          "Date": "2024-12-17T02:25:25.784648+02:00",
          "PrincipalAmount": 3.0,
          "InterestAmount": 4.0,
          "InterestAmountCarriedOver": 5.0,
          "PenaltyAmountCarriedOver": 6.0,
          "TotalAmount": 7.0
        }
      ],
      "ScheduledPayments": [
        {
          "ScheduledDate": "2024-12-17T02:25:25.784648+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.784648+02:00",
          "PrincipalAmount": 3.0,
          "PrincipalAmountLeft": 4.0,
          "InterestAmount": 5.0,
          "IntrestAmountCarriedOver": 6.0,
          "PenaltyAmountCarriedOver": 7.0,
          "TotalAmount": 21.0
        }
      ],
      "LoanId": "dedc7588-09a6-4e4f-a45a-c6fde45d8cf0",
      "LoanDuration": 8,
      "CreditScoreEsMicroL": "sample string-9",
      "CreditScoreEsEquifaxRisk": "sample string-10",
      "CreditScoreFiAsiakasTietoRiskGrade": "sample string-11",
      "CreditScoreEeMini": "sample string-12",
      "LoanPartId": "a643fda3-e931-4369-9997-394754dce544",
      "Amount": 14.0,
      "AuctionId": "35b413e1-0ad5-4c93-a07b-53282e3c929c",
      "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.784648+02:00",
      "SignedDate": "2024-12-17T02:25:25.784648+02:00",
      "ReScheduledOn": "2024-12-17T02:25:25.784648+02:00",
      "DebtOccuredOn": "2024-12-17T02:25:25.784648+02:00",
      "DebtOccuredOnForSecondary": "2024-12-17T02:25:25.784648+02:00",
      "NextPaymentNr": 23,
      "NextPaymentDate": "2024-12-17T02:25:25.784648+02:00",
      "NextPaymentSum": 1.0,
      "NrOfScheduledPayments": 24,
      "LastPaymentDate": "2024-12-17T02:25:25.784648+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
    },
    {
      "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.784648+02:00",
          "EventType": 1,
          "Description": "sample string-4"
        },
        {
          "CreatedOn": "2024-12-17T02:25:25.784648+02:00",
          "EventType": 1,
          "Description": "sample string-4"
        }
      ],
      "LoanTransfers": [
        {
          "Date": "2024-12-17T02:25:25.784648+02:00",
          "PrincipalAmount": 3.0,
          "InterestAmount": 4.0,
          "InterestAmountCarriedOver": 5.0,
          "PenaltyAmountCarriedOver": 6.0,
          "TotalAmount": 7.0
        },
        {
          "Date": "2024-12-17T02:25:25.784648+02:00",
          "PrincipalAmount": 3.0,
          "InterestAmount": 4.0,
          "InterestAmountCarriedOver": 5.0,
          "PenaltyAmountCarriedOver": 6.0,
          "TotalAmount": 7.0
        }
      ],
      "ScheduledPayments": [
        {
          "ScheduledDate": "2024-12-17T02:25:25.784648+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.784648+02:00",
          "PrincipalAmount": 3.0,
          "PrincipalAmountLeft": 4.0,
          "InterestAmount": 5.0,
          "IntrestAmountCarriedOver": 6.0,
          "PenaltyAmountCarriedOver": 7.0,
          "TotalAmount": 21.0
        }
      ],
      "LoanId": "dedc7588-09a6-4e4f-a45a-c6fde45d8cf0",
      "LoanDuration": 8,
      "CreditScoreEsMicroL": "sample string-9",
      "CreditScoreEsEquifaxRisk": "sample string-10",
      "CreditScoreFiAsiakasTietoRiskGrade": "sample string-11",
      "CreditScoreEeMini": "sample string-12",
      "LoanPartId": "a643fda3-e931-4369-9997-394754dce544",
      "Amount": 14.0,
      "AuctionId": "35b413e1-0ad5-4c93-a07b-53282e3c929c",
      "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.784648+02:00",
      "SignedDate": "2024-12-17T02:25:25.784648+02:00",
      "ReScheduledOn": "2024-12-17T02:25:25.784648+02:00",
      "DebtOccuredOn": "2024-12-17T02:25:25.784648+02:00",
      "DebtOccuredOnForSecondary": "2024-12-17T02:25:25.784648+02:00",
      "NextPaymentNr": 23,
      "NextPaymentDate": "2024-12-17T02:25:25.784648+02:00",
      "NextPaymentSum": 1.0,
      "NrOfScheduledPayments": 24,
      "LastPaymentDate": "2024-12-17T02:25:25.784648+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:
<ApiResultLoanPartDetailsList 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>
    <LoanPartDetails>
      <Amount>14</Amount>
      <AuctionId>35b413e1-0ad5-4c93-a07b-53282e3c929c</AuctionId>
      <AuctionName>sample string-16</AuctionName>
      <Country>sample string-18</Country>
      <CreditScore>1.1</CreditScore>
      <DateOfBirth>2024-12-17T02:25:25.784648+02:00</DateOfBirth>
      <DebtOccuredOn>2024-12-17T02:25:25.784648+02:00</DebtOccuredOn>
      <DebtOccuredOnForSecondary>2024-12-17T02:25:25.784648+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.784648+02:00</LastPaymentDate>
      <LateAmountPaid>27</LateAmountPaid>
      <LoanPartId>a643fda3-e931-4369-9997-394754dce544</LoanPartId>
      <LoanStatusCode>21</LoanStatusCode>
      <NextPaymentDate>2024-12-17T02:25:25.784648+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.784648+02:00</ReScheduledOn>
      <SignedDate>2024-12-17T02:25:25.784648+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>dedc7588-09a6-4e4f-a45a-c6fde45d8cf0</LoanId>
      <DebtManagmentEvents>
        <DebtManagementEvent>
          <CreatedOn>2024-12-17T02:25:25.784648+02:00</CreatedOn>
          <Description>sample string-4</Description>
          <EventType>Message</EventType>
        </DebtManagementEvent>
        <DebtManagementEvent>
          <CreatedOn>2024-12-17T02:25:25.784648+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.784648+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.784648+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.784648+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.784648+02:00</ScheduledDate>
        </ScheduledPayment>
      </ScheduledPayments>
      <TotalRepaid>6</TotalRepaid>
    </LoanPartDetails>
    <LoanPartDetails>
      <Amount>14</Amount>
      <AuctionId>35b413e1-0ad5-4c93-a07b-53282e3c929c</AuctionId>
      <AuctionName>sample string-16</AuctionName>
      <Country>sample string-18</Country>
      <CreditScore>1.1</CreditScore>
      <DateOfBirth>2024-12-17T02:25:25.784648+02:00</DateOfBirth>
      <DebtOccuredOn>2024-12-17T02:25:25.784648+02:00</DebtOccuredOn>
      <DebtOccuredOnForSecondary>2024-12-17T02:25:25.784648+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.784648+02:00</LastPaymentDate>
      <LateAmountPaid>27</LateAmountPaid>
      <LoanPartId>a643fda3-e931-4369-9997-394754dce544</LoanPartId>
      <LoanStatusCode>21</LoanStatusCode>
      <NextPaymentDate>2024-12-17T02:25:25.784648+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.784648+02:00</ReScheduledOn>
      <SignedDate>2024-12-17T02:25:25.784648+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>dedc7588-09a6-4e4f-a45a-c6fde45d8cf0</LoanId>
      <DebtManagmentEvents>
        <DebtManagementEvent>
          <CreatedOn>2024-12-17T02:25:25.784648+02:00</CreatedOn>
          <Description>sample string-4</Description>
          <EventType>Message</EventType>
        </DebtManagementEvent>
        <DebtManagementEvent>
          <CreatedOn>2024-12-17T02:25:25.784648+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.784648+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.784648+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.784648+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.784648+02:00</ScheduledDate>
        </ScheduledPayment>
      </ScheduledPayments>
      <TotalRepaid>6</TotalRepaid>
    </LoanPartDetails>
  </Payload>
</ApiResultLoanPartDetailsList>