GET api/v1/secondarymarket

Gets list of active secondary market items

Requires authorization!

Response Codes

  • 200 - Successfully got list of secondary market items
  • 401 - User is not Authorized

Request Information

URI Parameters

NameDescriptionTypeAdditional information
LoanIssuedDateFrom

Loan issued start date from

date

None.

LoanIssuedDateTo

Loan issued start date to

date

None.

PrincipalMin

Remaining principal amount min

decimal number

None.

PrincipalMax

Remaining principal amount max

decimal number

None.

InterestMin

Interest rate min

decimal number

None.

InterestMax

Interest rate max

decimal number

None.

LengthMax

Loan lenght min

integer

None.

LengthMin

Loan lenght max

integer

None.

HasDebt

Is overdue

boolean

None.

LoanStatusCode

Loan status code

2 Current

100 Overdue

5 60+ days overdue

Collection of integer

None.

LoanDebtManagementStageType

Latest debt management stage type

DebtManagementEventStageType

None.

LoanDebtManagementDateActiveFrom

Latest debt management date active from

date

None.

LoanDebtManagementDateActiveTo

Latest debt management date active to

date

None.

LatePrincipalAmountMin

Principal debt amount min

decimal number

None.

LatePrincipalAmountMax

Principal debt amount max

decimal number

None.

PriceMin

Price amount min

decimal number

None.

PriceMax

Price amount max

decimal number

None.

UseOfLoan

Use of loan

AuctionPurpose

Obsolete: Not used actively anymore

None.

HasNewSchedule

Has been rescheduled

boolean

None.

Countries

Two letter iso code for country of origin: EE, ES, FI

Collection of string

None.

Ratings

Bondora's rating: AA, A, B, C, D, E, F, HR

Collection of string

None.

CreditScoreMin

Minimum credit score

integer

None.

CreditScoreMax

Maximum credit score

integer

None.

UserName

Borrower's username

string

None.

Gender

Borrower's gender: Male 0, Female 1, Unknown 2

integer

None.

AgeMin

Minimal age

integer

None.

AgeMax

Maximum age

integer

None.

IncomeVerificationStatus

Income verification type

IncomeVerificationStatus

None.

ShowMyItems

Can find your own items from market: Value Null = ALL, True = only your items, False = other user items

boolean

None.

AuctionId

Can find specific auction from market

globally unique identifier

None.

ListedOnDateFrom

Date when item was published from

date

None.

ListedOnDateTo

Date when item was published to

date

None.

DebtOccuredOnFrom

Principal debt started date from

date

None.

DebtOccuredOnTo

Principal debt started date to

date

None.

DebtOccuredOnForSecondaryFrom

Interest debt started date from

date

None.

DebtOccuredOnForSecondaryTo

Interest debt started date to

date

None.

DefaultedDateFrom

Defaulted date from

date

None.

DefaultedDateTo

Defaulted date to

date

None.

RescheduledFrom

Rescheduled date from

date

None.

RescheduledTo

Rescheduled date to

date

None.

LastPaymentDateFrom

Last payment date from

date

None.

LastPaymentDateTo

Last payment date to

date

None.

NextPaymentDateFrom

Next payment date from

date

None.

NextPaymentDateTo

Next payment date to

date

None.

DesiredDiscountRateMin

Minimal DesiredDiscountRate

decimal number

None.

DesiredDiscountRateMax

Maximal DesiredDiscountRate

decimal number

None.

XirrMin

Minimal Xirr

decimal number

None.

XirrMax

Maximal Xirr

decimal number

None.

PageSize

Max items in result, default is 10000

integer

Range: inclusive between 1 and 20000

PageNr

Result page nr

integer

Range: inclusive between 1 and 2147483647

Body Parameters

None.

Response Information

Resource Description

Gets list of active secondary market items
List of active SecondMarketItems set to Payload property

ApiResultSecondMarket
NameDescriptionTypeAdditional information
PageSize

Requested Max items in result

integer

Range: inclusive between 0 and 2147483647

PageNr

Requested page nr

integer

Range: inclusive between 1 and 2147483647

TotalCount

Total number of items found

integer

Required

Range: inclusive between 0 and 2147483647

Count

Number of items returned

integer

Required

Range: inclusive between 0 and 2147483647

