POST api/ExternalApi

Example API implementation for Fellow Finance Order API 2015 - Fellow Finance Plc www.fellowfinance.fi email customerservice@fellowfinance.fi

Request Information

URI Parameters

None.

Body Parameters

this is the request

ExternalApiLoanApplication
NameDescriptionTypeAdditional information
CustomerNumber

ExternalApiLoanApplication documentation

string

None.

LenderNumber

string

None.

ApplicationNumber

string

None.

PrivateKey

string

None.

Loan_Brand

ExternalApiLoanApplicationBrandEnumeration

None.

Loan_Brand_Id

string

None.

Loan_Amount

decimal number

None.

Loan_Purpose

ExternalApiLoanApplicationPurposeEnumeration

None.

Loan_Purpose_Id

string

None.

Loan_Purpose_Int

integer

None.

Loan_MonthlyPmt

decimal number

None.

Loan_RiskClass

integer

None.

Loan_Length

integer

None.

Loan_Currency

string

None.

IncomeAndExpenses_GrossIncomePerMonth

decimal number

None.

IncomeAndExpenses_CostOfHousingPerMonth

decimal number

None.

IncomeAndExpenses_OtherCostsPerMonth

decimal number

None.

IncomeAndExpenses_IncomeVerificationDatetime

date

None.

IncomeAndExpenses_OtherIncomePerMonth

decimal number

None.

IncomeAndExpenses_OtherLoanPaymentsPerMonth

decimal number

None.

IncomeAndExpenses_StatisticalExpensesPerMonth

decimal number

None.

IncomeAndExpenses_LoanPaymentsPerMonths

decimal number

None.

IncomeAndExpenses_CreditLimit_Base

decimal number

None.

LoanHistory_AveragePaymentDelay

decimal number

None.

LoanHistory_MaxPaymentDelayInDays

integer

None.

LoanHistory_PaidInstallmentCount

integer

None.

LoanHistory_CreditBureauReportingTime

date

None.

LoanHistory_PaidLoanCount

integer

None.

LoanHistory_PaidLoans

decimal number

None.

Customer_Age

integer

None.

Customer_Language

ExternalApiLoanApplicationLanguageEnumeration

None.

Customer_Language_Id

string

None.

Customer_ResidenceType

ExternalApiLoanApplicationResidenceTypeEnumeration

None.

Customer_ResidenceType_Id

string

None.

Customer_ResidenceOwnership

ExternalApiLoanApplicationResidenceOwnershipEnumeration

None.

Customer_ResidenceOwnership_Id

string

None.

Customer_Gender

ExternalApiLoanApplicationGenderEnumeration

None.

Customer_Gender_Id

string

None.

Customer_MaritalStatus

ExternalApiLoanApplicationMaritalStatusEnumeration

None.

Customer_MaritalStatus_Id

string

None.

Customer_BusinessType

ExternalApiLoanApplicationBusinessTypeEnumeration

None.

Customer_BusinessType_Id

string

None.

Customer_EmploymentStatus

ExternalApiLoanApplicationEmploymentStatusEnumeration

None.

Customer_EmploymentStatus_Id

string

None.

Cust_City

string

None.

Customer_Children

integer

None.

Customer_EducationLevel

ExternalApiLoanApplicationEducationLevelEnumeration

None.

Customer_EducationLevel_Id

string

None.

Customer_hasCreditCard

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerNumber": "sample string 1",
  "LenderNumber": "sample string 2",
  "ApplicationNumber": "sample string 3",
  "PrivateKey": "sample string 4",
  "Loan_Brand": 0,
  "Loan_Brand_Id": "sample string 5",
  "Loan_Amount": 6.0,
  "Loan_Purpose": 0,
  "Loan_Purpose_Id": "sample string 7",
  "Loan_Purpose_Int": 8,
  "Loan_MonthlyPmt": 9.0,
  "Loan_RiskClass": 10,
  "Loan_Length": 11,
  "Loan_Currency": "sample string 12",
  "IncomeAndExpenses_GrossIncomePerMonth": 13.0,
  "IncomeAndExpenses_CostOfHousingPerMonth": 14.0,
  "IncomeAndExpenses_OtherCostsPerMonth": 15.0,
  "IncomeAndExpenses_IncomeVerificationDatetime": "2018-04-21T09:17:31.6445287+00:00",
  "IncomeAndExpenses_OtherIncomePerMonth": 17.0,
  "IncomeAndExpenses_OtherLoanPaymentsPerMonth": 18.0,
  "IncomeAndExpenses_StatisticalExpensesPerMonth": 19.0,
  "IncomeAndExpenses_LoanPaymentsPerMonths": 20.0,
  "IncomeAndExpenses_CreditLimit_Base": 21.0,
  "LoanHistory_AveragePaymentDelay": 22.0,
  "LoanHistory_MaxPaymentDelayInDays": 23,
  "LoanHistory_PaidInstallmentCount": 24,
  "LoanHistory_CreditBureauReportingTime": "2018-04-21T09:17:31.6445287+00:00",
  "LoanHistory_PaidLoanCount": 26,
  "LoanHistory_PaidLoans": 27.0,
  "Customer_Age": 28,
  "Customer_Language": 0,
  "Customer_Language_Id": "sample string 29",
  "Customer_ResidenceType": 0,
  "Customer_ResidenceType_Id": "sample string 30",
  "Customer_ResidenceOwnership": 0,
  "Customer_ResidenceOwnership_Id": "sample string 31",
  "Customer_Gender": 0,
  "Customer_Gender_Id": "sample string 32",
  "Customer_MaritalStatus": 0,
  "Customer_MaritalStatus_Id": "sample string 33",
  "Customer_BusinessType": 0,
  "Customer_BusinessType_Id": "sample string 34",
  "Customer_EmploymentStatus": 0,
  "Customer_EmploymentStatus_Id": "sample string 35",
  "Cust_City": "sample string 36",
  "Customer_Children": 37,
  "Customer_EducationLevel": 0,
  "Customer_EducationLevel_Id": "sample string 38",
  "Customer_hasCreditCard": true
}

