Here follows the XML structure for sending applications to Advantage via XML Soap.
See below for maximum field lengths for all nodes.
<Advantage> <NumberOfApplicants> <Applicant AppID=1> <Title> <FirstName> <LastName> <DOB> <MarritalStatus> <Email> <Mobile> <ResidentialType> <DependentChildren> <NumberOfAddresses> <NumberOfEmployments> <Address AddID=1> <!-- You must specify a minimum of one of the following three fields, more if possible --> <Flat> <HouseName> <HouseNumber> <Street> <Town> <County> <PostCode> <Telephone> <TimeMonths> <RentMortgageCost> <RentMortgageFrequency> <Employment EmpID=1> <JobTitle> <CompanyName> <Street> <Town> <County> <PostCode> <Telephone> <TimeMonths> <Status> <Income> <IncomeMain> <IncomeMainFrequency> <IncomeJoint> <IncomeJointFrequency> <Goods> <Make> <Model> <Colour> <Mileage> <DateReg> <RegNo> <CashPrice> <CashDeposit> <PartExchange> <FinanceRequired> <Dealer> <DealerID> <XMLSoapPassword> <DealerReference> <DealerNote>
An example of a sent XML file. [Sent.xml]
Maximum lengths for the nodes.
| Node | Max length |
|---|---|
| NumberOfApplicants | 1 |
| Title | 4 |
| FirstName | 30 |
| LastName | 30 |
| DOB | 16 |
| MarritalStatus | 9 |
| 50 | |
| Mobile | 20 |
| ResidentialType | 8 |
| DependentChildren | 2 |
| NumberOfAddresses | 1 |
| NumberOfEmployments | 1 |
| Flat | 20 |
| HouseName | 30 |
| HouseNumber | 30 |
| Street | 50 |
| Town | 50 |
| County | 50 |
| PostCode | 10 |
| Telephone | 20 |
| TimeMonths | 3 |
| RentMortgage | 4 |
| RentMortgageFrequency | 7 |
| JobTitle | 50 |
| CompanyName | 50 |
| Street | 50 |
| Town | 50 |
| County | 50 |
| PostCode | 10 |
| Telephone | 20 |
| TimeMonths | 3 |
| Status | 6 |
| IncomeMain | 4 |
| IncomeMainFrequency | 7 |
| JointIncome | 4 |
| JointIncomeFrequency | 7 |
| Make | 30 |
| Model | 30 |
| Colour | 30 |
| Mileage | 10 |
| DateReg | 10 |
| RegNo | 10 |
| CashPrice | 30 |
| CashDeposit | 30 |
| PartExchange | 30 |
| FinanceRequired | 30 |
| DealerID | 4 |
| XMLSoapPassword | 50 |
| DealerReference | 10 |
| DealerNote | 250 |