Payload

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

Collection of SecondMarketItem

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:
{
  "PageSize": 1,
  "PageNr": 2,
  "TotalCount": 3,
  "Count": 4,
  "Payload": [
    {
      "Id": "e1bb7038-f2da-4553-89dc-4c665cb5e20e",
      "LoanPartId": "e0798414-6946-47c4-8e29-76cc0bd7beba",
      "Amount": 3.0,
      "AuctionId": "366428bd-7c05-48b7-8845-d17fa9863f0f",
      "AuctionName": "sample string 5",
      "AuctionNumber": 6,
      "AuctionBidNumber": 7,
      "Country": "sample string 8",
      "CreditScore": 1.1,
      "Rating": "sample string 9",
      "Interest": 10.0,
      "UseOfLoan": 0,
      "IncomeVerificationStatus": 1,
      "LoanStatusCode": 11,
      "LoanStatusActiveFrom": "2018-07-17T22:05:58.6753616+03:00",
      "LatestDebtManagementStageType": 1,
      "LatestDebtManagementDate": "2018-07-17T22:05:58.6753616+03:00",
      "UserName": "sample string 13",
      "Gender": 0,
      "DateOfBirth": "2018-07-17T22:05:58.6753616+03:00",
      "SignedDate": "2018-07-17T22:05:58.6753616+03:00",
      "ReScheduledOn": "2018-07-17T22:05:58.6753616+03:00",
      "DebtOccuredOn": "2018-07-17T22:05:58.6753616+03:00",
      "DebtOccuredOnForSecondary": "2018-07-17T22:05:58.6763658+03:00",
      "NextPaymentNr": 14,
      "NextPaymentDate": "2018-07-17T22:05:58.6763658+03:00",
      "NextPaymentSum": 1.0,
      "NrOfScheduledPayments": 15,
      "LastPaymentDate": "2018-07-17T22:05:58.6763658+03:00",
      "PrincipalRepaid": 16.0,
      "InterestRepaid": 17.0,
      "LateAmountPaid": 18.0,
      "PrincipalRemaining": -60.0,
      "PrincipalLateAmount": 19.0,
      "InterestLateAmount": 20.0,
      "PenaltyLateAmount": 21.0,
      "LateAmountTotal": 60.0,
      "PrincipalWriteOffAmount": 22.0,
      "InterestWriteOffAmount": 23.0,
      "PenaltyWriteOffAmount": 24.0,
      "DebtServicingCostMainAmount": 25.0,
      "DebtServicingCostInterestAmount": 26.0,
      "DebtServicingCostPenaltyAmount": 27.0,
      "Price": -78.0,
      "Fee": 28.0,
      "TotalCost": -50.0,
      "OutstandingPayments": 29.0,
      "DesiredDiscountRate": 30.0,
      "Xirr": 1.1,
      "ListedOnDate": "2018-07-17T22:05:58.6783803+03:00"
    },
    {
      "Id": "e1bb7038-f2da-4553-89dc-4c665cb5e20e",
      "LoanPartId": "e0798414-6946-47c4-8e29-76cc0bd7beba",
      "Amount": 3.0,
      "AuctionId": "366428bd-7c05-48b7-8845-d17fa9863f0f",
      "AuctionName": "sample string 5",
      "AuctionNumber": 6,
      "AuctionBidNumber": 7,
      "Country": "sample string 8",
      "CreditScore": 1.1,
      "Rating": "sample string 9",
      "Interest": 10.0,
      "UseOfLoan": 0,
      "IncomeVerificationStatus": 1,
      "LoanStatusCode": 11,
      "LoanStatusActiveFrom": "2018-07-17T22:05:58.6753616+03:00",
      "LatestDebtManagementStageType": 1,
      "LatestDebtManagementDate": "2018-07-17T22:05:58.6753616+03:00",
      "UserName": "sample string 13",
      "Gender": 0,
      "DateOfBirth": "2018-07-17T22:05:58.6753616+03:00",
      "SignedDate": "2018-07-17T22:05:58.6753616+03:00",
      "ReScheduledOn": "2018-07-17T22:05:58.6753616+03:00",
      "DebtOccuredOn": "2018-07-17T22:05:58.6753616+03:00",
      "DebtOccuredOnForSecondary": "2018-07-17T22:05:58.6763658+03:00",
      "NextPaymentNr": 14,
      "NextPaymentDate": "2018-07-17T22:05:58.6763658+03:00",
      "NextPaymentSum": 1.0,
      "NrOfScheduledPayments": 15,
      "LastPaymentDate": "2018-07-17T22:05:58.6763658+03:00",
      "PrincipalRepaid": 16.0,
      "InterestRepaid": 17.0,
      "LateAmountPaid": 18.0,
      "PrincipalRemaining": -60.0,
      "PrincipalLateAmount": 19.0,
      "InterestLateAmount": 20.0,
      "PenaltyLateAmount": 21.0,
      "LateAmountTotal": 60.0,
      "PrincipalWriteOffAmount": 22.0,
      "InterestWriteOffAmount": 23.0,
      "PenaltyWriteOffAmount": 24.0,
      "DebtServicingCostMainAmount": 25.0,
      "DebtServicingCostInterestAmount": 26.0,
      "DebtServicingCostPenaltyAmount": 27.0,
      "Price": -78.0,
      "Fee": 28.0,
      "TotalCost": -50.0,
      "OutstandingPayments": 29.0,
      "DesiredDiscountRate": 30.0,
      "Xirr": 1.1,
      "ListedOnDate": "2018-07-17T22:05:58.6783803+03:00"
    }
  ],
  "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:
<ApiResultSecondMarket 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>
    <SecondMarketItem>
      <Amount>3</Amount>
      <AuctionBidNumber>7</AuctionBidNumber>
      <AuctionId>366428bd-7c05-48b7-8845-d17fa9863f0f</AuctionId>
      <AuctionName>sample string 5</AuctionName>
      <AuctionNumber>6</AuctionNumber>
      <Country>sample string 8</Country>
      <CreditScore>1.1</CreditScore>
      <DateOfBirth>2018-07-17T22:05:58.6753616+03:00</DateOfBirth>
      <DebtOccuredOn>2018-07-17T22:05:58.6753616+03:00</DebtOccuredOn>
      <DebtOccuredOnForSecondary>2018-07-17T22:05:58.6763658+03:00</DebtOccuredOnForSecondary>
      <DebtServicingCostInterestAmount>26</DebtServicingCostInterestAmount>
      <DebtServicingCostMainAmount>25</DebtServicingCostMainAmount>
      <DebtServicingCostPenaltyAmount>27</DebtServicingCostPenaltyAmount>
      <DesiredDiscountRate>30</DesiredDiscountRate>
      <Fee>28</Fee>
      <Gender>Male</Gender>
      <Id>e1bb7038-f2da-4553-89dc-4c665cb5e20e</Id>
      <IncomeVerificationStatus>NotVerified</IncomeVerificationStatus>
      <Interest>10</Interest>
      <InterestLateAmount>20</InterestLateAmount>
      <InterestRepaid>17</InterestRepaid>
      <InterestWriteOffAmount>23</InterestWriteOffAmount>
      <LastPaymentDate>2018-07-17T22:05:58.6763658+03:00</LastPaymentDate>
      <LateAmountPaid>18</LateAmountPaid>
      <LatestDebtManagementDate>2018-07-17T22:05:58.6753616+03:00</LatestDebtManagementDate>
      <LatestDebtManagementStageType>Collection</LatestDebtManagementStageType>
      <ListedOnDate>2018-07-17T22:05:58.6783803+03:00</ListedOnDate>
      <LoanPartId>e0798414-6946-47c4-8e29-76cc0bd7beba</LoanPartId>
      <LoanStatusActiveFrom>2018-07-17T22:05:58.6753616+03:00</LoanStatusActiveFrom>
      <LoanStatusCode>11</LoanStatusCode>
      <NextPaymentDate>2018-07-17T22:05:58.6763658+03:00</NextPaymentDate>
      <NextPaymentNr>14</NextPaymentNr>
      <NextPaymentSum>1</NextPaymentSum>
      <NrOfScheduledPayments>15</NrOfScheduledPayments>
      <OutstandingPayments>29</OutstandingPayments>
      <PenaltyLateAmount>21</PenaltyLateAmount>
      <PenaltyWriteOffAmount>24</PenaltyWriteOffAmount>
      <PrincipalLateAmount>19</PrincipalLateAmount>
      <PrincipalRepaid>16</PrincipalRepaid>
      <PrincipalWriteOffAmount>22</PrincipalWriteOffAmount>
      <Rating>sample string 9</Rating>
      <ReScheduledOn>2018-07-17T22:05:58.6753616+03:00</ReScheduledOn>
      <SignedDate>2018-07-17T22:05:58.6753616+03:00</SignedDate>
      <UseOfLoan>DebtConsolidation</UseOfLoan>
      <UserName>sample string 13</UserName>
      <Xirr>1.1</Xirr>
    </SecondMarketItem>
    <SecondMarketItem>
      <Amount>3</Amount>
      <AuctionBidNumber>7</AuctionBidNumber>
      <AuctionId>366428bd-7c05-48b7-8845-d17fa9863f0f</AuctionId>
      <AuctionName>sample string 5</AuctionName>
      <AuctionNumber>6</AuctionNumber>
      <Country>sample string 8</Country>
      <CreditScore>1.1</CreditScore>
      <DateOfBirth>2018-07-17T22:05:58.6753616+03:00</DateOfBirth>
      <DebtOccuredOn>2018-07-17T22:05:58.6753616+03:00</DebtOccuredOn>
      <DebtOccuredOnForSecondary>2018-07-17T22:05:58.6763658+03:00</DebtOccuredOnForSecondary>
      <DebtServicingCostInterestAmount>26</DebtServicingCostInterestAmount>
      <DebtServicingCostMainAmount>25</DebtServicingCostMainAmount>
      <DebtServicingCostPenaltyAmount>27</DebtServicingCostPenaltyAmount>
      <DesiredDiscountRate>30</DesiredDiscountRate>
      <Fee>28</Fee>
      <Gender>Male</Gender>
      <Id>e1bb7038-f2da-4553-89dc-4c665cb5e20e</Id>
      <IncomeVerificationStatus>NotVerified</IncomeVerificationStatus>
      <Interest>10</Interest>
      <InterestLateAmount>20</InterestLateAmount>
      <InterestRepaid>17</InterestRepaid>
      <InterestWriteOffAmount>23</InterestWriteOffAmount>
      <LastPaymentDate>2018-07-17T22:05:58.6763658+03:00</LastPaymentDate>
      <LateAmountPaid>18</LateAmountPaid>
      <LatestDebtManagementDate>2018-07-17T22:05:58.6753616+03:00</LatestDebtManagementDate>
      <LatestDebtManagementStageType>Collection</LatestDebtManagementStageType>
      <ListedOnDate>2018-07-17T22:05:58.6783803+03:00</ListedOnDate>
      <LoanPartId>e0798414-6946-47c4-8e29-76cc0bd7beba</LoanPartId>
      <LoanStatusActiveFrom>2018-07-17T22:05:58.6753616+03:00</LoanStatusActiveFrom>
      <LoanStatusCode>11</LoanStatusCode>
      <NextPaymentDate>2018-07-17T22:05:58.6763658+03:00</NextPaymentDate>
      <NextPaymentNr>14</NextPaymentNr>
      <NextPaymentSum>1</NextPaymentSum>
      <NrOfScheduledPayments>15</NrOfScheduledPayments>
      <OutstandingPayments>29</OutstandingPayments>
      <PenaltyLateAmount>21</PenaltyLateAmount>
      <PenaltyWriteOffAmount>24</PenaltyWriteOffAmount>
      <PrincipalLateAmount>19</PrincipalLateAmount>
      <PrincipalRepaid>16</PrincipalRepaid>
      <PrincipalWriteOffAmount>22</PrincipalWriteOffAmount>
      <Rating>sample string 9</Rating>
      <ReScheduledOn>2018-07-17T22:05:58.6753616+03:00</ReScheduledOn>
      <SignedDate>2018-07-17T22:05:58.6753616+03:00</SignedDate>
      <UseOfLoan>DebtConsolidation</UseOfLoan>
      <UserName>sample string 13</UserName>
      <Xirr>1.1</Xirr>
    </SecondMarketItem>
  </Payload>
  <Count>4</Count>
  <PageNr>2</PageNr>
  <PageSize>1</PageSize>
  <TotalCount>3</TotalCount>
</ApiResultSecondMarket>