POST api/LoanApplication

Request Information

URI Parameters

None.

Body Parameters

LoanApplication
NameDescriptionTypeAdditional information
Username

string

None.

Password

string

None.

ApplicationTime

date

None.

ExternalApplicationIdentifier

string

None.

ChannelCode

string

None.

BrandCode

string

None.

LoanAmount

decimal number

None.

LoanDurationInMonths

integer

None.

DueDate

integer

None.

PurposeEnum

LoanApplicationPurposeEnumeration

None.

Applicants

Collection of Applicant

None.

ExternalLoans

Collection of ExternalLoanData

None.

HasApprovedPositiveRegisterQuery

boolean

None.

IsInterestedLowerLoanOffer

boolean

None.

ExpiryDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Password": "sample string 2",
  "ApplicationTime": "2018-04-20T14:01:38.7888797+00:00",
  "ExternalApplicationIdentifier": "sample string 4",
  "ChannelCode": "sample string 5",
  "BrandCode": "sample string 6",
  "LoanAmount": 7.0,
  "LoanDurationInMonths": 8,
  "DueDate": 9,
  "PurposeEnum": 0,
  "Applicants": [
    {
      "SsnBic": "sample string 1",
      "IdentityCode": "sample string 2",
      "Name": "sample string 3",
      "FirstName": "sample string 4",
      "AddressStreet": "sample string 5",
      "AddressCity": "sample string 6",
      "AddressZip": "sample string 7",
      "AddressCountryCode": "sample string 8",
      "PlaceOfBirth": "sample string 9",
      "DateOfBirth": "2018-04-20T14:01:38.7888797+00:00",
      "Email": "sample string 10",
      "Phone": "sample string 11",
      "BankAccountNumber": "sample string 12",
      "ReferenceNumber": "sample string 13",
      "ActualReceiverName": "sample string 14",
      "MaritalStatusEnum": 0,
      "NumberOfChildrenInHousehold": 15,
      "NationalityCode": "sample string 16",
      "NativeLanguageEnum": 0,
      "GenderEnum": 0,
      "EducationLevelEnum": 0,
      "BusinessTypeEnum": 0,
      "Employer": "sample string 17",
      "Profession": "sample string 18",
      "EmploymentStatusEnum": 0,
      "EmploymentStartDate": "2018-04-20T14:01:38.7888797+00:00",
      "EmploymentTerminationDate": "2018-04-20T14:01:38.7888797+00:00",
      "ResidenceOwnershipEnum": 0,
      "ResidenceTypeEnum": 0,
      "RecidenceStartDate": "2018-04-20T14:01:38.7888797+00:00",
      "RecidenceArea": 20.0,
      "HasSummerHouse": true,
      "GrossIncomePerMonth": 22.0,
      "OtherIncomePerMonth": 23.0,
      "CostOfHousingPerMonth": 24.0,
      "OtherExpencesPerMonth": 25.0,
      "OtherIncomeSpecification": "sample string 26",
      "VisaCardCount": 27,
      "MasterCardCount": 28,
      "DinersCardCount": 29,
      "OtherCreditCardCount": 30
    },
    {
      "SsnBic": "sample string 1",
      "IdentityCode": "sample string 2",
      "Name": "sample string 3",
      "FirstName": "sample string 4",
      "AddressStreet": "sample string 5",
      "AddressCity": "sample string 6",
      "AddressZip": "sample string 7",
      "AddressCountryCode": "sample string 8",
      "PlaceOfBirth": "sample string 9",
      "DateOfBirth": "2018-04-20T14:01:38.7888797+00:00",
      "Email": "sample string 10",
      "Phone": "sample string 11",
      "BankAccountNumber": "sample string 12",
      "ReferenceNumber": "sample string 13",
      "ActualReceiverName": "sample string 14",
      "MaritalStatusEnum": 0,
      "NumberOfChildrenInHousehold": 15,
      "NationalityCode": "sample string 16",
      "NativeLanguageEnum": 0,
      "GenderEnum": 0,
      "EducationLevelEnum": 0,
      "BusinessTypeEnum": 0,
      "Employer": "sample string 17",
      "Profession": "sample string 18",
      "EmploymentStatusEnum": 0,
      "EmploymentStartDate": "2018-04-20T14:01:38.7888797+00:00",
      "EmploymentTerminationDate": "2018-04-20T14:01:38.7888797+00:00",
      "ResidenceOwnershipEnum": 0,
      "ResidenceTypeEnum": 0,
      "RecidenceStartDate": "2018-04-20T14:01:38.7888797+00:00",
      "RecidenceArea": 20.0,
      "HasSummerHouse": true,
      "GrossIncomePerMonth": 22.0,
      "OtherIncomePerMonth": 23.0,
      "CostOfHousingPerMonth": 24.0,
      "OtherExpencesPerMonth": 25.0,
      "OtherIncomeSpecification": "sample string 26",
      "VisaCardCount": 27,
      "MasterCardCount": 28,
      "DinersCardCount": 29,
      "OtherCreditCardCount": 30
    }
  ],
  "ExternalLoans": [
    {
      "LoanBalance": 1.0,
      "MonthlyInstallment": 2.0,
      "Provider": "sample string 3",
      "RepaymentBankAccountNumber": "sample string 4",
      "CreditTypeEnum": 0,
      "IsToBeRepaid": true
    },
    {
      "LoanBalance": 1.0,
      "MonthlyInstallment": 2.0,
      "Provider": "sample string 3",
      "RepaymentBankAccountNumber": "sample string 4",
      "CreditTypeEnum": 0,
      "IsToBeRepaid": true
    }
  ],
  "HasApprovedPositiveRegisterQuery": true,
  "IsInterestedLowerLoanOffer": true,
  "ExpiryDate": "2018-04-20T14:01:38.7888797+00:00"
}

