Sie sind auf Seite 1von 9

WageDayAdvance Lead Posting Service Implementation Guide

Document Summary Within this document you will be provided with a general overview and technical guideline to the WageDayAdvance Lead Posting service that we offer to our company affiliates who want to post leads to WageDayAdvance Ltd. The Technical Guidelines briefly reference access, required parameters, and their acceptable values of the Service, including sample code for integration purposes. Date 2010-10-20 Version 1.0 Release Comments Initial Service Release

1 SOAP Specification
The required method of communicating with the WDALeadPost service is through a SOAP request. The xml schema definition for the web service can be found at : https://www.wagedayadvance.co.uk/WDALeadPost.asmx?WSDL

1.1 Field Names and Acceptable Values


Parameter Name ReferrerID ReferrerSubID Title FirstName LastName DateOfBirth LoanAmount Allowable values Your ReferrerID, provided by WageDayAdvance Ltd Optional Tracking field Mr, Mrs, Miss etc Applicants First Name Applicants Last Name Format: dd/mm/yyyy (eg. 31/09/1975) Amount of WagedayAdvance the applicant wishes to apply for as a Whole Number. (eg. 300) Applicants email address (eg. jbloggs@gmail.com) Home Telephone Number (eg. 012223334444) A valid mobile phone number (eg. 07111222333) Flat name / number (eg. Flat 10c) House name (eg. Glen View) Building Number (eg. 12) Street name (eg. Keighley Road) Town / City Name (eg. Skipton) County name (eg. North Yorkshire) Postal code (eg. BD23 2UE) Field Type String(20) String(20) String(5) String(100) String(100) String(10) String(4) Flag Required Optional Required Required Required Required Required

Email HomeTelephone MobileTelephone AbodeNumber BuildingName BuildingNumber Street Town County PostCode

String(150) String(11) String(11) String (100) String (100) String (50) String (150) String (150) String (150) String (9)

Required Optional Required Required Required Required Required Required Optional Required

TimeAtAddress

ResidentialStatus

EmploymentStatus

TimeEmployed

JobType

Permitted Values 0 - 3 Months 4 - 12 Months 12 Months + Permitted Values Home Owner - Outright Home Owner - Mortgaged Private Tenant - Furnished Private Tenant - Unfurnished Living with parents Other Permitted Values Full Time Part Time Self Employed Temporary Employment Unemployed Disabled On Benefits On Pension Homemaker Permitted Values Under 6 Months 6 Months - 1 Year 1 Year - 3 Years 3 Years + Permitted Values Accountant Administration Advertising Agency Worker Area Manager Armed Forces Banking Career Bar Worker Bookkeeper Branch Manager Bricklayer Bus/Wagon/Train/Van Driver Cabin Attendant Call Centre Operative Care Worker Caretaker Carpenter Chauffer Chef Civil Servant Cleaner Clergyman Designer Disabled Doctor Draughtsman

String(50)

Required

String(30)

Required

String(30)

Required

String(50)

Required

String(80)

Required

Driver and Stacker Electrician Employment Agency Engineer Estate Agent Factory/Production Worker Farm Worker Fast Food/Restaurant Worker Finance/Investment Manager Fire Service Gardener Hairdresser Healthcare Home Office Homemaker Human Resource Manager IT Operative/Manager Joiner and Woodmachinist Labourer Lecturer Legal Professional Librarian Machine Operator Marketing Motor Mechanic Nurse Nursery Nurse Office Assistant/Manager Painter and Decorator Pilot Plasterer Plumber Police Force Postman Public Service Worker Quantity Surveyor Receptionist Roofer Sales Representative Salesperson Secretary Security Officer Self Employed Shop Assistant/Manager Surveyor Taxi Driver Teacher Technician Travel Agent Unemployed Vet Waiter/Waitress Warehouse Operative

EmployerName EmployerTown EmployerTel EmployerExt MonthlyNetPay PayFrequency

OtherPayFrequency NextPayDate FollowingPayDate PaymentType

BankName