application/xml, text/xml

Sample:
<ExternalApiLoanApplication xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FfWebApi.Models">
  <ApplicationNumber>sample string 3</ApplicationNumber>
  <Cust_City>sample string 36</Cust_City>
  <CustomerNumber>sample string 1</CustomerNumber>
  <Customer_Age>28</Customer_Age>
  <Customer_BusinessType>Null</Customer_BusinessType>
  <Customer_BusinessType_Id>sample string 34</Customer_BusinessType_Id>
  <Customer_Children>37</Customer_Children>
  <Customer_EducationLevel>Null</Customer_EducationLevel>
  <Customer_EducationLevel_Id>sample string 38</Customer_EducationLevel_Id>
  <Customer_EmploymentStatus>Null</Customer_EmploymentStatus>
  <Customer_EmploymentStatus_Id>sample string 35</Customer_EmploymentStatus_Id>
  <Customer_Gender>Null</Customer_Gender>
  <Customer_Gender_Id>sample string 32</Customer_Gender_Id>
  <Customer_Language>Null</Customer_Language>
  <Customer_Language_Id>sample string 29</Customer_Language_Id>
  <Customer_MaritalStatus>Null</Customer_MaritalStatus>
  <Customer_MaritalStatus_Id>sample string 33</Customer_MaritalStatus_Id>
  <Customer_ResidenceOwnership>Null</Customer_ResidenceOwnership>
  <Customer_ResidenceOwnership_Id>sample string 31</Customer_ResidenceOwnership_Id>
  <Customer_ResidenceType>Null</Customer_ResidenceType>
  <Customer_ResidenceType_Id>sample string 30</Customer_ResidenceType_Id>
  <Customer_hasCreditCard>true</Customer_hasCreditCard>
  <IncomeAndExpenses_CostOfHousingPerMonth>14</IncomeAndExpenses_CostOfHousingPerMonth>
  <IncomeAndExpenses_CreditLimit_Base>21</IncomeAndExpenses_CreditLimit_Base>
  <IncomeAndExpenses_GrossIncomePerMonth>13</IncomeAndExpenses_GrossIncomePerMonth>
  <IncomeAndExpenses_IncomeVerificationDatetime>2018-04-21T09:17:31.6445287+00:00</IncomeAndExpenses_IncomeVerificationDatetime>
  <IncomeAndExpenses_LoanPaymentsPerMonths>20</IncomeAndExpenses_LoanPaymentsPerMonths>
  <IncomeAndExpenses_OtherCostsPerMonth>15</IncomeAndExpenses_OtherCostsPerMonth>
  <IncomeAndExpenses_OtherIncomePerMonth>17</IncomeAndExpenses_OtherIncomePerMonth>
  <IncomeAndExpenses_OtherLoanPaymentsPerMonth>18</IncomeAndExpenses_OtherLoanPaymentsPerMonth>
  <IncomeAndExpenses_StatisticalExpensesPerMonth>19</IncomeAndExpenses_StatisticalExpensesPerMonth>
  <LenderNumber>sample string 2</LenderNumber>
  <LoanHistory_AveragePaymentDelay>22</LoanHistory_AveragePaymentDelay>
  <LoanHistory_CreditBureauReportingTime>2018-04-21T09:17:31.6445287+00:00</LoanHistory_CreditBureauReportingTime>
  <LoanHistory_MaxPaymentDelayInDays>23</LoanHistory_MaxPaymentDelayInDays>
  <LoanHistory_PaidInstallmentCount>24</LoanHistory_PaidInstallmentCount>
  <LoanHistory_PaidLoanCount>26</LoanHistory_PaidLoanCount>
  <LoanHistory_PaidLoans>27</LoanHistory_PaidLoans>
  <Loan_Amount>6</Loan_Amount>
  <Loan_Brand>Null</Loan_Brand>
  <Loan_Brand_Id>sample string 5</Loan_Brand_Id>
  <Loan_Currency>sample string 12</Loan_Currency>
  <Loan_Length>11</Loan_Length>
  <Loan_MonthlyPmt>9</Loan_MonthlyPmt>
  <Loan_Purpose>Null</Loan_Purpose>
  <Loan_Purpose_Id>sample string 7</Loan_Purpose_Id>
  <Loan_Purpose_Int>8</Loan_Purpose_Int>
  <Loan_RiskClass>10</Loan_RiskClass>
  <PrivateKey>sample string 4</PrivateKey>
</ExternalApiLoanApplication>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ExternalApiLoanApplication'.

Response Information

Resource Description

ExternalApiLoanApplicationResult
NameDescriptionTypeAdditional information
InvestmentAmount

decimal number

None.

InvestmentRate

decimal number

None.

ExternalReference

string

None.

Response Formats

application/json, text/json

Sample:
{
  "InvestmentAmount": 1.0,
  "InvestmentRate": 2.0,
  "ExternalReference": "sample string 3"
}

application/xml, text/xml

Sample:
<ExternalApiLoanApplicationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FfWebApi.Models">
  <ExternalReference>sample string 3</ExternalReference>
  <InvestmentAmount>1</InvestmentAmount>
  <InvestmentRate>2</InvestmentRate>
</ExternalApiLoanApplicationResult>