application/xml, text/xml

Sample:
<LoanApplication xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FfWebApi.Models">
  <Applicants>
    <Applicant>
      <ActualReceiverName>sample string 14</ActualReceiverName>
      <AddressCity>sample string 6</AddressCity>
      <AddressCountryCode>sample string 8</AddressCountryCode>
      <AddressStreet>sample string 5</AddressStreet>
      <AddressZip>sample string 7</AddressZip>
      <BankAccountNumber>sample string 12</BankAccountNumber>
      <BusinessTypeEnum>Null</BusinessTypeEnum>
      <CostOfHousingPerMonth>24</CostOfHousingPerMonth>
      <DateOfBirth>2018-04-20T14:01:38.7888797+00:00</DateOfBirth>
      <DinersCardCount>29</DinersCardCount>
      <EducationLevelEnum>Null</EducationLevelEnum>
      <Email>sample string 10</Email>
      <Employer>sample string 17</Employer>
      <EmploymentStartDate>2018-04-20T14:01:38.7888797+00:00</EmploymentStartDate>
      <EmploymentStatusEnum>Null</EmploymentStatusEnum>
      <EmploymentTerminationDate>2018-04-20T14:01:38.7888797+00:00</EmploymentTerminationDate>
      <FirstName>sample string 4</FirstName>
      <GenderEnum>Null</GenderEnum>
      <GrossIncomePerMonth>22</GrossIncomePerMonth>
      <HasSummerHouse>true</HasSummerHouse>
      <IdentityCode>sample string 2</IdentityCode>
      <MaritalStatusEnum>Null</MaritalStatusEnum>
      <MasterCardCount>28</MasterCardCount>
      <Name>sample string 3</Name>
      <NationalityCode>sample string 16</NationalityCode>
      <NativeLanguageEnum>Null</NativeLanguageEnum>
      <NumberOfChildrenInHousehold>15</NumberOfChildrenInHousehold>
      <OtherCreditCardCount>30</OtherCreditCardCount>
      <OtherExpencesPerMonth>25</OtherExpencesPerMonth>
      <OtherIncomePerMonth>23</OtherIncomePerMonth>
      <OtherIncomeSpecification>sample string 26</OtherIncomeSpecification>
      <Phone>sample string 11</Phone>
      <PlaceOfBirth>sample string 9</PlaceOfBirth>
      <Profession>sample string 18</Profession>
      <RecidenceArea>20</RecidenceArea>
      <RecidenceStartDate>2018-04-20T14:01:38.7888797+00:00</RecidenceStartDate>
      <ReferenceNumber>sample string 13</ReferenceNumber>
      <ResidenceOwnershipEnum>Null</ResidenceOwnershipEnum>
      <ResidenceTypeEnum>Null</ResidenceTypeEnum>
      <SsnBic>sample string 1</SsnBic>
      <VisaCardCount>27</VisaCardCount>
    </Applicant>
    <Applicant>
      <ActualReceiverName>sample string 14</ActualReceiverName>
      <AddressCity>sample string 6</AddressCity>
      <AddressCountryCode>sample string 8</AddressCountryCode>
      <AddressStreet>sample string 5</AddressStreet>
      <AddressZip>sample string 7</AddressZip>
      <BankAccountNumber>sample string 12</BankAccountNumber>
      <BusinessTypeEnum>Null</BusinessTypeEnum>
      <CostOfHousingPerMonth>24</CostOfHousingPerMonth>
      <DateOfBirth>2018-04-20T14:01:38.7888797+00:00</DateOfBirth>
      <DinersCardCount>29</DinersCardCount>
      <EducationLevelEnum>Null</EducationLevelEnum>
      <Email>sample string 10</Email>
      <Employer>sample string 17</Employer>
      <EmploymentStartDate>2018-04-20T14:01:38.7888797+00:00</EmploymentStartDate>
      <EmploymentStatusEnum>Null</EmploymentStatusEnum>
      <EmploymentTerminationDate>2018-04-20T14:01:38.7888797+00:00</EmploymentTerminationDate>
      <FirstName>sample string 4</FirstName>
      <GenderEnum>Null</GenderEnum>
      <GrossIncomePerMonth>22</GrossIncomePerMonth>
      <HasSummerHouse>true</HasSummerHouse>
      <IdentityCode>sample string 2</IdentityCode>
      <MaritalStatusEnum>Null</MaritalStatusEnum>
      <MasterCardCount>28</MasterCardCount>
      <Name>sample string 3</Name>
      <NationalityCode>sample string 16</NationalityCode>
      <NativeLanguageEnum>Null</NativeLanguageEnum>
      <NumberOfChildrenInHousehold>15</NumberOfChildrenInHousehold>
      <OtherCreditCardCount>30</OtherCreditCardCount>
      <OtherExpencesPerMonth>25</OtherExpencesPerMonth>
      <OtherIncomePerMonth>23</OtherIncomePerMonth>
      <OtherIncomeSpecification>sample string 26</OtherIncomeSpecification>
      <Phone>sample string 11</Phone>
      <PlaceOfBirth>sample string 9</PlaceOfBirth>
      <Profession>sample string 18</Profession>
      <RecidenceArea>20</RecidenceArea>
      <RecidenceStartDate>2018-04-20T14:01:38.7888797+00:00</RecidenceStartDate>
      <ReferenceNumber>sample string 13</ReferenceNumber>
      <ResidenceOwnershipEnum>Null</ResidenceOwnershipEnum>
      <ResidenceTypeEnum>Null</ResidenceTypeEnum>
      <SsnBic>sample string 1</SsnBic>
      <VisaCardCount>27</VisaCardCount>
    </Applicant>
  </Applicants>
  <ApplicationTime>2018-04-20T14:01:38.7888797+00:00</ApplicationTime>
  <BrandCode>sample string 6</BrandCode>
  <ChannelCode>sample string 5</ChannelCode>
  <DueDate>9</DueDate>
  <ExpiryDate>2018-04-20T14:01:38.7888797+00:00</ExpiryDate>
  <ExternalApplicationIdentifier>sample string 4</ExternalApplicationIdentifier>
  <ExternalLoans>
    <ExternalLoanData>
      <CreditTypeEnum>Null</CreditTypeEnum>
      <IsToBeRepaid>true</IsToBeRepaid>
      <LoanBalance>1</LoanBalance>
      <MonthlyInstallment>2</MonthlyInstallment>
      <Provider>sample string 3</Provider>
      <RepaymentBankAccountNumber>sample string 4</RepaymentBankAccountNumber>
    </ExternalLoanData>
    <ExternalLoanData>
      <CreditTypeEnum>Null</CreditTypeEnum>
      <IsToBeRepaid>true</IsToBeRepaid>
      <LoanBalance>1</LoanBalance>
      <MonthlyInstallment>2</MonthlyInstallment>
      <Provider>sample string 3</Provider>
      <RepaymentBankAccountNumber>sample string 4</RepaymentBankAccountNumber>
    </ExternalLoanData>
  </ExternalLoans>
  <HasApprovedPositiveRegisterQuery>true</HasApprovedPositiveRegisterQuery>
  <IsInterestedLowerLoanOffer>true</IsInterestedLowerLoanOffer>
  <LoanAmount>7</LoanAmount>
  <LoanDurationInMonths>8</LoanDurationInMonths>
  <Password>sample string 2</Password>
  <PurposeEnum>Null</PurposeEnum>
  <Username>sample string 1</Username>
