| PUT | /CreateOCAv2/ |
|---|
"use strict";
export class CreateOCAv2RequestResponse {
/** @param {{Code?:string,Message?:string,URN?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Code;
/** @type {string} */
Message;
/** @type {number} */
URN;
}
export class GeneralDetailsv2 {
/** @param {{OCAApprovalNumber?:string,EnquiryDateTime?:string,Brand?:number,CustomerReferenceNumber?:string,CustomerType?:string,SourceofBusiness?:string,TagURL?:string,RequestSource?:number,FormID?:string,ProposalCreated?:string,LoadFullData?:string,ProposalNumber?:string,POSSystem?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
OCAApprovalNumber;
/** @type {string} */
EnquiryDateTime;
/** @type {number} */
Brand;
/** @type {string} */
CustomerReferenceNumber;
/** @type {string} */
CustomerType;
/** @type {string} */
SourceofBusiness;
/** @type {string} */
TagURL;
/** @type {number} */
RequestSource;
/** @type {string} */
FormID;
/** @type {string} */
ProposalCreated;
/** @type {string} */
LoadFullData;
/** @type {string} */
ProposalNumber;
/** @type {string} */
POSSystem;
}
export class FinanceDetailsv2 {
/** @param {{FinancialProduct?:string,CampaignCode?:string,PhoenixFinanceProductCode?:string,Fixed?:string,FleetNonFleet?:string,RFLCover?:string,Duration?:number,PaymentRentalAmount?:number,RentalAmountExcVAT?:number,AdvanceArrears?:string,AnnualMileage?:number,ExcessMileageRate?:number,CustomerDepositContribution?:number,RetailerDepositContribution?:number,RetailerDepositContributionNet?:number,ManufacturerDepositContribution?:number,ManufacturerDepositContributionNet?:number,TotalDepositContribution?:number,LumpSum?:number,CostForCredit?:number,PurchaseActivationFee?:number,TotalAmountPayable?:number,FixedInterestRate?:number,RepresentativeAPR?:number,TrueFlatRate?:string,RVReferenceNumber?:string,OptionalPurchasePayment?:number,AdvancedRentalAmount?:number,NumberofAdvanceRentals?:string,PaymentProfile?:string,RandMIncluded?:string,RandMLevel?:string,ProductType?:string,Frequency?:string,PauseType?:string,EqualsFinance?:number,AcceptanceFee?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
FinancialProduct;
/** @type {string} */
CampaignCode;
/** @type {string} */
PhoenixFinanceProductCode;
/** @type {string} */
Fixed;
/** @type {string} */
FleetNonFleet;
/** @type {string} */
RFLCover;
/** @type {number} */
Duration;
/** @type {number} */
PaymentRentalAmount;
/** @type {?number} */
RentalAmountExcVAT;
/** @type {string} */
AdvanceArrears;
/** @type {number} */
AnnualMileage;
/** @type {number} */
ExcessMileageRate;
/** @type {?number} */
CustomerDepositContribution;
/** @type {?number} */
RetailerDepositContribution;
/** @type {?number} */
RetailerDepositContributionNet;
/** @type {?number} */
ManufacturerDepositContribution;
/** @type {?number} */
ManufacturerDepositContributionNet;
/** @type {?number} */
TotalDepositContribution;
/** @type {?number} */
LumpSum;
/** @type {?number} */
CostForCredit;
/** @type {?number} */
PurchaseActivationFee;
/** @type {?number} */
TotalAmountPayable;
/** @type {?number} */
FixedInterestRate;
/** @type {?number} */
RepresentativeAPR;
/** @type {string} */
TrueFlatRate;
/** @type {string} */
RVReferenceNumber;
/** @type {?number} */
OptionalPurchasePayment;
/** @type {number} */
AdvancedRentalAmount;
/** @type {string} */
NumberofAdvanceRentals;
/** @type {string} */
PaymentProfile;
/** @type {string} */
RandMIncluded;
/** @type {string} */
RandMLevel;
/** @type {string} */
ProductType;
/** @type {string} */
Frequency;
/** @type {string} */
PauseType;
/** @type {?number} */
EqualsFinance;
/** @type {?number} */
AcceptanceFee;
}
export class ModelOptionDetailsv2 {
/** @param {{Seq?:number,Type?:string,Code?:string,Description?:string,Price?:number,PriceGross?:number,VATCategory?:string,VATAmount?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Seq;
/** @type {string} */
Type;
/** @type {string} */
Code;
/** @type {string} */
Description;
/** @type {number} */
Price;
/** @type {?number} */
PriceGross;
/** @type {string} */
VATCategory;
/** @type {?number} */
VATAmount;
}
export class VehicleDetailsv2 {
/** @param {{OnlineCode?:string,ModelClass?:string,ModelBody?:string,ModelDerivative?:string,TotalPrice?:number,OTRPrice?:number,VIN?:string,RegNo?:string,CommissionNumber?:string,EngineNumber?:string,CurrentMileage?:number,MilesKilometers?:string,FirstRegistrationDate?:string,NewUsedFlag?:string,NewVehicleModelOptionDetails?:ModelOptionDetailsv2[],VID?:string,Baumuster?:string,VehiclePrice?:number,TotalVAT?:number,OLEVGrant?:number,ExtrasTotalExcVAT?:number,CombinedCO2?:string,VehicleVATTickBox?:string,FirstYearRFLIncluded?:string,FirstYearRFLAmount?:number,FirstRegFeeIncludedFlag?:string,FirstRegFeeAmount?:number,HighLowVEDSupplementFlag?:string,LeaseRFLSubsequentYears?:string,LeaseRFLSubsequentYearsAmount?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
OnlineCode;
/** @type {string} */
ModelClass;
/** @type {string} */
ModelBody;
/** @type {string} */
ModelDerivative;
/** @type {number} */
TotalPrice;
/** @type {number} */
OTRPrice;
/** @type {string} */
VIN;
/** @type {string} */
RegNo;
/** @type {string} */
CommissionNumber;
/** @type {string} */
EngineNumber;
/** @type {number} */
CurrentMileage;
/** @type {string} */
MilesKilometers;
/** @type {string} */
FirstRegistrationDate;
/** @type {string} */
NewUsedFlag;
/** @type {ModelOptionDetailsv2[]} */
NewVehicleModelOptionDetails;
/** @type {string} */
VID;
/** @type {string} */
Baumuster;
/** @type {?number} */
VehiclePrice;
/** @type {?number} */
TotalVAT;
/** @type {?number} */
OLEVGrant;
/** @type {?number} */
ExtrasTotalExcVAT;
/** @type {string} */
CombinedCO2;
/** @type {string} */
VehicleVATTickBox;
/** @type {string} */
FirstYearRFLIncluded;
/** @type {?number} */
FirstYearRFLAmount;
/** @type {string} */
FirstRegFeeIncludedFlag;
/** @type {?number} */
FirstRegFeeAmount;
/** @type {string} */
HighLowVEDSupplementFlag;
/** @type {string} */
LeaseRFLSubsequentYears;
/** @type {?number} */
LeaseRFLSubsequentYearsAmount;
}
export class DeliveryDetailsv2 {
/** @param {{DealerCode?:string,DeliveryPreference?:string,DeliveryDate?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
DealerCode;
/** @type {string} */
DeliveryPreference;
/** @type {string} */
DeliveryDate;
}
export class ExistingVehicleDetailsv2 {
/** @param {{TradeInFlag?:string,TradeInIncludedInCalc?:string,TradeInValue?:number,TradeInValueNet?:number,TradeInRegNo?:string,TradeInVIN?:string,TradeInMileage?:number,TradeInCondition?:string,SettlementFlag?:string,SettlementIncludedInCalc?:string,SettlementValue?:number,SettlementValueNet?:number,SettlementRegNo?:string,SettlementVIN?:string,SettlementMileage?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
TradeInFlag;
/** @type {string} */
TradeInIncludedInCalc;
/** @type {number} */
TradeInValue;
/** @type {?number} */
TradeInValueNet;
/** @type {string} */
TradeInRegNo;
/** @type {string} */
TradeInVIN;
/** @type {?number} */
TradeInMileage;
/** @type {string} */
TradeInCondition;
/** @type {string} */
SettlementFlag;
/** @type {string} */
SettlementIncludedInCalc;
/** @type {number} */
SettlementValue;
/** @type {number} */
SettlementValueNet;
/** @type {string} */
SettlementRegNo;
/** @type {string} */
SettlementVIN;
/** @type {?number} */
SettlementMileage;
}
export class InsuranceDetails {
/** @param {{InterestedInFirstCoverFlag?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
InterestedInFirstCoverFlag;
}
export class AddressWithTimeLinev2 {
/** @param {{AddressLine1?:string,AddressLine2?:string,AddressLine3?:string,Town?:string,County?:string,Country?:string,Postcode?:string,Duration?:string,DateStarted?:string,TotalNumberOfMonths?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
AddressLine1;
/** @type {string} */
AddressLine2;
/** @type {string} */
AddressLine3;
/** @type {string} */
Town;
/** @type {string} */
County;
/** @type {string} */
Country;
/** @type {string} */
Postcode;
/** @type {string} */
Duration;
/** @type {string} */
DateStarted;
/** @type {string} */
TotalNumberOfMonths;
}
export class PreviousAddressv2 {
/** @param {{Seq?:number,Address?:AddressWithTimeLinev2}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Seq;
/** @type {AddressWithTimeLinev2} */
Address;
}
export class Address {
/** @param {{AddressLine1?:string,AddressLine2?:string,AddressLine3?:string,AddressLine4?:string,AddressLine5?:string,Postcode?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
AddressLine1;
/** @type {string} */
AddressLine2;
/** @type {string} */
AddressLine3;
/** @type {string} */
AddressLine4;
/** @type {string} */
AddressLine5;
/** @type {string} */
Postcode;
}
export class EmployerDetailsv2 {
/** @param {{EmploymentType?:string,EmployersName?:string,Occupation?:string,EmployersAddress?:AddressWithTimeLinev2}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
EmploymentType;
/** @type {string} */
EmployersName;
/** @type {string} */
Occupation;
/** @type {AddressWithTimeLinev2} */
EmployersAddress;
}
export class CurrentEmploymentDetailsv2 {
/** @param {{EmployerDetails?:EmployerDetailsv2,MonthsAtEmployer?:string,DateEmploymentCommenced?:string,AnnualIncome?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {EmployerDetailsv2} */
EmployerDetails;
/** @type {string} */
MonthsAtEmployer;
/** @type {string} */
DateEmploymentCommenced;
/** @type {string} */
AnnualIncome;
}
export class PreviousEmploymentv2 {
/** @param {{Seq?:number,previousEmployment?:EmployerDetailsv2}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Seq;
/** @type {EmployerDetailsv2} */
previousEmployment;
}
export class MarketingPreference {
/** @param {{OptInMail?:string,OptInTelephone?:string,OptInEmail?:string,OptInSMS?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
OptInMail;
/** @type {string} */
OptInTelephone;
/** @type {string} */
OptInEmail;
/** @type {string} */
OptInSMS;
}
export class CreditApplicationIndividualV2 {
/** @param {{Title?:string,Initial?:string,FirstName?:string,Surname?:string,DateofBirth?:string,Gender?:string,MaritalStatus?:string,ResidentialStatus?:string,CurrentAddress?:AddressWithTimeLinev2,PreviousAddresses?:PreviousAddressv2[],HomePhone?:string,MobilePhone?:string,WorkPhone?:string,ContactAtWork?:string,Email?:string,BankSortCode?:string,BankAccountNumber?:string,BankAccountName?:string,BankName?:string,BankAddress?:Address,BankPaymentType?:string,DrivingLicenceNumber?:string,CurrentEmploymentDetails?:CurrentEmploymentDetailsv2,PreviousEmploymentDetails?:PreviousEmploymentv2[],MarketingPreference?:MarketingPreference,CreditCheckConsent?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Title;
/** @type {string} */
Initial;
/** @type {string} */
FirstName;
/** @type {string} */
Surname;
/** @type {string} */
DateofBirth;
/** @type {string} */
Gender;
/** @type {string} */
MaritalStatus;
/** @type {string} */
ResidentialStatus;
/** @type {AddressWithTimeLinev2} */
CurrentAddress;
/** @type {PreviousAddressv2[]} */
PreviousAddresses;
/** @type {string} */
HomePhone;
/** @type {string} */
MobilePhone;
/** @type {string} */
WorkPhone;
/** @type {string} */
ContactAtWork;
/** @type {string} */
Email;
/** @type {string} */
BankSortCode;
/** @type {string} */
BankAccountNumber;
/** @type {string} */
BankAccountName;
/** @type {string} */
BankName;
/** @type {Address} */
BankAddress;
/** @type {string} */
BankPaymentType;
/** @type {string} */
DrivingLicenceNumber;
/** @type {CurrentEmploymentDetailsv2} */
CurrentEmploymentDetails;
/** @type {PreviousEmploymentv2[]} */
PreviousEmploymentDetails;
/** @type {MarketingPreference} */
MarketingPreference;
/** @type {string} */
CreditCheckConsent;
}
export class BusinessPartnerv2 {
/** @param {{Seq?:number,Title?:string,Initial?:string,FirstName?:string,Surname?:string,DateofBirth?:string,Gender?:string,MaritalStatus?:string,ResidentialStatus?:string,CurrentAddress?:AddressWithTimeLinev2,PreviousAddresses?:PreviousAddressv2[],HomePhone?:string,MobilePhone?:string,BusinessPhone?:string,Relationship?:string,Email?:string,CurrentEmploymentDetails?:CurrentEmploymentDetailsv2,PreviousEmploymentDetails?:PreviousEmploymentv2[],PartnerType?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Seq;
/** @type {string} */
Title;
/** @type {string} */
Initial;
/** @type {string} */
FirstName;
/** @type {string} */
Surname;
/** @type {string} */
DateofBirth;
/** @type {string} */
Gender;
/** @type {string} */
MaritalStatus;
/** @type {string} */
ResidentialStatus;
/** @type {AddressWithTimeLinev2} */
CurrentAddress;
/** @type {PreviousAddressv2[]} */
PreviousAddresses;
/** @type {string} */
HomePhone;
/** @type {string} */
MobilePhone;
/** @type {string} */
BusinessPhone;
/** @type {string} */
Relationship;
/** @type {string} */
Email;
/** @type {CurrentEmploymentDetailsv2} */
CurrentEmploymentDetails;
/** @type {PreviousEmploymentv2[]} */
PreviousEmploymentDetails;
/** @type {string} */
PartnerType;
}
export class CreditApplicationBusinessV2 {
/** @param {{TypeOfBusiness?:string,BusinessContactPosition?:string,Title?:string,Initial?:string,FirstName?:string,Surname?:string,CurrentHomeAddress?:AddressWithTimeLinev2,HomePhone?:string,WorkPhone?:string,MobilePhone?:string,Email?:string,CompanyName?:string,CompanyRegistrationNumber?:string,TradingAs?:string,BusinessActivity?:string,NumberOfEmployees?:number,YearsTrading?:number,Position?:string,BankSortCode?:string,BankAccountNumber?:string,BankAccountName?:string,BankName?:string,BankAddress?:Address,NumberofPartners?:number,BusinessPartners?:BusinessPartnerv2[],MarketingPreference?:MarketingPreference,PreviousAddresses?:PreviousAddressv2[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
TypeOfBusiness;
/** @type {string} */
BusinessContactPosition;
/** @type {string} */
Title;
/** @type {string} */
Initial;
/** @type {string} */
FirstName;
/** @type {string} */
Surname;
/** @type {AddressWithTimeLinev2} */
CurrentHomeAddress;
/** @type {string} */
HomePhone;
/** @type {string} */
WorkPhone;
/** @type {string} */
MobilePhone;
/** @type {string} */
Email;
/** @type {string} */
CompanyName;
/** @type {string} */
CompanyRegistrationNumber;
/** @type {string} */
TradingAs;
/** @type {string} */
BusinessActivity;
/** @type {number} */
NumberOfEmployees;
/** @type {number} */
YearsTrading;
/** @type {string} */
Position;
/** @type {string} */
BankSortCode;
/** @type {string} */
BankAccountNumber;
/** @type {string} */
BankAccountName;
/** @type {string} */
BankName;
/** @type {Address} */
BankAddress;
/** @type {number} */
NumberofPartners;
/** @type {BusinessPartnerv2[]} */
BusinessPartners;
/** @type {MarketingPreference} */
MarketingPreference;
/** @type {PreviousAddressv2[]} */
PreviousAddresses;
}
export class PaymentDetail {
/** @param {{Seq?:number,PaymentType?:string,AmountPaid?:number,PaymentTransactionID?:string,Description?:string,PaymentDateTime?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Seq;
/** @type {string} */
PaymentType;
/** @type {number} */
AmountPaid;
/** @type {string} */
PaymentTransactionID;
/** @type {string} */
Description;
/** @type {string} */
PaymentDateTime;
}
export class PaymentDetails {
/** @param {{paymentDetails?:PaymentDetail[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {PaymentDetail[]} */
paymentDetails;
}
export class NoteDetails {
/** @param {{Seq?:number,Note?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Seq;
/** @type {string} */
Note;
}
export class DiPReasons {
/** @param {{DipReasonSeq?:number,DipDecisionCode?:string,DiPDecisionReason?:string,DiPDealerMessage?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
DipReasonSeq;
/** @type {string} */
DipDecisionCode;
/** @type {string} */
DiPDecisionReason;
/** @type {string} */
DiPDealerMessage;
}
export class DiPDetails {
/** @param {{DiPCustomerId?:string,DiPTimestamp?:string,DiPRequestID?:string,DiPDecisionType?:string,DiPPrimaryDecisionCode?:string,DiPDecisionDescription?:string,DipDecisionDescriptionCode?:string,DipPrimaryDecisionReason?:string,DiPPrimaryDecisionReasonDealerMessage?:string,diPReasons?:DiPReasons[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
DiPCustomerId;
/** @type {string} */
DiPTimestamp;
/** @type {string} */
DiPRequestID;
/** @type {string} */
DiPDecisionType;
/** @type {string} */
DiPPrimaryDecisionCode;
/** @type {string} */
DiPDecisionDescription;
/** @type {string} */
DipDecisionDescriptionCode;
/** @type {string} */
DipPrimaryDecisionReason;
/** @type {string} */
DiPPrimaryDecisionReasonDealerMessage;
/** @type {DiPReasons[]} */
diPReasons;
}
export class CreateOCAv2Request {
/** @param {{Username?:string,Timestamp?:string,Token?:string,GeneralDetails?:GeneralDetailsv2,FinanceDetails?:FinanceDetailsv2,VehicleDetails?:VehicleDetailsv2,DeliveryDetails?:DeliveryDetailsv2,ExistingVehicleDetails?:ExistingVehicleDetailsv2,InsuranceDetails?:InsuranceDetails,CreditApplicationIndividual?:CreditApplicationIndividualV2,CreditApplicationBusiness?:CreditApplicationBusinessV2,PaymentDetails?:PaymentDetails,Notes?:NoteDetails[],DiPDetails?:DiPDetails}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Username;
/** @type {string} */
Timestamp;
/** @type {string} */
Token;
/** @type {GeneralDetailsv2} */
GeneralDetails;
/** @type {FinanceDetailsv2} */
FinanceDetails;
/** @type {VehicleDetailsv2} */
VehicleDetails;
/** @type {DeliveryDetailsv2} */
DeliveryDetails;
/** @type {ExistingVehicleDetailsv2} */
ExistingVehicleDetails;
/** @type {InsuranceDetails} */
InsuranceDetails;
/** @type {CreditApplicationIndividualV2} */
CreditApplicationIndividual;
/** @type {CreditApplicationBusinessV2} */
CreditApplicationBusiness;
/** @type {PaymentDetails} */
PaymentDetails;
/** @type {NoteDetails[]} */
Notes;
/** @type {DiPDetails} */
DiPDetails;
}
JavaScript CreateOCAv2Request DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /CreateOCAv2/ HTTP/1.1
Host: webservices.mbukdatabase.co.uk
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"Username":"String","Timestamp":"String","Token":"String","GeneralDetails":{"OCAApprovalNumber":"String","EnquiryDateTime":"String","Brand":0,"CustomerReferenceNumber":"String","CustomerType":"String","SourceofBusiness":"String","TagURL":"String","RequestSource":0,"FormID":"String","ProposalCreated":"String","LoadFullData":"String","ProposalNumber":"String","POSSystem":"String"},"FinanceDetails":{"FinancialProduct":"String","CampaignCode":"String","PhoenixFinanceProductCode":"String","Fixed":"String","FleetNonFleet":"String","RFLCover":"String","Duration":0,"PaymentRentalAmount":0,"RentalAmountExcVAT":0,"AdvanceArrears":"String","AnnualMileage":0,"ExcessMileageRate":0,"CustomerDepositContribution":0,"RetailerDepositContribution":0,"RetailerDepositContributionNet":0,"ManufacturerDepositContribution":0,"ManufacturerDepositContributionNet":0,"TotalDepositContribution":0,"LumpSum":0,"CostForCredit":0,"PurchaseActivationFee":0,"TotalAmountPayable":0,"FixedInterestRate":0,"RepresentativeAPR":0,"TrueFlatRate":"String","RVReferenceNumber":"String","OptionalPurchasePayment":0,"AdvancedRentalAmount":0,"NumberofAdvanceRentals":"String","PaymentProfile":"String","RandMIncluded":"String","RandMLevel":"String","ProductType":"String","Frequency":"String","PauseType":"String","EqualsFinance":0,"AcceptanceFee":0},"VehicleDetails":{"OnlineCode":"String","ModelClass":"String","ModelBody":"String","ModelDerivative":"String","TotalPrice":0,"OTRPrice":0,"VIN":"String","RegNo":"String","CommissionNumber":"String","EngineNumber":"String","CurrentMileage":0,"MilesKilometers":"String","FirstRegistrationDate":"String","NewUsedFlag":"String","NewVehicleModelOptionDetails":[{"Seq":0,"Type":"String","Code":"String","Description":"String","Price":0,"PriceGross":0,"VATCategory":"String","VATAmount":0}],"VID":"String","Baumuster":"String","VehiclePrice":0,"TotalVAT":0,"OLEVGrant":0,"ExtrasTotalExcVAT":0,"CombinedCO2":"String","VehicleVATTickBox":"String","FirstYearRFLIncluded":"String","FirstYearRFLAmount":0,"FirstRegFeeIncludedFlag":"String","FirstRegFeeAmount":0,"HighLowVEDSupplementFlag":"String","LeaseRFLSubsequentYears":"String","LeaseRFLSubsequentYearsAmount":0},"DeliveryDetails":{"DealerCode":"String","DeliveryPreference":"String","DeliveryDate":"String"},"ExistingVehicleDetails":{"TradeInFlag":"String","TradeInIncludedInCalc":"String","TradeInValue":0,"TradeInValueNet":0,"TradeInRegNo":"String","TradeInVIN":"String","TradeInMileage":0,"TradeInCondition":"String","SettlementFlag":"String","SettlementIncludedInCalc":"String","SettlementValue":0,"SettlementValueNet":0,"SettlementRegNo":"String","SettlementVIN":"String","SettlementMileage":0},"InsuranceDetails":{"InterestedInFirstCoverFlag":"String"},"CreditApplicationIndividual":{"Title":"String","Initial":"String","FirstName":"String","Surname":"String","DateofBirth":"String","Gender":"String","MaritalStatus":"String","ResidentialStatus":"String","CurrentAddress":{"AddressLine1":"String","AddressLine2":"String","AddressLine3":"String","Town":"String","County":"String","Country":"String","Postcode":"String","Duration":"String","DateStarted":"String","TotalNumberOfMonths":"String"},"PreviousAddresses":[{"Seq":0,"Address":{"AddressLine1":"String","AddressLine2":"String","AddressLine3":"String","Town":"String","County":"String","Country":"String","Postcode":"String","Duration":"String","DateStarted":"String","TotalNumberOfMonths":"String"}}],"HomePhone":"String","MobilePhone":"String","WorkPhone":"String","ContactAtWork":"String","Email":"String","BankSortCode":"String","BankAccountNumber":"String","BankAccountName":"String","BankName":"String","BankAddress":{"AddressLine1":"String","AddressLine2":"String","AddressLine3":"String","AddressLine4":"String","AddressLine5":"String","Postcode":"String"},"BankPaymentType":"String","DrivingLicenceNumber":"String","CurrentEmploymentDetails":{"EmployerDetails":{"EmploymentType":"String","EmployersName":"String","Occupation":"String","EmployersAddress":{"AddressLine1":"String","AddressLine2":"String","AddressLine3":"String","Town":"String","County":"String","Country":"String","Postcode":"String","Duration":"String","DateStarted":"String","TotalNumberOfMonths":"String"}},"MonthsAtEmployer":"String","DateEmploymentCommenced":"String","AnnualIncome":"String"},"PreviousEmploymentDetails":[{"Seq":0,"previousEmployment":{"EmploymentType":"String","EmployersName":"String","Occupation":"String","EmployersAddress":{"AddressLine1":"String","AddressLine2":"String","AddressLine3":"String","Town":"String","County":"String","Country":"String","Postcode":"String","Duration":"String","DateStarted":"String","TotalNumberOfMonths":"String"}}}],"MarketingPreference":{"OptInMail":"String","OptInTelephone":"String","OptInEmail":"String","OptInSMS":"String"},"CreditCheckConsent":"String"},"CreditApplicationBusiness":{"TypeOfBusiness":"String","BusinessContactPosition":"String","Title":"String","Initial":"String","FirstName":"String","Surname":"String","CurrentHomeAddress":{"AddressLine1":"String","AddressLine2":"String","AddressLine3":"String","Town":"String","County":"String","Country":"String","Postcode":"String","Duration":"String","DateStarted":"String","TotalNumberOfMonths":"String"},"HomePhone":"String","WorkPhone":"String","MobilePhone":"String","Email":"String","CompanyName":"String","CompanyRegistrationNumber":"String","TradingAs":"String","BusinessActivity":"String","NumberOfEmployees":0,"YearsTrading":0,"Position":"String","BankSortCode":"String","BankAccountNumber":"String","BankAccountName":"String","BankName":"String","BankAddress":{"AddressLine1":"String","AddressLine2":"String","AddressLine3":"String","AddressLine4":"String","AddressLine5":"String","Postcode":"String"},"NumberofPartners":0,"BusinessPartners":[{"Seq":0,"Title":"String","Initial":"String","FirstName":"String","Surname":"String","DateofBirth":"String","Gender":"String","MaritalStatus":"String","ResidentialStatus":"String","CurrentAddress":{"AddressLine1":"String","AddressLine2":"String","AddressLine3":"String","Town":"String","County":"String","Country":"String","Postcode":"String","Duration":"String","DateStarted":"String","TotalNumberOfMonths":"String"},"PreviousAddresses":[{"Seq":0,"Address":{"AddressLine1":"String","AddressLine2":"String","AddressLine3":"String","Town":"String","County":"String","Country":"String","Postcode":"String","Duration":"String","DateStarted":"String","TotalNumberOfMonths":"String"}}],"HomePhone":"String","MobilePhone":"String","BusinessPhone":"String","Relationship":"String","Email":"String","CurrentEmploymentDetails":{"EmployerDetails":{"EmploymentType":"String","EmployersName":"String","Occupation":"String","EmployersAddress":{"AddressLine1":"String","AddressLine2":"String","AddressLine3":"String","Town":"String","County":"String","Country":"String","Postcode":"String","Duration":"String","DateStarted":"String","TotalNumberOfMonths":"String"}},"MonthsAtEmployer":"String","DateEmploymentCommenced":"String","AnnualIncome":"String"},"PreviousEmploymentDetails":[{"Seq":0,"previousEmployment":{"EmploymentType":"String","EmployersName":"String","Occupation":"String","EmployersAddress":{"AddressLine1":"String","AddressLine2":"String","AddressLine3":"String","Town":"String","County":"String","Country":"String","Postcode":"String","Duration":"String","DateStarted":"String","TotalNumberOfMonths":"String"}}}],"PartnerType":"String"}],"MarketingPreference":{"OptInMail":"String","OptInTelephone":"String","OptInEmail":"String","OptInSMS":"String"},"PreviousAddresses":[{"Seq":0,"Address":{"AddressLine1":"String","AddressLine2":"String","AddressLine3":"String","Town":"String","County":"String","Country":"String","Postcode":"String","Duration":"String","DateStarted":"String","TotalNumberOfMonths":"String"}}]},"PaymentDetails":{"paymentDetails":[{"Seq":0,"PaymentType":"String","AmountPaid":0,"PaymentTransactionID":"String","Description":"String","PaymentDateTime":"String"}]},"Notes":[{"Seq":0,"Note":"String"}],"DiPDetails":{"DiPCustomerId":"String","DiPTimestamp":"String","DiPRequestID":"String","DiPDecisionType":"String","DiPPrimaryDecisionCode":"String","DiPDecisionDescription":"String","DipDecisionDescriptionCode":"String","DipPrimaryDecisionReason":"String","DiPPrimaryDecisionReasonDealerMessage":"String","diPReasons":[{"DipReasonSeq":0,"DipDecisionCode":"String","DiPDecisionReason":"String","DiPDealerMessage":"String"}]}}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"Code":"String","Message":"String","URN":0}