PUT | /CreateOCAv2/ |
---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports MBOnlineCreditApplicationService.CreateOCAv2
Imports MBOnlineCreditApplicationService.BusinessLib.DomainClasses
Namespace Global
Namespace MBOnlineCreditApplicationService.BusinessLib.DomainClasses
Public Partial Class Address
Public Overridable Property AddressLine1 As String
Public Overridable Property AddressLine2 As String
Public Overridable Property AddressLine3 As String
Public Overridable Property AddressLine4 As String
Public Overridable Property AddressLine5 As String
Public Overridable Property Postcode As String
End Class
Public Partial Class AddressWithTimeLinev2
Public Overridable Property AddressLine1 As String
Public Overridable Property AddressLine2 As String
Public Overridable Property AddressLine3 As String
Public Overridable Property Town As String
Public Overridable Property County As String
Public Overridable Property Country As String
Public Overridable Property Postcode As String
Public Overridable Property Duration As String
Public Overridable Property DateStarted As String
Public Overridable Property TotalNumberOfMonths As String
End Class
Public Partial Class BusinessPartnerv2
Public Sub New()
PreviousAddresses = New PreviousAddressv2(){}
PreviousEmploymentDetails = New PreviousEmploymentv2(){}
End Sub
Public Overridable Property Seq As Integer
Public Overridable Property Title As String
Public Overridable Property Initial As String
Public Overridable Property FirstName As String
Public Overridable Property Surname As String
Public Overridable Property DateofBirth As String
Public Overridable Property Gender As String
Public Overridable Property MaritalStatus As String
Public Overridable Property ResidentialStatus As String
Public Overridable Property CurrentAddress As AddressWithTimeLinev2
Public Overridable Property PreviousAddresses As PreviousAddressv2()
Public Overridable Property HomePhone As String
Public Overridable Property MobilePhone As String
Public Overridable Property BusinessPhone As String
Public Overridable Property Relationship As String
Public Overridable Property Email As String
Public Overridable Property CurrentEmploymentDetails As CurrentEmploymentDetailsv2
Public Overridable Property PreviousEmploymentDetails As PreviousEmploymentv2()
Public Overridable Property PartnerType As String
End Class
Public Partial Class CreditApplicationBusinessV2
Public Sub New()
BusinessPartners = New BusinessPartnerv2(){}
PreviousAddresses = New PreviousAddressv2(){}
End Sub
Public Overridable Property TypeOfBusiness As String
Public Overridable Property BusinessContactPosition As String
Public Overridable Property Title As String
Public Overridable Property Initial As String
Public Overridable Property FirstName As String
Public Overridable Property Surname As String
Public Overridable Property CurrentHomeAddress As AddressWithTimeLinev2
Public Overridable Property HomePhone As String
Public Overridable Property WorkPhone As String
Public Overridable Property MobilePhone As String
Public Overridable Property Email As String
Public Overridable Property CompanyName As String
Public Overridable Property CompanyRegistrationNumber As String
Public Overridable Property TradingAs As String
Public Overridable Property BusinessActivity As String
Public Overridable Property NumberOfEmployees As Integer
Public Overridable Property YearsTrading As Integer
Public Overridable Property Position As String
Public Overridable Property BankSortCode As String
Public Overridable Property BankAccountNumber As String
Public Overridable Property BankAccountName As String
Public Overridable Property BankName As String
Public Overridable Property BankAddress As Address
Public Overridable Property NumberofPartners As Integer
Public Overridable Property BusinessPartners As BusinessPartnerv2()
Public Overridable Property MarketingPreference As MarketingPreference
Public Overridable Property PreviousAddresses As PreviousAddressv2()
End Class
Public Partial Class CreditApplicationIndividualV2
Public Sub New()
PreviousAddresses = New PreviousAddressv2(){}
PreviousEmploymentDetails = New PreviousEmploymentv2(){}
End Sub
Public Overridable Property Title As String
Public Overridable Property Initial As String
Public Overridable Property FirstName As String
Public Overridable Property Surname As String
Public Overridable Property DateofBirth As String
Public Overridable Property Gender As String
Public Overridable Property MaritalStatus As String
Public Overridable Property ResidentialStatus As String
Public Overridable Property CurrentAddress As AddressWithTimeLinev2
Public Overridable Property PreviousAddresses As PreviousAddressv2()
Public Overridable Property HomePhone As String
Public Overridable Property MobilePhone As String
Public Overridable Property WorkPhone As String
Public Overridable Property ContactAtWork As String
Public Overridable Property Email As String
Public Overridable Property BankSortCode As String
Public Overridable Property BankAccountNumber As String
Public Overridable Property BankAccountName As String
Public Overridable Property BankName As String
Public Overridable Property BankAddress As Address
Public Overridable Property BankPaymentType As String
Public Overridable Property DrivingLicenceNumber As String
Public Overridable Property CurrentEmploymentDetails As CurrentEmploymentDetailsv2
Public Overridable Property PreviousEmploymentDetails As PreviousEmploymentv2()
Public Overridable Property MarketingPreference As MarketingPreference
Public Overridable Property CreditCheckConsent As String
End Class
Public Partial Class CurrentEmploymentDetailsv2
Public Overridable Property EmployerDetails As EmployerDetailsv2
Public Overridable Property MonthsAtEmployer As String
Public Overridable Property DateEmploymentCommenced As String
Public Overridable Property AnnualIncome As String
End Class
Public Partial Class DeliveryDetailsv2
Public Overridable Property DealerCode As String
Public Overridable Property DeliveryPreference As String
Public Overridable Property DeliveryDate As String
End Class
Public Partial Class DiPDetails
Public Sub New()
diPReasons = New DiPReasons(){}
End Sub
Public Overridable Property DiPCustomerId As String
Public Overridable Property DiPTimestamp As String
Public Overridable Property DiPRequestID As String
Public Overridable Property DiPDecisionType As String
Public Overridable Property DiPPrimaryDecisionCode As String
Public Overridable Property DiPDecisionDescription As String
Public Overridable Property DipDecisionDescriptionCode As String
Public Overridable Property DipPrimaryDecisionReason As String
Public Overridable Property DiPPrimaryDecisionReasonDealerMessage As String
Public Overridable Property diPReasons As DiPReasons()
End Class
Public Partial Class DiPReasons
Public Overridable Property DipReasonSeq As Integer
Public Overridable Property DipDecisionCode As String
Public Overridable Property DiPDecisionReason As String
Public Overridable Property DiPDealerMessage As String
End Class
Public Partial Class EmployerDetailsv2
Public Overridable Property EmploymentType As String
Public Overridable Property EmployersName As String
Public Overridable Property Occupation As String
Public Overridable Property EmployersAddress As AddressWithTimeLinev2
End Class
Public Partial Class ExistingVehicleDetailsv2
Public Overridable Property TradeInFlag As String
Public Overridable Property TradeInIncludedInCalc As String
Public Overridable Property TradeInValue As Decimal
Public Overridable Property TradeInValueNet As Nullable(Of Decimal)
Public Overridable Property TradeInRegNo As String
Public Overridable Property TradeInVIN As String
Public Overridable Property TradeInMileage As Nullable(Of Integer)
Public Overridable Property TradeInCondition As String
Public Overridable Property SettlementFlag As String
Public Overridable Property SettlementIncludedInCalc As String
Public Overridable Property SettlementValue As Decimal
Public Overridable Property SettlementValueNet As Decimal
Public Overridable Property SettlementRegNo As String
Public Overridable Property SettlementVIN As String
Public Overridable Property SettlementMileage As Nullable(Of Integer)
End Class
Public Partial Class FinanceDetailsv2
Public Overridable Property FinancialProduct As String
Public Overridable Property CampaignCode As String
Public Overridable Property PhoenixFinanceProductCode As String
Public Overridable Property Fixed As String
Public Overridable Property FleetNonFleet As String
Public Overridable Property RFLCover As String
Public Overridable Property Duration As Integer
Public Overridable Property PaymentRentalAmount As Decimal
Public Overridable Property RentalAmountExcVAT As Nullable(Of Decimal)
Public Overridable Property AdvanceArrears As String
Public Overridable Property AnnualMileage As Integer
Public Overridable Property ExcessMileageRate As Decimal
Public Overridable Property CustomerDepositContribution As Nullable(Of Decimal)
Public Overridable Property RetailerDepositContribution As Nullable(Of Decimal)
Public Overridable Property RetailerDepositContributionNet As Nullable(Of Decimal)
Public Overridable Property ManufacturerDepositContribution As Nullable(Of Decimal)
Public Overridable Property ManufacturerDepositContributionNet As Nullable(Of Decimal)
Public Overridable Property TotalDepositContribution As Nullable(Of Decimal)
Public Overridable Property LumpSum As Nullable(Of Decimal)
Public Overridable Property CostForCredit As Nullable(Of Decimal)
Public Overridable Property PurchaseActivationFee As Nullable(Of Decimal)
Public Overridable Property TotalAmountPayable As Nullable(Of Decimal)
Public Overridable Property FixedInterestRate As Nullable(Of Decimal)
Public Overridable Property RepresentativeAPR As Nullable(Of Decimal)
Public Overridable Property TrueFlatRate As String
Public Overridable Property RVReferenceNumber As String
Public Overridable Property OptionalPurchasePayment As Nullable(Of Decimal)
Public Overridable Property AdvancedRentalAmount As Decimal
Public Overridable Property NumberofAdvanceRentals As String
Public Overridable Property PaymentProfile As String
Public Overridable Property RandMIncluded As String
Public Overridable Property RandMLevel As String
Public Overridable Property ProductType As String
Public Overridable Property Frequency As String
Public Overridable Property PauseType As String
Public Overridable Property EqualsFinance As Nullable(Of Decimal)
Public Overridable Property AcceptanceFee As Nullable(Of Decimal)
End Class
Public Partial Class GeneralDetailsv2
Public Overridable Property OCAApprovalNumber As String
Public Overridable Property EnquiryDateTime As String
Public Overridable Property Brand As Integer
Public Overridable Property CustomerReferenceNumber As String
Public Overridable Property CustomerType As String
Public Overridable Property SourceofBusiness As String
Public Overridable Property TagURL As String
Public Overridable Property RequestSource As Integer
Public Overridable Property FormID As String
Public Overridable Property ProposalCreated As String
Public Overridable Property LoadFullData As String
Public Overridable Property ProposalNumber As String
Public Overridable Property POSSystem As String
End Class
Public Partial Class InsuranceDetails
Public Overridable Property InterestedInFirstCoverFlag As String
End Class
Public Partial Class MarketingPreference
Public Overridable Property OptInMail As String
Public Overridable Property OptInTelephone As String
Public Overridable Property OptInEmail As String
Public Overridable Property OptInSMS As String
End Class
Public Partial Class ModelOptionDetailsv2
Public Overridable Property Seq As Integer
Public Overridable Property Type As String
Public Overridable Property Code As String
Public Overridable Property Description As String
Public Overridable Property Price As Decimal
Public Overridable Property PriceGross As Nullable(Of Decimal)
Public Overridable Property VATCategory As String
Public Overridable Property VATAmount As Nullable(Of Decimal)
End Class
Public Partial Class NoteDetails
Public Overridable Property Seq As Integer
Public Overridable Property Note As String
End Class
Public Partial Class PaymentDetail
Public Overridable Property Seq As Integer
Public Overridable Property PaymentType As String
Public Overridable Property AmountPaid As Decimal
Public Overridable Property PaymentTransactionID As String
Public Overridable Property Description As String
Public Overridable Property PaymentDateTime As String
End Class
Public Partial Class PaymentDetails
Public Sub New()
paymentDetails = New PaymentDetail(){}
End Sub
Public Overridable Property paymentDetails As PaymentDetail()
End Class
Public Partial Class PreviousAddressv2
Public Overridable Property Seq As Integer
Public Overridable Property Address As AddressWithTimeLinev2
End Class
Public Partial Class PreviousEmploymentv2
Public Overridable Property Seq As Integer
Public Overridable Property previousEmployment As EmployerDetailsv2
End Class
Public Partial Class VehicleDetailsv2
Public Sub New()
NewVehicleModelOptionDetails = New ModelOptionDetailsv2(){}
End Sub
Public Overridable Property OnlineCode As String
Public Overridable Property ModelClass As String
Public Overridable Property ModelBody As String
Public Overridable Property ModelDerivative As String
Public Overridable Property TotalPrice As Decimal
Public Overridable Property OTRPrice As Decimal
Public Overridable Property VIN As String
Public Overridable Property RegNo As String
Public Overridable Property CommissionNumber As String
Public Overridable Property EngineNumber As String
Public Overridable Property CurrentMileage As Integer
Public Overridable Property MilesKilometers As String
Public Overridable Property FirstRegistrationDate As String
Public Overridable Property NewUsedFlag As String
Public Overridable Property NewVehicleModelOptionDetails As ModelOptionDetailsv2()
Public Overridable Property VID As String
Public Overridable Property Baumuster As String
Public Overridable Property VehiclePrice As Nullable(Of Decimal)
Public Overridable Property TotalVAT As Nullable(Of Decimal)
Public Overridable Property OLEVGrant As Nullable(Of Decimal)
Public Overridable Property ExtrasTotalExcVAT As Nullable(Of Decimal)
Public Overridable Property CombinedCO2 As String
Public Overridable Property VehicleVATTickBox As String
Public Overridable Property FirstYearRFLIncluded As String
Public Overridable Property FirstYearRFLAmount As Nullable(Of Decimal)
Public Overridable Property FirstRegFeeIncludedFlag As String
Public Overridable Property FirstRegFeeAmount As Nullable(Of Decimal)
Public Overridable Property HighLowVEDSupplementFlag As String
Public Overridable Property LeaseRFLSubsequentYears As String
Public Overridable Property LeaseRFLSubsequentYearsAmount As Nullable(Of Decimal)
End Class
End Namespace
Namespace MBOnlineCreditApplicationService.CreateOCAv2
<DataContract>
Public Partial Class CreateOCAv2Request
Public Sub New()
Notes = New NoteDetails(){}
End Sub
<DataMember>
Public Overridable Property Username As String
<DataMember>
Public Overridable Property Timestamp As String
<DataMember>
Public Overridable Property Token As String
<DataMember>
Public Overridable Property GeneralDetails As GeneralDetailsv2
<DataMember>
Public Overridable Property FinanceDetails As FinanceDetailsv2
<DataMember>
Public Overridable Property VehicleDetails As VehicleDetailsv2
<DataMember>
Public Overridable Property DeliveryDetails As DeliveryDetailsv2
<DataMember>
Public Overridable Property ExistingVehicleDetails As ExistingVehicleDetailsv2
<DataMember>
Public Overridable Property InsuranceDetails As InsuranceDetails
<DataMember>
Public Overridable Property CreditApplicationIndividual As CreditApplicationIndividualV2
<DataMember>
Public Overridable Property CreditApplicationBusiness As CreditApplicationBusinessV2
<DataMember>
Public Overridable Property PaymentDetails As PaymentDetails
<DataMember>
Public Overridable Property Notes As NoteDetails()
<DataMember>
Public Overridable Property DiPDetails As DiPDetails
End Class
<DataContract>
Public Partial Class CreateOCAv2RequestResponse
<DataMember>
Public Overridable Property Code As String
<DataMember>
Public Overridable Property Message As String
<DataMember>
Public Overridable Property URN As Integer
End Class
End Namespace
End Namespace
VB.NET CreateOCAv2Request DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
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: application/xml
Content-Type: application/xml
Content-Length: length
<CreateOCAv2Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
<CreditApplicationBusiness xmlns:d2p1="http://schemas.datacontract.org/2004/07/MBOnlineCreditApplicationService.BusinessLib.DomainClasses">
<d2p1:BankAccountName>String</d2p1:BankAccountName>
<d2p1:BankAccountNumber>String</d2p1:BankAccountNumber>
<d2p1:BankAddress>
<d2p1:AddressLine1>String</d2p1:AddressLine1>
<d2p1:AddressLine2>String</d2p1:AddressLine2>
<d2p1:AddressLine3>String</d2p1:AddressLine3>
<d2p1:AddressLine4>String</d2p1:AddressLine4>
<d2p1:AddressLine5>String</d2p1:AddressLine5>
<d2p1:Postcode>String</d2p1:Postcode>
</d2p1:BankAddress>
<d2p1:BankName>String</d2p1:BankName>
<d2p1:BankSortCode>String</d2p1:BankSortCode>
<d2p1:BusinessActivity>String</d2p1:BusinessActivity>
<d2p1:BusinessContactPosition>String</d2p1:BusinessContactPosition>
<d2p1:BusinessPartners>
<d2p1:BusinessPartnerv2>
<d2p1:BusinessPhone>String</d2p1:BusinessPhone>
<d2p1:CurrentAddress>
<d2p1:AddressLine1>String</d2p1:AddressLine1>
<d2p1:AddressLine2>String</d2p1:AddressLine2>
<d2p1:AddressLine3>String</d2p1:AddressLine3>
<d2p1:Country>String</d2p1:Country>
<d2p1:County>String</d2p1:County>
<d2p1:DateStarted>String</d2p1:DateStarted>
<d2p1:Duration>String</d2p1:Duration>
<d2p1:Postcode>String</d2p1:Postcode>
<d2p1:TotalNumberOfMonths>String</d2p1:TotalNumberOfMonths>
<d2p1:Town>String</d2p1:Town>
</d2p1:CurrentAddress>
<d2p1:CurrentEmploymentDetails>
<d2p1:AnnualIncome>String</d2p1:AnnualIncome>
<d2p1:DateEmploymentCommenced>String</d2p1:DateEmploymentCommenced>
<d2p1:EmployerDetails>
<d2p1:EmployersAddress>
<d2p1:AddressLine1>String</d2p1:AddressLine1>
<d2p1:AddressLine2>String</d2p1:AddressLine2>
<d2p1:AddressLine3>String</d2p1:AddressLine3>
<d2p1:Country>String</d2p1:Country>
<d2p1:County>String</d2p1:County>
<d2p1:DateStarted>String</d2p1:DateStarted>
<d2p1:Duration>String</d2p1:Duration>
<d2p1:Postcode>String</d2p1:Postcode>
<d2p1:TotalNumberOfMonths>String</d2p1:TotalNumberOfMonths>
<d2p1:Town>String</d2p1:Town>
</d2p1:EmployersAddress>
<d2p1:EmployersName>String</d2p1:EmployersName>
<d2p1:EmploymentType>String</d2p1:EmploymentType>
<d2p1:Occupation>String</d2p1:Occupation>
</d2p1:EmployerDetails>
<d2p1:MonthsAtEmployer>String</d2p1:MonthsAtEmployer>
</d2p1:CurrentEmploymentDetails>
<d2p1:DateofBirth>String</d2p1:DateofBirth>
<d2p1:Email>String</d2p1:Email>
<d2p1:FirstName>String</d2p1:FirstName>
<d2p1:Gender>String</d2p1:Gender>
<d2p1:HomePhone>String</d2p1:HomePhone>
<d2p1:Initial>String</d2p1:Initial>
<d2p1:MaritalStatus>String</d2p1:MaritalStatus>
<d2p1:MobilePhone>String</d2p1:MobilePhone>
<d2p1:PartnerType>String</d2p1:PartnerType>
<d2p1:PreviousAddresses>
<d2p1:PreviousAddressv2>
<d2p1:Address>
<d2p1:AddressLine1>String</d2p1:AddressLine1>
<d2p1:AddressLine2>String</d2p1:AddressLine2>
<d2p1:AddressLine3>String</d2p1:AddressLine3>
<d2p1:Country>String</d2p1:Country>
<d2p1:County>String</d2p1:County>
<d2p1:DateStarted>String</d2p1:DateStarted>
<d2p1:Duration>String</d2p1:Duration>
<d2p1:Postcode>String</d2p1:Postcode>
<d2p1:TotalNumberOfMonths>String</d2p1:TotalNumberOfMonths>
<d2p1:Town>String</d2p1:Town>
</d2p1:Address>
<d2p1:Seq>0</d2p1:Seq>
</d2p1:PreviousAddressv2>
</d2p1:PreviousAddresses>
<d2p1:PreviousEmploymentDetails>
<d2p1:PreviousEmploymentv2>
<d2p1:Seq>0</d2p1:Seq>
<d2p1:previousEmployment>
<d2p1:EmployersAddress>
<d2p1:AddressLine1>String</d2p1:AddressLine1>
<d2p1:AddressLine2>String</d2p1:AddressLine2>
<d2p1:AddressLine3>String</d2p1:AddressLine3>
<d2p1:Country>String</d2p1:Country>
<d2p1:County>String</d2p1:County>
<d2p1:DateStarted>String</d2p1:DateStarted>
<d2p1:Duration>String</d2p1:Duration>
<d2p1:Postcode>String</d2p1:Postcode>
<d2p1:TotalNumberOfMonths>String</d2p1:TotalNumberOfMonths>
<d2p1:Town>String</d2p1:Town>
</d2p1:EmployersAddress>
<d2p1:EmployersName>String</d2p1:EmployersName>
<d2p1:EmploymentType>String</d2p1:EmploymentType>
<d2p1:Occupation>String</d2p1:Occupation>
</d2p1:previousEmployment>
</d2p1:PreviousEmploymentv2>
</d2p1:PreviousEmploymentDetails>
<d2p1:Relationship>String</d2p1:Relationship>
<d2p1:ResidentialStatus>String</d2p1:ResidentialStatus>
<d2p1:Seq>0</d2p1:Seq>
<d2p1:Surname>String</d2p1:Surname>
<d2p1:Title>String</d2p1:Title>
</d2p1:BusinessPartnerv2>
</d2p1:BusinessPartners>
<d2p1:CompanyName>String</d2p1:CompanyName>
<d2p1:CompanyRegistrationNumber>String</d2p1:CompanyRegistrationNumber>
<d2p1:CurrentHomeAddress>
<d2p1:AddressLine1>String</d2p1:AddressLine1>
<d2p1:AddressLine2>String</d2p1:AddressLine2>
<d2p1:AddressLine3>String</d2p1:AddressLine3>
<d2p1:Country>String</d2p1:Country>
<d2p1:County>String</d2p1:County>
<d2p1:DateStarted>String</d2p1:DateStarted>
<d2p1:Duration>String</d2p1:Duration>
<d2p1:Postcode>String</d2p1:Postcode>
<d2p1:TotalNumberOfMonths>String</d2p1:TotalNumberOfMonths>
<d2p1:Town>String</d2p1:Town>
</d2p1:CurrentHomeAddress>
<d2p1:Email>String</d2p1:Email>
<d2p1:FirstName>String</d2p1:FirstName>
<d2p1:HomePhone>String</d2p1:HomePhone>
<d2p1:Initial>String</d2p1:Initial>
<d2p1:MarketingPreference>
<d2p1:OptInEmail>String</d2p1:OptInEmail>
<d2p1:OptInMail>String</d2p1:OptInMail>
<d2p1:OptInSMS>String</d2p1:OptInSMS>
<d2p1:OptInTelephone>String</d2p1:OptInTelephone>
</d2p1:MarketingPreference>
<d2p1:MobilePhone>String</d2p1:MobilePhone>
<d2p1:NumberOfEmployees>0</d2p1:NumberOfEmployees>
<d2p1:NumberofPartners>0</d2p1:NumberofPartners>
<d2p1:Position>String</d2p1:Position>
<d2p1:PreviousAddresses>
<d2p1:PreviousAddressv2>
<d2p1:Address>
<d2p1:AddressLine1>String</d2p1:AddressLine1>
<d2p1:AddressLine2>String</d2p1:AddressLine2>
<d2p1:AddressLine3>String</d2p1:AddressLine3>
<d2p1:Country>String</d2p1:Country>
<d2p1:County>String</d2p1:County>
<d2p1:DateStarted>String</d2p1:DateStarted>
<d2p1:Duration>String</d2p1:Duration>
<d2p1:Postcode>String</d2p1:Postcode>
<d2p1:TotalNumberOfMonths>String</d2p1:TotalNumberOfMonths>
<d2p1:Town>String</d2p1:Town>
</d2p1:Address>
<d2p1:Seq>0</d2p1:Seq>
</d2p1:PreviousAddressv2>
</d2p1:PreviousAddresses>
<d2p1:Surname>String</d2p1:Surname>
<d2p1:Title>String</d2p1:Title>
<d2p1:TradingAs>String</d2p1:TradingAs>
<d2p1:TypeOfBusiness>String</d2p1:TypeOfBusiness>
<d2p1:WorkPhone>String</d2p1:WorkPhone>
<d2p1:YearsTrading>0</d2p1:YearsTrading>
</CreditApplicationBusiness>
<CreditApplicationIndividual xmlns:d2p1="http://schemas.datacontract.org/2004/07/MBOnlineCreditApplicationService.BusinessLib.DomainClasses">
<d2p1:BankAccountName>String</d2p1:BankAccountName>
<d2p1:BankAccountNumber>String</d2p1:BankAccountNumber>
<d2p1:BankAddress>
<d2p1:AddressLine1>String</d2p1:AddressLine1>
<d2p1:AddressLine2>String</d2p1:AddressLine2>
<d2p1:AddressLine3>String</d2p1:AddressLine3>
<d2p1:AddressLine4>String</d2p1:AddressLine4>
<d2p1:AddressLine5>String</d2p1:AddressLine5>
<d2p1:Postcode>String</d2p1:Postcode>
</d2p1:BankAddress>
<d2p1:BankName>String</d2p1:BankName>
<d2p1:BankPaymentType>String</d2p1:BankPaymentType>
<d2p1:BankSortCode>String</d2p1:BankSortCode>
<d2p1:ContactAtWork>String</d2p1:ContactAtWork>
<d2p1:CreditCheckConsent>String</d2p1:CreditCheckConsent>
<d2p1:CurrentAddress>
<d2p1:AddressLine1>String</d2p1:AddressLine1>
<d2p1:AddressLine2>String</d2p1:AddressLine2>
<d2p1:AddressLine3>String</d2p1:AddressLine3>
<d2p1:Country>String</d2p1:Country>
<d2p1:County>String</d2p1:County>
<d2p1:DateStarted>String</d2p1:DateStarted>
<d2p1:Duration>String</d2p1:Duration>
<d2p1:Postcode>String</d2p1:Postcode>
<d2p1:TotalNumberOfMonths>String</d2p1:TotalNumberOfMonths>
<d2p1:Town>String</d2p1:Town>
</d2p1:CurrentAddress>
<d2p1:CurrentEmploymentDetails>
<d2p1:AnnualIncome>String</d2p1:AnnualIncome>
<d2p1:DateEmploymentCommenced>String</d2p1:DateEmploymentCommenced>
<d2p1:EmployerDetails>
<d2p1:EmployersAddress>
<d2p1:AddressLine1>String</d2p1:AddressLine1>
<d2p1:AddressLine2>String</d2p1:AddressLine2>
<d2p1:AddressLine3>String</d2p1:AddressLine3>
<d2p1:Country>String</d2p1:Country>
<d2p1:County>String</d2p1:County>
<d2p1:DateStarted>String</d2p1:DateStarted>
<d2p1:Duration>String</d2p1:Duration>
<d2p1:Postcode>String</d2p1:Postcode>
<d2p1:TotalNumberOfMonths>String</d2p1:TotalNumberOfMonths>
<d2p1:Town>String</d2p1:Town>
</d2p1:EmployersAddress>
<d2p1:EmployersName>String</d2p1:EmployersName>
<d2p1:EmploymentType>String</d2p1:EmploymentType>
<d2p1:Occupation>String</d2p1:Occupation>
</d2p1:EmployerDetails>
<d2p1:MonthsAtEmployer>String</d2p1:MonthsAtEmployer>
</d2p1:CurrentEmploymentDetails>
<d2p1:DateofBirth>String</d2p1:DateofBirth>
<d2p1:DrivingLicenceNumber>String</d2p1:DrivingLicenceNumber>
<d2p1:Email>String</d2p1:Email>
<d2p1:FirstName>String</d2p1:FirstName>
<d2p1:Gender>String</d2p1:Gender>
<d2p1:HomePhone>String</d2p1:HomePhone>
<d2p1:Initial>String</d2p1:Initial>
<d2p1:MaritalStatus>String</d2p1:MaritalStatus>
<d2p1:MarketingPreference>
<d2p1:OptInEmail>String</d2p1:OptInEmail>
<d2p1:OptInMail>String</d2p1:OptInMail>
<d2p1:OptInSMS>String</d2p1:OptInSMS>
<d2p1:OptInTelephone>String</d2p1:OptInTelephone>
</d2p1:MarketingPreference>
<d2p1:MobilePhone>String</d2p1:MobilePhone>
<d2p1:PreviousAddresses>
<d2p1:PreviousAddressv2>
<d2p1:Address>
<d2p1:AddressLine1>String</d2p1:AddressLine1>
<d2p1:AddressLine2>String</d2p1:AddressLine2>
<d2p1:AddressLine3>String</d2p1:AddressLine3>
<d2p1:Country>String</d2p1:Country>
<d2p1:County>String</d2p1:County>
<d2p1:DateStarted>String</d2p1:DateStarted>
<d2p1:Duration>String</d2p1:Duration>
<d2p1:Postcode>String</d2p1:Postcode>
<d2p1:TotalNumberOfMonths>String</d2p1:TotalNumberOfMonths>
<d2p1:Town>String</d2p1:Town>
</d2p1:Address>
<d2p1:Seq>0</d2p1:Seq>
</d2p1:PreviousAddressv2>
</d2p1:PreviousAddresses>
<d2p1:PreviousEmploymentDetails>
<d2p1:PreviousEmploymentv2>
<d2p1:Seq>0</d2p1:Seq>
<d2p1:previousEmployment>
<d2p1:EmployersAddress>
<d2p1:AddressLine1>String</d2p1:AddressLine1>
<d2p1:AddressLine2>String</d2p1:AddressLine2>
<d2p1:AddressLine3>String</d2p1:AddressLine3>
<d2p1:Country>String</d2p1:Country>
<d2p1:County>String</d2p1:County>
<d2p1:DateStarted>String</d2p1:DateStarted>
<d2p1:Duration>String</d2p1:Duration>
<d2p1:Postcode>String</d2p1:Postcode>
<d2p1:TotalNumberOfMonths>String</d2p1:TotalNumberOfMonths>
<d2p1:Town>String</d2p1:Town>
</d2p1:EmployersAddress>
<d2p1:EmployersName>String</d2p1:EmployersName>
<d2p1:EmploymentType>String</d2p1:EmploymentType>
<d2p1:Occupation>String</d2p1:Occupation>
</d2p1:previousEmployment>
</d2p1:PreviousEmploymentv2>
</d2p1:PreviousEmploymentDetails>
<d2p1:ResidentialStatus>String</d2p1:ResidentialStatus>
<d2p1:Surname>String</d2p1:Surname>
<d2p1:Title>String</d2p1:Title>
<d2p1:WorkPhone>String</d2p1:WorkPhone>
</CreditApplicationIndividual>
<DeliveryDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/MBOnlineCreditApplicationService.BusinessLib.DomainClasses">
<d2p1:DealerCode>String</d2p1:DealerCode>
<d2p1:DeliveryDate>String</d2p1:DeliveryDate>
<d2p1:DeliveryPreference>String</d2p1:DeliveryPreference>
</DeliveryDetails>
<DiPDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/MBOnlineCreditApplicationService.BusinessLib.DomainClasses">
<d2p1:DiPCustomerId>String</d2p1:DiPCustomerId>
<d2p1:DiPDecisionDescription>String</d2p1:DiPDecisionDescription>
<d2p1:DiPDecisionType>String</d2p1:DiPDecisionType>
<d2p1:DiPPrimaryDecisionCode>String</d2p1:DiPPrimaryDecisionCode>
<d2p1:DiPPrimaryDecisionReasonDealerMessage>String</d2p1:DiPPrimaryDecisionReasonDealerMessage>
<d2p1:DiPRequestID>String</d2p1:DiPRequestID>
<d2p1:DiPTimestamp>String</d2p1:DiPTimestamp>
<d2p1:DipDecisionDescriptionCode>String</d2p1:DipDecisionDescriptionCode>
<d2p1:DipPrimaryDecisionReason>String</d2p1:DipPrimaryDecisionReason>
<d2p1:diPReasons>
<d2p1:DiPReasons>
<d2p1:DiPDealerMessage>String</d2p1:DiPDealerMessage>
<d2p1:DiPDecisionReason>String</d2p1:DiPDecisionReason>
<d2p1:DipDecisionCode>String</d2p1:DipDecisionCode>
<d2p1:DipReasonSeq>0</d2p1:DipReasonSeq>
</d2p1:DiPReasons>
</d2p1:diPReasons>
</DiPDetails>
<ExistingVehicleDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/MBOnlineCreditApplicationService.BusinessLib.DomainClasses">
<d2p1:SettlementFlag>String</d2p1:SettlementFlag>
<d2p1:SettlementIncludedInCalc>String</d2p1:SettlementIncludedInCalc>
<d2p1:SettlementMileage>0</d2p1:SettlementMileage>
<d2p1:SettlementRegNo>String</d2p1:SettlementRegNo>
<d2p1:SettlementVIN>String</d2p1:SettlementVIN>
<d2p1:SettlementValue>0</d2p1:SettlementValue>
<d2p1:SettlementValueNet>0</d2p1:SettlementValueNet>
<d2p1:TradeInCondition>String</d2p1:TradeInCondition>
<d2p1:TradeInFlag>String</d2p1:TradeInFlag>
<d2p1:TradeInIncludedInCalc>String</d2p1:TradeInIncludedInCalc>
<d2p1:TradeInMileage>0</d2p1:TradeInMileage>
<d2p1:TradeInRegNo>String</d2p1:TradeInRegNo>
<d2p1:TradeInVIN>String</d2p1:TradeInVIN>
<d2p1:TradeInValue>0</d2p1:TradeInValue>
<d2p1:TradeInValueNet>0</d2p1:TradeInValueNet>
</ExistingVehicleDetails>
<FinanceDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/MBOnlineCreditApplicationService.BusinessLib.DomainClasses">
<d2p1:AcceptanceFee>0</d2p1:AcceptanceFee>
<d2p1:AdvanceArrears>String</d2p1:AdvanceArrears>
<d2p1:AdvancedRentalAmount>0</d2p1:AdvancedRentalAmount>
<d2p1:AnnualMileage>0</d2p1:AnnualMileage>
<d2p1:CampaignCode>String</d2p1:CampaignCode>
<d2p1:CostForCredit>0</d2p1:CostForCredit>
<d2p1:CustomerDepositContribution>0</d2p1:CustomerDepositContribution>
<d2p1:Duration>0</d2p1:Duration>
<d2p1:EqualsFinance>0</d2p1:EqualsFinance>
<d2p1:ExcessMileageRate>0</d2p1:ExcessMileageRate>
<d2p1:FinancialProduct>String</d2p1:FinancialProduct>
<d2p1:Fixed>String</d2p1:Fixed>
<d2p1:FixedInterestRate>0</d2p1:FixedInterestRate>
<d2p1:FleetNonFleet>String</d2p1:FleetNonFleet>
<d2p1:Frequency>String</d2p1:Frequency>
<d2p1:LumpSum>0</d2p1:LumpSum>
<d2p1:ManufacturerDepositContribution>0</d2p1:ManufacturerDepositContribution>
<d2p1:ManufacturerDepositContributionNet>0</d2p1:ManufacturerDepositContributionNet>
<d2p1:NumberofAdvanceRentals>String</d2p1:NumberofAdvanceRentals>
<d2p1:OptionalPurchasePayment>0</d2p1:OptionalPurchasePayment>
<d2p1:PauseType>String</d2p1:PauseType>
<d2p1:PaymentProfile>String</d2p1:PaymentProfile>
<d2p1:PaymentRentalAmount>0</d2p1:PaymentRentalAmount>
<d2p1:PhoenixFinanceProductCode>String</d2p1:PhoenixFinanceProductCode>
<d2p1:ProductType>String</d2p1:ProductType>
<d2p1:PurchaseActivationFee>0</d2p1:PurchaseActivationFee>
<d2p1:RFLCover>String</d2p1:RFLCover>
<d2p1:RVReferenceNumber>String</d2p1:RVReferenceNumber>
<d2p1:RandMIncluded>String</d2p1:RandMIncluded>
<d2p1:RandMLevel>String</d2p1:RandMLevel>
<d2p1:RentalAmountExcVAT>0</d2p1:RentalAmountExcVAT>
<d2p1:RepresentativeAPR>0</d2p1:RepresentativeAPR>
<d2p1:RetailerDepositContribution>0</d2p1:RetailerDepositContribution>
<d2p1:RetailerDepositContributionNet>0</d2p1:RetailerDepositContributionNet>
<d2p1:TotalAmountPayable>0</d2p1:TotalAmountPayable>
<d2p1:TotalDepositContribution>0</d2p1:TotalDepositContribution>
<d2p1:TrueFlatRate>String</d2p1:TrueFlatRate>
</FinanceDetails>
<GeneralDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/MBOnlineCreditApplicationService.BusinessLib.DomainClasses">
<d2p1:Brand>0</d2p1:Brand>
<d2p1:CustomerReferenceNumber>String</d2p1:CustomerReferenceNumber>
<d2p1:CustomerType>String</d2p1:CustomerType>
<d2p1:EnquiryDateTime>String</d2p1:EnquiryDateTime>
<d2p1:FormID>String</d2p1:FormID>
<d2p1:LoadFullData>String</d2p1:LoadFullData>
<d2p1:OCAApprovalNumber>String</d2p1:OCAApprovalNumber>
<d2p1:POSSystem>String</d2p1:POSSystem>
<d2p1:ProposalCreated>String</d2p1:ProposalCreated>
<d2p1:ProposalNumber>String</d2p1:ProposalNumber>
<d2p1:RequestSource>0</d2p1:RequestSource>
<d2p1:SourceofBusiness>String</d2p1:SourceofBusiness>
<d2p1:TagURL>String</d2p1:TagURL>
</GeneralDetails>
<InsuranceDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/MBOnlineCreditApplicationService.BusinessLib.DomainClasses">
<d2p1:InterestedInFirstCoverFlag>String</d2p1:InterestedInFirstCoverFlag>
</InsuranceDetails>
<Notes xmlns:d2p1="http://schemas.datacontract.org/2004/07/MBOnlineCreditApplicationService.BusinessLib.DomainClasses">
<d2p1:NoteDetails>
<d2p1:Note>String</d2p1:Note>
<d2p1:Seq>0</d2p1:Seq>
</d2p1:NoteDetails>
</Notes>
<PaymentDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/MBOnlineCreditApplicationService.BusinessLib.DomainClasses">
<d2p1:paymentDetails>
<d2p1:PaymentDetail>
<d2p1:AmountPaid>0</d2p1:AmountPaid>
<d2p1:Description>String</d2p1:Description>
<d2p1:PaymentDateTime>String</d2p1:PaymentDateTime>
<d2p1:PaymentTransactionID>String</d2p1:PaymentTransactionID>
<d2p1:PaymentType>String</d2p1:PaymentType>
<d2p1:Seq>0</d2p1:Seq>
</d2p1:PaymentDetail>
</d2p1:paymentDetails>
</PaymentDetails>
<Timestamp>String</Timestamp>
<Token>String</Token>
<Username>String</Username>
<VehicleDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/MBOnlineCreditApplicationService.BusinessLib.DomainClasses">
<d2p1:Baumuster>String</d2p1:Baumuster>
<d2p1:CombinedCO2>String</d2p1:CombinedCO2>
<d2p1:CommissionNumber>String</d2p1:CommissionNumber>
<d2p1:CurrentMileage>0</d2p1:CurrentMileage>
<d2p1:EngineNumber>String</d2p1:EngineNumber>
<d2p1:ExtrasTotalExcVAT>0</d2p1:ExtrasTotalExcVAT>
<d2p1:FirstRegFeeAmount>0</d2p1:FirstRegFeeAmount>
<d2p1:FirstRegFeeIncludedFlag>String</d2p1:FirstRegFeeIncludedFlag>
<d2p1:FirstRegistrationDate>String</d2p1:FirstRegistrationDate>
<d2p1:FirstYearRFLAmount>0</d2p1:FirstYearRFLAmount>
<d2p1:FirstYearRFLIncluded>String</d2p1:FirstYearRFLIncluded>
<d2p1:HighLowVEDSupplementFlag>String</d2p1:HighLowVEDSupplementFlag>
<d2p1:LeaseRFLSubsequentYears>String</d2p1:LeaseRFLSubsequentYears>
<d2p1:LeaseRFLSubsequentYearsAmount>0</d2p1:LeaseRFLSubsequentYearsAmount>
<d2p1:MilesKilometers>String</d2p1:MilesKilometers>
<d2p1:ModelBody>String</d2p1:ModelBody>
<d2p1:ModelClass>String</d2p1:ModelClass>
<d2p1:ModelDerivative>String</d2p1:ModelDerivative>
<d2p1:NewUsedFlag>String</d2p1:NewUsedFlag>
<d2p1:NewVehicleModelOptionDetails>
<d2p1:ModelOptionDetailsv2>
<d2p1:Code>String</d2p1:Code>
<d2p1:Description>String</d2p1:Description>
<d2p1:Price>0</d2p1:Price>
<d2p1:PriceGross>0</d2p1:PriceGross>
<d2p1:Seq>0</d2p1:Seq>
<d2p1:Type>String</d2p1:Type>
<d2p1:VATAmount>0</d2p1:VATAmount>
<d2p1:VATCategory>String</d2p1:VATCategory>
</d2p1:ModelOptionDetailsv2>
</d2p1:NewVehicleModelOptionDetails>
<d2p1:OLEVGrant>0</d2p1:OLEVGrant>
<d2p1:OTRPrice>0</d2p1:OTRPrice>
<d2p1:OnlineCode>String</d2p1:OnlineCode>
<d2p1:RegNo>String</d2p1:RegNo>
<d2p1:TotalPrice>0</d2p1:TotalPrice>
<d2p1:TotalVAT>0</d2p1:TotalVAT>
<d2p1:VID>String</d2p1:VID>
<d2p1:VIN>String</d2p1:VIN>
<d2p1:VehiclePrice>0</d2p1:VehiclePrice>
<d2p1:VehicleVATTickBox>String</d2p1:VehicleVATTickBox>
</VehicleDetails>
</CreateOCAv2Request>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <CreateOCAv2RequestResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types"> <Code>String</Code> <Message>String</Message> <URN>0</URN> </CreateOCAv2RequestResponse>