</LoanApplication>

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 'LoanApplication'.

Response Information

Resource Description

LoanApplicationResult
NameDescriptionTypeAdditional information
LoanAmount

decimal number

None.

InstallmentCount

integer

None.

InstallmentAmount

decimal number

None.

InterestRate

decimal number

None.

ActualYearlyInterestRate

decimal number

None.

OpeningFee

decimal number

None.

InstallmentFee

decimal number

None.

IsValid

boolean

None.

ValidationMessage

string

None.

IsApproved

boolean

None.

RejectionReasonMessage

string

None.

RejectionReasonCode

string

None.

ApplicationNumber

string

None.

ApplicationId

string

None.

ExternalApplicationIdentifier

string

None.

IsTaxDocumentRequired

boolean

None.

IsIncomeDocumentRequired

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "LoanAmount": 1.0,
  "InstallmentCount": 2,
  "InstallmentAmount": 3.0,
  "InterestRate": 4.0,
  "ActualYearlyInterestRate": 5.0,
  "OpeningFee": 6.0,
  "InstallmentFee": 7.0,
  "IsValid": true,
  "ValidationMessage": "sample string 9",
  "IsApproved": true,
  "RejectionReasonMessage": "sample string 11",
  "RejectionReasonCode": "sample string 12",
  "ApplicationNumber": "sample string 13",
  "ApplicationId": "sample string 14",
  "ExternalApplicationIdentifier": "sample string 15",
  "IsTaxDocumentRequired": true,
  "IsIncomeDocumentRequired": true
}

application/xml, text/xml

Sample:
<LoanApplicationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FfWebApi.Models">
  <ActualYearlyInterestRate>5</ActualYearlyInterestRate>
  <ApplicationId>sample string 14</ApplicationId>
  <ApplicationNumber>sample string 13</ApplicationNumber>
  <ExternalApplicationIdentifier>sample string 15</ExternalApplicationIdentifier>
  <InstallmentAmount>3</InstallmentAmount>
  <InstallmentCount>2</InstallmentCount>
  <InstallmentFee>7</InstallmentFee>
  <InterestRate>4</InterestRate>
  <IsApproved>true</IsApproved>
  <IsIncomeDocumentRequired>true</IsIncomeDocumentRequired>
  <IsTaxDocumentRequired>true</IsTaxDocumentRequired>
  <IsValid>true</IsValid>
  <LoanAmount>1</LoanAmount>
  <OpeningFee>6</OpeningFee>
  <RejectionReasonCode>sample string 12</RejectionReasonCode>
  <RejectionReasonMessage>sample string 11</RejectionReasonMessage>
  <ValidationMessage>sample string 9</ValidationMessage>
</LoanApplicationResult>