POST api/Application/Process

Processes the application. Will return whether or not the application was accepted, declined or went to manual handling Will throw Http code: NotAcceptable = 406 if basic type/required validation fails

Request Information

URI Parameters

None.

Body Parameters

The form

ApplicationRequest
NameDescriptionTypeAdditional information
ErrorMessage

string

None.

LoanAmount

integer

None.

LoanPeriodMonths

integer

None.

RePaymentMethodByPBS

boolean

None.

RePaymentRegNo

string

None.

RePaymentAccountNo

string

None.

BankName

string

None.

CustomerSinceMonth

string

None.

CustomerSinceYear

string

None.

CprNr

CprValidated

None.

FullName

string

None.

HousingType

string

None.

Address

Address

None.

PreviousAddress

Address

None.

LivedAtAddressSinceMonth

integer

None.

LivedAtAddressSinceYear

integer

None.

MovedRecently

string

None.

Email

string

None.

PhoneNr

string

None.

MobilePhoneNr

string

None.

MaritalStatus

string

None.

NrOfChildrenLivingHome

integer

None.

CoApplicant

boolean

None.

CurrentOccupation

string

None.

EmployedSinceMonth

integer

None.

EmployedSinceYear

integer

None.

MemberOfUnemploymentFund

boolean

None.

MemberOfUnemploymentFundSinceMonth

string

None.

MemberOfUnemploymentFundSinceYear

string

None.

DanishCitizen

boolean

None.

HasDanishResidencialPermit

boolean

None.

ResidencialPermitCategory

integer

None.

ResidencialPermitType

string

None.

ResidencialPermitNr

string

None.

ResidencialPermitAlienNr

string

None.

ResidencialPermitExpirationMonth

integer

None.

ResidencialPermitExpirationYear

integer

None.

YearlyIncomeBeforeTax

integer

None.

MonthlyIncomeBeforeTax

integer

None.

MonthlyIncomeAfterTax

integer

None.

Expenses

integer

None.

HasDankort

boolean

None.

HasVisaDankort

boolean

None.

HasInternationalCreditCard

boolean

None.

HasMasterCardDebitcard

boolean

None.

HasMasterCard

boolean

None.

HasOtherCard

boolean

None.

NoCard

boolean

None.

PaymentMethod

string

None.

PaymentRegNo

string

None.

PaymentAccountNo

string

None.

CoApplicantCpr

CprValidated

None.

CoApplicantFullName

string

None.

CoApplicantAddress

Address

None.

CoApplicantEmail

string

None.

CoApplicantPhoneNr

string

None.

CoApplicantMobilePhoneNr

string

None.

CoApplicantYearlyIncome

decimal number

None.

CoApplicantMonthlyIncomeBeforeTax

integer

None.

CoApplicantMonthlyIncome

integer

None.

CoApplicantSRef

string

None.

HasAgreed

boolean

None.

HasAgreedToMarketing

boolean

None.

HasRead

boolean

None.

HasSignedInsurance

boolean

None.

AbsoluteSigningPageUrl

string

None.

AbsoluteSmsSigningUrl

string

None.

PidValidationMessage

string

None.

FailedRequestId

integer

None.

SkipPidValidation

boolean

None.

Campaign

string

None.

Affiliate

string

None.

FromReminder

boolean

None.

ScreenResolution

string

None.

BasisbankReferenceId

BasisbankReferenceId

None.

Retailer

Retailer

None.

DynamicFields

Collection of Pair of string [key] and string [value]

None.

Request Formats

application/json, text/json

