POST 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": [
    "638cecc0-6ba9-4fc9-936a-39dfa1209d33",
    "01b379ad-4f04-476e-8479-d0c1f403d266"
  ]
}

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>638cecc0-6ba9-4fc9-936a-39dfa1209d33</d2p1:guid>
    <d2p1:guid>01b379ad-4f04-476e-8479-d0c1f403d266</d2p1:guid>
  </ItemIds>
</LoanPartDetailsRequest>

application/x-www-form-urlencoded

Sample:
ItemIds[0]=638cecc0-6ba9-4fc9-936a-39dfa1209d33&ItemIds[1]=01b379ad-4f04-476e-8479-d0c1f403d266

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-10-31T15:35:53.965352+02:00",
          "EventType": 1,
          "Description": "sample string-4"
        },
        {
          "CreatedOn": "2024-10-31T15:35:53.965352+02:00",
          "EventType": 1,
          "Description": "sample string-4"
        }
      ],
      "LoanTransfers": [
        {
          "Date": "2024-10-31T15:35:53.965352+02:00",
          "PrincipalAmount": 3.0,
          "InterestAmount": 4.0,
          "InterestAmountCarriedOver": 5.0,
          "PenaltyAmountCarriedOver": 6.0,
          "TotalAmount": 7.0
        },
        {
          "Date": "2024-10-31T15:35:53.965352+02:00",
          "PrincipalAmount": 3.0,
          "InterestAmount": 4.0,
          "InterestAmountCarriedOver": 5.0,
          "PenaltyAmountCarriedOver": 6.0,
          "TotalAmount": 7.0
        }
      ],
      "ScheduledPayments": [
        {
          "ScheduledDate": "2024-10-31T15:35:53.965352+02:00",
          "PrincipalAmount": 3.0,
          "PrincipalAmountLeft": 4.0,
          "InterestAmount": 5.0,
          "IntrestAmountCarriedOver": 6.0,
          "PenaltyAmountCarriedOver": 7.0,
          "TotalAmount": 21.0
        },
        {
          "ScheduledDate": "2024-10-31T15:35:53.965352+02:00",
          "PrincipalAmount": 3.0,
          "PrincipalAmountLeft": 4.0,
          "InterestAmount": 5.0,
          "IntrestAmountCarriedOver": 6.0,
          "PenaltyAmountCarriedOver": 7.0,
          "TotalAmount": 21.0
        }
      ],
      "LoanId": "92d75298-3dbf-4e2f-9f14-609287ff23e0",
      "LoanDuration": 8,
      "CreditScoreEsMicroL": "sample string-9",
      "CreditScoreEsEquifaxRisk": "sample string-10",
      "CreditScoreFiAsiakasTietoRiskGrade": "sample string-11",
      "CreditScoreEeMini": "sample string-12",
      "LoanPartId": "17acb9dd-e1c9-4e42-a36e-4aee41ceed88",
      "Amount": 14.0,
      "AuctionId": "0f8e1042-4dc1-47f4-b4f6-f7eeb74aebc5",
      "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-10-31T15:35:53.965352+02:00",
      "SignedDate": "2024-10-31T15:35:53.965352+02:00",
      "ReScheduledOn": "2024-10-31T15:35:53.965352+02:00",
      "DebtOccuredOn": "2024-10-31T15:35:53.965352+02:00",
      "DebtOccuredOnForSecondary": "2024-10-31T15:35:53.965352+02:00",
      "NextPaymentNr": 23,
      "NextPaymentDate": "2024-10-31T15:35:53.965352+02:00",
      "NextPaymentSum": 1.0,
      "NrOfScheduledPayments": 24,
      "LastPaymentDate": "2024-10-31T15:35:53.965352+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-10-31T15:35:53.965352+02:00",
          "EventType": 1,
          "Description": "sample string-4"
        },
        {
          "CreatedOn": "2024-10-31T15:35:53.965352+02:00",
          "EventType": 1,
          "Description": "sample string-4"
        }
      ],
      "LoanTransfers": [
        {
          "Date": "2024-10-31T15:35:53.965352+02:00",
          "PrincipalAmount": 3.0,
          "InterestAmount": 4.0,
          "InterestAmountCarriedOver": 5.0,
          "PenaltyAmountCarriedOver": 6.0,
          "TotalAmount": 7.0
        },
        {
          "Date": "2024-10-31T15:35:53.965352+02:00",
          "PrincipalAmount": 3.0,
          "InterestAmount": 4.0,
          "InterestAmountCarriedOver": 5.0,
          "PenaltyAmountCarriedOver": 6.0,
          "TotalAmount": 7.0
        }
      ],
      "ScheduledPayments": [
        {
          "ScheduledDate": "2024-10-31T15:35:53.965352+02:00",
          "PrincipalAmount": 3.0,
          "PrincipalAmountLeft": 4.0,
          "InterestAmount": 5.0,
          "IntrestAmountCarriedOver": 6.0,
          "PenaltyAmountCarriedOver": 7.0,
          "TotalAmount": 21.0
        },
        {
          "ScheduledDate": "2024-10-31T15:35:53.965352+02:00",
          "PrincipalAmount": 3.0,
          "PrincipalAmountLeft": 4.0,
          "InterestAmount": 5.0,
          "IntrestAmountCarriedOver": 6.0,
          "PenaltyAmountCarriedOver": 7.0,
          "TotalAmount": 21.0
        }
      ],
      "LoanId": "92d75298-3dbf-4e2f-9f14-609287ff23e0",
      "LoanDuration": 8,
      "CreditScoreEsMicroL": "sample string-9",
      "CreditScoreEsEquifaxRisk": "sample string-10",
      "CreditScoreFiAsiakasTietoRiskGrade": "sample string-11",
      "CreditScoreEeMini": "sample string-12",
      "LoanPartId": "17acb9dd-e1c9-4e42-a36e-4aee41ceed88",
      "Amount": 14.0,
      "AuctionId": "0f8e1042-4dc1-47f4-b4f6-f7eeb74aebc5",
      "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-10-31T15:35:53.965352+02:00",
      "SignedDate": "2024-10-31T15:35:53.965352+02:00",
      "ReScheduledOn": "2024-10-31T15:35:53.965352+02:00",
      "DebtOccuredOn": "2024-10-31T15:35:53.965352+02:00",
      "DebtOccuredOnForSecondary": "2024-10-31T15:35:53.965352+02:00",
      "NextPaymentNr": 23,
      "NextPaymentDate": "2024-10-31T15:35:53.965352+02:00",
      "NextPaymentSum": 1.0,
      "NrOfScheduledPayments": 24,
      "LastPaymentDate": "2024-10-31T15:35:53.965352+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>0f8e1042-4dc1-47f4-b4f6-f7eeb74aebc5</AuctionId>
      <AuctionName>sample string-16</AuctionName>
      <Country>sample string-18</Country>
      <CreditScore>1.1</CreditScore>
      <DateOfBirth>2024-10-31T15:35:53.965352+02:00</DateOfBirth>
      <DebtOccuredOn>2024-10-31T15:35:53.965352+02:00</DebtOccuredOn>
      <DebtOccuredOnForSecondary>2024-10-31T15:35:53.965352+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-10-31T15:35:53.965352+02:00</LastPaymentDate>
      <LateAmountPaid>27</LateAmountPaid>
      <LoanPartId>17acb9dd-e1c9-4e42-a36e-4aee41ceed88</LoanPartId>
      <LoanStatusCode>21</LoanStatusCode>
      <NextPaymentDate>2024-10-31T15:35:53.965352+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-10-31T15:35:53.965352+02:00</ReScheduledOn>
      <SignedDate>2024-10-31T15:35:53.965352+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>92d75298-3dbf-4e2f-9f14-609287ff23e0</LoanId>
      <DebtManagmentEvents>
        <DebtManagementEvent>
          <CreatedOn>2024-10-31T15:35:53.965352+02:00</CreatedOn>
          <Description>sample string-4</Description>
          <EventType>Message</EventType>
        </DebtManagementEvent>
        <DebtManagementEvent>
          <CreatedOn>2024-10-31T15:35:53.965352+02:00</CreatedOn>
          <Description>sample string-4</Description>
          <EventType>Message</EventType>
        </DebtManagementEvent>
      </DebtManagmentEvents>
      <InitialInterest>1</InitialInterest>
      <LateChargesPaidCurrentOwner>4</LateChargesPaidCurrentOwner>
      <LoanTransfers>
        <LoanTransfer>
          <Date>2024-10-31T15:35:53.965352+02:00</Date>
          <InterestAmount>4</InterestAmount>
          <InterestAmountCarriedOver>5</InterestAmountCarriedOver>
          <PenaltyAmountCarriedOver>6</PenaltyAmountCarriedOver>
          <PrincipalAmount>3</PrincipalAmount>
          <TotalAmount>7</TotalAmount>
        </LoanTransfer>
        <LoanTransfer>
          <Date>2024-10-31T15:35:53.965352+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-10-31T15:35:53.965352+02:00</ScheduledDate>
        </ScheduledPayment>
        <ScheduledPayment>
          <InterestAmount>5</InterestAmount>
          <IntrestAmountCarriedOver>6</IntrestAmountCarriedOver>
          <PenaltyAmountCarriedOver>7</PenaltyAmountCarriedOver>
          <PrincipalAmount>3</PrincipalAmount>
          <PrincipalAmountLeft>4</PrincipalAmountLeft>
          <ScheduledDate>2024-10-31T15:35:53.965352+02:00</ScheduledDate>
        </ScheduledPayment>
      </ScheduledPayments>
      <TotalRepaid>6</TotalRepaid>
    </LoanPartDetails>
    <LoanPartDetails>
      <Amount>14</Amount>
      <AuctionId>0f8e1042-4dc1-47f4-b4f6-f7eeb74aebc5</AuctionId>
      <AuctionName>sample string-16</AuctionName>
      <Country>sample string-18</Country>
      <CreditScore>1.1</CreditScore>
      <DateOfBirth>2024-10-31T15:35:53.965352+02:00</DateOfBirth>
      <DebtOccuredOn>2024-10-31T15:35:53.965352+02:00</DebtOccuredOn>
      <DebtOccuredOnForSecondary>2024-10-31T15:35:53.965352+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-10-31T15:35:53.965352+02:00</LastPaymentDate>
      <LateAmountPaid>27</LateAmountPaid>
      <LoanPartId>17acb9dd-e1c9-4e42-a36e-4aee41ceed88</LoanPartId>
      <LoanStatusCode>21</LoanStatusCode>
      <NextPaymentDate>2024-10-31T15:35:53.965352+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-10-31T15:35:53.965352+02:00</ReScheduledOn>
      <SignedDate>2024-10-31T15:35:53.965352+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>92d75298-3dbf-4e2f-9f14-609287ff23e0</LoanId>
      <DebtManagmentEvents>
        <DebtManagementEvent>
          <CreatedOn>2024-10-31T15:35:53.965352+02:00</CreatedOn>
          <Description>sample string-4</Description>
          <EventType>Message</EventType>
        </DebtManagementEvent>
        <DebtManagementEvent>
          <CreatedOn>2024-10-31T15:35:53.965352+02:00</CreatedOn>
          <Description>sample string-4</Description>
          <EventType>Message</EventType>
        </DebtManagementEvent>
      </DebtManagmentEvents>
      <InitialInterest>1</InitialInterest>
      <LateChargesPaidCurrentOwner>4</LateChargesPaidCurrentOwner>
      <LoanTransfers>
        <LoanTransfer>
          <Date>2024-10-31T15:35:53.965352+02:00</Date>
          <InterestAmount>4</InterestAmount>
          <InterestAmountCarriedOver>5</InterestAmountCarriedOver>
          <PenaltyAmountCarriedOver>6</PenaltyAmountCarriedOver>
          <PrincipalAmount>3</PrincipalAmount>
          <TotalAmount>7</TotalAmount>
        </LoanTransfer>
        <LoanTransfer>
          <Date>2024-10-31T15:35:53.965352+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-10-31T15:35:53.965352+02:00</ScheduledDate>
        </ScheduledPayment>
        <ScheduledPayment>
          <InterestAmount>5</InterestAmount>
          <IntrestAmountCarriedOver>6</IntrestAmountCarriedOver>
          <PenaltyAmountCarriedOver>7</PenaltyAmountCarriedOver>
          <PrincipalAmount>3</PrincipalAmount>
          <PrincipalAmountLeft>4</PrincipalAmountLeft>
          <ScheduledDate>2024-10-31T15:35:53.965352+02:00</ScheduledDate>
        </ScheduledPayment>
      </ScheduledPayments>
      <TotalRepaid>6</TotalRepaid>
    </LoanPartDetails>
  </Payload>
</ApiResultLoanPartDetailsList>