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": [
    "ee2965d3-393e-4bfc-91f3-41f17ce031a0",
    "baca3ab4-6358-4325-a4ba-0ecb6859b4c6"
  ]
}

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>ee2965d3-393e-4bfc-91f3-41f17ce031a0</d2p1:guid>
    <d2p1:guid>baca3ab4-6358-4325-a4ba-0ecb6859b4c6</d2p1:guid>
  </ItemIds>
</LoanPartDetailsRequest>

application/x-www-form-urlencoded

Sample:
ItemIds[0]=ee2965d3-393e-4bfc-91f3-41f17ce031a0&ItemIds[1]=baca3ab4-6358-4325-a4ba-0ecb6859b4c6

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": [
    {
      "LoanPartId": "bb91de48-e42d-4c37-8d06-1d3f7d761faf",
      "Amount": 2.0,
      "AuctionId": "6d452990-76d2-4987-93a2-7a04053073d0",
      "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,
      "RescheduledInterest": 1.0,
      "UseOfLoan": 0,
      "IncomeVerificationStatus": 1,
      "LoanId": "4ad3d389-dedf-4fc6-869b-7e6b8d21beab",
      "LoanStatusCode": 15,
      "UserName": "sample string-16",
      "Gender": 0,
      "DateOfBirth": "2019-08-22T16:07:59.244792+03:00",
      "SignedDate": "2019-08-22T16:07:59.244792+03:00",
      "ReScheduledOn": "2019-08-22T16:07:59.244792+03:00",
      "DebtOccuredOn": "2019-08-22T16:07:59.244792+03:00",
      "DebtOccuredOnForSecondary": "2019-08-22T16:07:59.244792+03:00",
      "LoanDuration": 17,
      "NextPaymentNr": 18,
      "NextPaymentDate": "2019-08-22T16:07:59.244792+03:00",
      "NextPaymentSum": 1.0,
      "NrOfScheduledPayments": 19,
      "LastPaymentDate": "2019-08-22T16:07:59.244792+03: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": "2019-08-22T16:07:59.244792+03:00",
          "EventType": 1,
          "Description": "sample string-4"
        },
        {
          "CreatedOn": "2019-08-22T16:07:59.244792+03:00",
          "EventType": 1,
          "Description": "sample string-4"
        }
      ],
      "LoanTransfers": [
        {
          "Date": "2019-08-22T16:07:59.244792+03:00",
          "PrincipalAmount": 3.0,
          "InterestAmount": 4.0,
          "InterestAmountCarriedOver": 5.0,
          "PenaltyAmountCarriedOver": 6.0,
          "TotalAmount": 7.0
        },
        {
          "Date": "2019-08-22T16:07:59.244792+03:00",
          "PrincipalAmount": 3.0,
          "InterestAmount": 4.0,
          "InterestAmountCarriedOver": 5.0,
          "PenaltyAmountCarriedOver": 6.0,
          "TotalAmount": 7.0
        }
      ],
      "ScheduledPayments": [
        {
          "ScheduledDate": "2019-08-22T16:07:59.244792+03:00",
          "PrincipalAmount": 3.0,
          "PrincipalAmountLeft": 4.0,
          "InterestAmount": 5.0,
          "IntrestAmountCarriedOver": 6.0,
          "PenaltyAmountCarriedOver": 7.0,
          "TotalAmount": 21.0
        },
        {
          "ScheduledDate": "2019-08-22T16:07:59.244792+03:00",
          "PrincipalAmount": 3.0,
          "PrincipalAmountLeft": 4.0,
          "InterestAmount": 5.0,
          "IntrestAmountCarriedOver": 6.0,
          "PenaltyAmountCarriedOver": 7.0,
          "TotalAmount": 21.0
        }
      ]
    },
    {
      "LoanPartId": "bb91de48-e42d-4c37-8d06-1d3f7d761faf",
      "Amount": 2.0,
      "AuctionId": "6d452990-76d2-4987-93a2-7a04053073d0",
      "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,
      "RescheduledInterest": 1.0,
      "UseOfLoan": 0,
      "IncomeVerificationStatus": 1,
      "LoanId": "4ad3d389-dedf-4fc6-869b-7e6b8d21beab",
      "LoanStatusCode": 15,
      "UserName": "sample string-16",
      "Gender": 0,
      "DateOfBirth": "2019-08-22T16:07:59.244792+03:00",
      "SignedDate": "2019-08-22T16:07:59.244792+03:00",
      "ReScheduledOn": "2019-08-22T16:07:59.244792+03:00",
      "DebtOccuredOn": "2019-08-22T16:07:59.244792+03:00",
      "DebtOccuredOnForSecondary": "2019-08-22T16:07:59.244792+03:00",
      "LoanDuration": 17,
      "NextPaymentNr": 18,
      "NextPaymentDate": "2019-08-22T16:07:59.244792+03:00",
      "NextPaymentSum": 1.0,
      "NrOfScheduledPayments": 19,
      "LastPaymentDate": "2019-08-22T16:07:59.244792+03: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": "2019-08-22T16:07:59.244792+03:00",
          "EventType": 1,
          "Description": "sample string-4"
        },
        {
          "CreatedOn": "2019-08-22T16:07:59.244792+03:00",
          "EventType": 1,
          "Description": "sample string-4"
        }
      ],
      "LoanTransfers": [
        {
          "Date": "2019-08-22T16:07:59.244792+03:00",
          "PrincipalAmount": 3.0,
          "InterestAmount": 4.0,
          "InterestAmountCarriedOver": 5.0,
          "PenaltyAmountCarriedOver": 6.0,
          "TotalAmount": 7.0
        },
        {
          "Date": "2019-08-22T16:07:59.244792+03:00",
          "PrincipalAmount": 3.0,
          "InterestAmount": 4.0,
          "InterestAmountCarriedOver": 5.0,
          "PenaltyAmountCarriedOver": 6.0,
          "TotalAmount": 7.0
        }
      ],
      "ScheduledPayments": [
        {
          "ScheduledDate": "2019-08-22T16:07:59.244792+03:00",
          "PrincipalAmount": 3.0,
          "PrincipalAmountLeft": 4.0,
          "InterestAmount": 5.0,
          "IntrestAmountCarriedOver": 6.0,
          "PenaltyAmountCarriedOver": 7.0,
          "TotalAmount": 21.0
        },
        {
          "ScheduledDate": "2019-08-22T16:07:59.244792+03: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:
<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>2</Amount>
      <AuctionId>6d452990-76d2-4987-93a2-7a04053073d0</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>2019-08-22T16:07:59.244792+03:00</DateOfBirth>
      <DebtManagmentEvents>
        <DebtManagementEvent>
          <CreatedOn>2019-08-22T16:07:59.244792+03:00</CreatedOn>
          <Description>sample string-4</Description>
          <EventType>Message</EventType>
        </DebtManagementEvent>
        <DebtManagementEvent>
          <CreatedOn>2019-08-22T16:07:59.244792+03:00</CreatedOn>
          <Description>sample string-4</Description>
          <EventType>Message</EventType>
        </DebtManagementEvent>
      </DebtManagmentEvents>
      <DebtOccuredOn>2019-08-22T16:07:59.244792+03:00</DebtOccuredOn>
      <DebtOccuredOnForSecondary>2019-08-22T16:07:59.244792+03: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>2019-08-22T16:07:59.244792+03:00</LastPaymentDate>
      <LateAmountPaid>23</LateAmountPaid>
      <LateChargesPaidCurrentOwner>35</LateChargesPaidCurrentOwner>
      <LoanDuration>17</LoanDuration>
      <LoanId>4ad3d389-dedf-4fc6-869b-7e6b8d21beab</LoanId>
      <LoanPartId>bb91de48-e42d-4c37-8d06-1d3f7d761faf</LoanPartId>
      <LoanStatusCode>15</LoanStatusCode>
      <LoanTransfers>
        <LoanTransfer>
          <Date>2019-08-22T16:07:59.244792+03:00</Date>
          <InterestAmount>4</InterestAmount>
          <InterestAmountCarriedOver>5</InterestAmountCarriedOver>
          <PenaltyAmountCarriedOver>6</PenaltyAmountCarriedOver>
          <PrincipalAmount>3</PrincipalAmount>
          <TotalAmount>7</TotalAmount>
        </LoanTransfer>
        <LoanTransfer>
          <Date>2019-08-22T16:07:59.244792+03:00</Date>
          <InterestAmount>4</InterestAmount>
          <InterestAmountCarriedOver>5</InterestAmountCarriedOver>
          <PenaltyAmountCarriedOver>6</PenaltyAmountCarriedOver>
          <PrincipalAmount>3</PrincipalAmount>
          <TotalAmount>7</TotalAmount>
        </LoanTransfer>
      </LoanTransfers>
      <NextPaymentDate>2019-08-22T16:07:59.244792+03: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>2019-08-22T16:07:59.244792+03:00</ReScheduledOn>
      <RepaidInterestsCurrentOwner>34</RepaidInterestsCurrentOwner>
      <RepaidPrincipalCurrentOwner>33</RepaidPrincipalCurrentOwner>
      <RepaidTotalCurrentOwner>36</RepaidTotalCurrentOwner>
      <RescheduledInterest>1</RescheduledInterest>
      <ScheduledPayments>
        <ScheduledPayment>
          <InterestAmount>5</InterestAmount>
          <IntrestAmountCarriedOver>6</IntrestAmountCarriedOver>
          <PenaltyAmountCarriedOver>7</PenaltyAmountCarriedOver>
          <PrincipalAmount>3</PrincipalAmount>
          <PrincipalAmountLeft>4</PrincipalAmountLeft>
          <ScheduledDate>2019-08-22T16:07:59.244792+03:00</ScheduledDate>
        </ScheduledPayment>
        <ScheduledPayment>
          <InterestAmount>5</InterestAmount>
          <IntrestAmountCarriedOver>6</IntrestAmountCarriedOver>
          <PenaltyAmountCarriedOver>7</PenaltyAmountCarriedOver>
          <PrincipalAmount>3</PrincipalAmount>
          <PrincipalAmountLeft>4</PrincipalAmountLeft>
          <ScheduledDate>2019-08-22T16:07:59.244792+03:00</ScheduledDate>
        </ScheduledPayment>
      </ScheduledPayments>
      <SignedDate>2019-08-22T16:07:59.244792+03:00</SignedDate>
      <TotalRepaid>37</TotalRepaid>
      <UseOfLoan>DebtConsolidation</UseOfLoan>
      <UserName>sample string-16</UserName>
    </LoanPartDetails>
    <LoanPartDetails>
      <Amount>2</Amount>
      <AuctionId>6d452990-76d2-4987-93a2-7a04053073d0</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>2019-08-22T16:07:59.244792+03:00</DateOfBirth>
      <DebtManagmentEvents>
        <DebtManagementEvent>
          <CreatedOn>2019-08-22T16:07:59.244792+03:00</CreatedOn>
          <Description>sample string-4</Description>
          <EventType>Message</EventType>
        </DebtManagementEvent>
        <DebtManagementEvent>
          <CreatedOn>2019-08-22T16:07:59.244792+03:00</CreatedOn>
          <Description>sample string-4</Description>
          <EventType>Message</EventType>
        </DebtManagementEvent>
      </DebtManagmentEvents>
      <DebtOccuredOn>2019-08-22T16:07:59.244792+03:00</DebtOccuredOn>
      <DebtOccuredOnForSecondary>2019-08-22T16:07:59.244792+03: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>2019-08-22T16:07:59.244792+03:00</LastPaymentDate>
      <LateAmountPaid>23</LateAmountPaid>
      <LateChargesPaidCurrentOwner>35</LateChargesPaidCurrentOwner>
      <LoanDuration>17</LoanDuration>
      <LoanId>4ad3d389-dedf-4fc6-869b-7e6b8d21beab</LoanId>
      <LoanPartId>bb91de48-e42d-4c37-8d06-1d3f7d761faf</LoanPartId>
      <LoanStatusCode>15</LoanStatusCode>
      <LoanTransfers>
        <LoanTransfer>
          <Date>2019-08-22T16:07:59.244792+03:00</Date>
          <InterestAmount>4</InterestAmount>
          <InterestAmountCarriedOver>5</InterestAmountCarriedOver>
          <PenaltyAmountCarriedOver>6</PenaltyAmountCarriedOver>
          <PrincipalAmount>3</PrincipalAmount>
          <TotalAmount>7</TotalAmount>
        </LoanTransfer>
        <LoanTransfer>
          <Date>2019-08-22T16:07:59.244792+03:00</Date>
          <InterestAmount>4</InterestAmount>
          <InterestAmountCarriedOver>5</InterestAmountCarriedOver>
          <PenaltyAmountCarriedOver>6</PenaltyAmountCarriedOver>
          <PrincipalAmount>3</PrincipalAmount>
          <TotalAmount>7</TotalAmount>
        </LoanTransfer>
      </LoanTransfers>
      <NextPaymentDate>2019-08-22T16:07:59.244792+03: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>2019-08-22T16:07:59.244792+03:00</ReScheduledOn>
      <RepaidInterestsCurrentOwner>34</RepaidInterestsCurrentOwner>
      <RepaidPrincipalCurrentOwner>33</RepaidPrincipalCurrentOwner>
      <RepaidTotalCurrentOwner>36</RepaidTotalCurrentOwner>
      <RescheduledInterest>1</RescheduledInterest>
      <ScheduledPayments>
        <ScheduledPayment>
          <InterestAmount>5</InterestAmount>
          <IntrestAmountCarriedOver>6</IntrestAmountCarriedOver>
          <PenaltyAmountCarriedOver>7</PenaltyAmountCarriedOver>
          <PrincipalAmount>3</PrincipalAmount>
          <PrincipalAmountLeft>4</PrincipalAmountLeft>
          <ScheduledDate>2019-08-22T16:07:59.244792+03:00</ScheduledDate>
        </ScheduledPayment>
        <ScheduledPayment>
          <InterestAmount>5</InterestAmount>
          <IntrestAmountCarriedOver>6</IntrestAmountCarriedOver>
          <PenaltyAmountCarriedOver>7</PenaltyAmountCarriedOver>
          <PrincipalAmount>3</PrincipalAmount>
          <PrincipalAmountLeft>4</PrincipalAmountLeft>
          <ScheduledDate>2019-08-22T16:07:59.244792+03:00</ScheduledDate>
        </ScheduledPayment>
      </ScheduledPayments>
      <SignedDate>2019-08-22T16:07:59.244792+03:00</SignedDate>
      <TotalRepaid>37</TotalRepaid>
      <UseOfLoan>DebtConsolidation</UseOfLoan>
      <UserName>sample string-16</UserName>
    </LoanPartDetails>
  </Payload>
</ApiResultLoanPartDetailsList>