Sample:
{
  "ErrorMessage": "sample string 1",
  "LoanAmount": 2,
  "LoanPeriodMonths": 3,
  "RePaymentMethodByPBS": true,
  "RePaymentRegNo": "sample string 5",
  "RePaymentAccountNo": "sample string 6",
  "BankName": "sample string 7",
  "CustomerSinceMonth": "sample string 8",
  "CustomerSinceYear": "sample string 9",
  "CprNr": {
    "SignedData": "sample string 1",
    "Pid": "sample string 2",
    "IsValid": false,
    "Result": 0,
    "Value": "sample string 3"
  },
  "FullName": "sample string 10",
  "HousingType": "sample string 11",
  "Address": {
    "StreetName": "sample string 1",
    "HouseNr": "sample string 2",
    "FloorAndSide": "sample string 3",
    "ZipCode": 4,
    "City": "sample string 5",
    "Country": "sample string 6"
  },
  "PreviousAddress": {
    "StreetName": "sample string 1",
    "HouseNr": "sample string 2",
    "FloorAndSide": "sample string 3",
    "ZipCode": 4,
    "City": "sample string 5",
    "Country": "sample string 6"
  },
  "LivedAtAddressSinceMonth": 12,
  "LivedAtAddressSinceYear": 13,
  "MovedRecently": "sample string 14",
  "Email": "sample string 15",
  "PhoneNr": "sample string 16",
  "MobilePhoneNr": "sample string 17",
  "MaritalStatus": "sample string 18",
  "NrOfChildrenLivingHome": 19,
  "CoApplicant": true,
  "CurrentOccupation": "sample string 21",
  "EmployedSinceMonth": 22,
  "EmployedSinceYear": 23,
  "MemberOfUnemploymentFund": true,
  "MemberOfUnemploymentFundSinceMonth": "sample string 25",
  "MemberOfUnemploymentFundSinceYear": "sample string 26",
  "DanishCitizen": true,
  "HasDanishResidencialPermit": true,
  "ResidencialPermitCategory": 29,
  "ResidencialPermitType": "sample string 30",
  "ResidencialPermitNr": "sample string 31",
  "ResidencialPermitAlienNr": "sample string 32",
  "ResidencialPermitExpirationMonth": 33,
  "ResidencialPermitExpirationYear": 34,
  "YearlyIncomeBeforeTax": 35,
  "MonthlyIncomeBeforeTax": 36,
  "MonthlyIncomeAfterTax": 37,
  "Expenses": 38,
  "HasDankort": true,
  "HasVisaDankort": true,
  "HasInternationalCreditCard": true,
  "HasMasterCardDebitcard": true,
  "HasMasterCard": true,
  "HasOtherCard": true,
  "NoCard": true,
  "PaymentMethod": "sample string 46",
  "PaymentRegNo": "sample string 47",
  "PaymentAccountNo": "sample string 48",
  "CoApplicantCpr": {
    "SignedData": "sample string 1",
    "Pid": "sample string 2",
    "IsValid": false,
    "Result": 0,
    "Value": "sample string 3"
  },
  "CoApplicantFullName": "sample string 49",
  "CoApplicantAddress": {
    "StreetName": "sample string 1",
    "HouseNr": "sample string 2",
    "FloorAndSide": "sample string 3",
    "ZipCode": 4,
    "City": "sample string 5",
    "Country": "sample string 6"
  },
  "CoApplicantEmail": "sample string 50",
  "CoApplicantPhoneNr": "sample string 51",
  "CoApplicantMobilePhoneNr": "sample string 52",
  "CoApplicantYearlyIncome": 53.1,
  "CoApplicantMonthlyIncomeBeforeTax": 54,
  "CoApplicantMonthlyIncome": 55,
  "CoApplicantSRef": "sample string 56",
  "HasAgreed": true,
  "HasAgreedToMarketing": true,
  "HasRead": true,
  "HasSignedInsurance": true,
  "AbsoluteSigningPageUrl": "sample string 61",
  "AbsoluteSmsSigningUrl": "sample string 62",
  "PidValidationMessage": "sample string 63",
  "FailedRequestId": 64,
  "SkipPidValidation": true,
  "Campaign": "sample string 66",
  "Affiliate": "sample string 67",
  "FromReminder": false,
  "ScreenResolution": "sample string 68",
  "BasisbankEntryType": "Direct",
  "Applicant": {
    "HousingType": "NO",
    "MaritalStatus": "NO",
    "Occupation": "NO",
    "MemberOfUnemploymentFund": false,
    "MemberOfUnemploymentFundSinc": "0001-01-01",
    "MovedRecently": false,
    "MonthlyExpenses": 0,
    "MonthlyDiscretionaryHouseholdIncome": 0,
    "NrOfChildrenLivingHome": 0,
    "DanishCitizen": false,
    "FullName": "sample string 10",
    "Ssn": {
      "SignedData": "sample string 1",
      "Pid": "sample string 2",
      "IsValid": false,
      "Result": 0,
      "Value": "sample string 3"
    }
  },
  "BasisbankReferenceId": {
    "ReferenceId": 1
  },
  "Retailer": {
    "CompanyId": 1,
    "RetailerId": 2,
    "EntryType": 3,
    "PinCode": 0,
    "ProductId": 4,
    "ProductCode": "sample string 5",
    "Signature": "sample string 6"
  },
  "DynamicFields": [
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    }
  ],
  "Flags": []
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ProcessResponse
NameDescriptionTypeAdditional information
IsExistingCustomer

boolean

None.

ApplicationState

ApplicationState

None.

PrintDocumentsUrl

string

None.

InterestRate

decimal number

None.

ContractId

Remove this when search by refid is implemented in frontoffice

string

None.

RegistredInDbr

boolean

None.

RegistredInRki

boolean

None.

FailedId

integer

None.

BasisbankReferenceId

Reference id associated with the request

BasisbankReferenceId

None.

Success

Indicates if the request was processed successfully

boolean

None.

ErrorDetails

Failure details, will be present in case of an internal error.

Exception

None.

DynamicFields

Collection of Pair of string [key] and string [value]

None.

Flags

Collection of Flag

None.

Response Formats

application/json, text/json

Sample:
{
  "IsExistingCustomer": false,
  "ApplicationState": 0,
  "PrintDocumentsUrl": "sample string 1",
  "InterestRate": 2.1,
  "ContractId": "sample string 3",
  "RegistredInDbr": true,
  "RegistredInRki": true,
  "FailedId": 6,
  "BasisbankReferenceId": {
    "ReferenceId": 1
  },
  "Success": false,
  "ErrorDetails": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  },
  "DynamicFields": [
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    }
  ],
  "Flags": [
    {
      "Name": "sample string 1",
      "FlaggedBy": "sample string 2",
      "Type": "sample string 3",
      "IsPersisted": true,
      "Flagged": "2019-08-24T02:02:05.4864954+02:00"
    },
    {
      "Name": "sample string 1",
      "FlaggedBy": "sample string 2",
      "Type": "sample string 3",
      "IsPersisted": true,
      "Flagged": "2019-08-24T02:02:05.4864954+02:00"
    }
  ]
}
URI parameters
=
Headers | Add header
: Delete
Body
Samples:
Status
Headers
Body