Benefits Pension Other Butcher/Baker Supermarket worker Name of Applicants employer Town/City of employer A valid employer phone number (eg. 01222333444) A valid department / phone extension (eg. IT Dept or 301) Monthly NET Pay (After Tax) (eg. 1000) Permitted Values last_working_day last_friday last_thursday last_wednesday last_tuesday last_monday weekly fortnightly every_28_days 15th_of_the_month 25th_of_the_month 28th_of_the_month 30th_of_the_month other If other selected PayFrequency then supply OtherPayFrequency (eg. 1st of the month) Format: dd/mm/yyyy (eg. 31/10/2010) Format: dd/mm/yyyy (eg. 31/10/2010) Permitted Values BACS Direct into Bank CHAPS Cash-in-Hand Cheque-in-Hand Name of Applicants Bank (eg. Bank of Scotland) Permitted Values Abbey National AIB Airdrie Savings Bank Alliance & Leicester Alpha Bank London Ltd Bank of Cyprus Bank of Ireland

String(150) String(150) String(1011) String(80) String(30) String(50)

Required Required Required Optional Required Required

String(100) String(10) String(10) String(30)

Optional Required Required Required

String(30)

Required

DebitCardType

Bank of New York Bank of Scotland Barclays Bradford and Bingley Cahoot CardOne Chelsea Building Society Citibank Clydesdale Co-Operative Coventry Building Society Credit Union Cumberland Building Society First Direct First Trust Bank Habib Bank Halifax HSBC IBOB ICICI Intelligent Finance Investec Bank Isle of Man Bank Leeds and Holbeck BS Lloyds TSB MBNA Europe Bank Ltd Nationwide Natwest Newcastle Building Society Northern Northern Rock Norwich and Peterborough RBS Santander Secure Trust Smile Think Banking Ulster Unity Trust Bank Yorkshire Yorkshire Building Society Other Ghanda International Metro Bank Permitted Values Solo Switch/Maestro Visa Debit Visa Electron Mastercard Other No Debit Card

String(30)

Required

OverdraftLimit

TermsAgreed WDAOptIn IPAddress PostAppRef

Permitted Values No Overdraft 10 - 99 100 - 299 300 - 599 600 - 999 1000+ True / False Must Be True to accept lead True / False Applicant agrees to future marketing by WageDayAdvance The applicants IP address (eg. 123.123.123.123) Internal WageDayAdvance Field for updating applicants information if any has been missed from the original post.

String(50)

Required

String(5) String(5) String(15) String(50)

Required Required Required Optional

1.2 Return Value


The soap submit returns an XML reply in the following format: <ApplicationInfo> <LeadAccepted> [true] / [false] </LeadAccepted> <RejectReason> [xml String] </RejectReason> <RedirectURL> [xml String] </RedirectURL> <ApplicationInfo> LeadAccepted: RejectReason: RedirectURL : [true]: This indicates the lead was accepted [false]: This indicates the lead was rejected. If the lead is rejected this is an explanation of why. If the lead is accepted redirect the applicant to this URL.

1.3 Incomplete Information


In the event of any of the above fields not containing the correct values, or values that the service expects the lead will still be accepted although the RedirectURL will have a different value. This URL will redirect the applicant to a page on our website which requests they fill in any missing or erroneous information on their initial application.

2 VB.NET SOAP Example


1. Create a new .NET project. 2. Add a Web Reference to https://www.wagedayadvance.co.uk/WDALeadPost.asmx 3. Insert the following code into your .NET application:
Dim x As New WDAPostLead.WDALeadPost Dim LeadResponse As New WDAPostLead.ApplicationInfo LeadResponse.LeadAccepted = False Try LeadResponse = x.PostLead(ReferrerID, _ ReferrerSubID, _ appTitle, _ FirstName, _ LastName, _ DateOfBirth, _ LoanAmount, _ Email, _ HomeTelephone, _ MobileTelephone, _ Abodenumber, _ BuildingName, _ BuildingNumber, _ Street, _ Town, _ County, _ PostCode, _ TimeAtAddress, _ ResidentialStatus, _ EmploymentStatus, _ TimeEmployed, _ JobType, _ EmployerName, _ EmployerTown, _ EmployerTel, _ EmployerExt, _ MonthlyNetPay, _ PayFrequency, _ OtherPayFrequency, _ NextPayDate, _ FollowingPayDate, _ PaymentType, _ BankName, _ DebitCardType, _ OverdraftLimit, _ TermsAgreed, _ WDAOptIn, _ IPAddress, _ PostAppRef) Catch ex As Exception 'Enter your Error Handling here End Try

If LeadResponse.LeadAccepted = True Then 'Run your lead accepted routine Redirect lead to LeadResponse.ReDirectURL Else 'Run your lead rejected routine End If

4. Integration Completed.

Das könnte Ihnen auch gefallen