# Startup Schema

This section details the start-up (Startup) information required for a Keyfax "session", and is intended as a definitive guide to how to pass input data to Keyfax from a Housing Management System or other calling application (Host). This schema should be used whilst testing Integration scenarios, and as a general reference. This is a SOAP call.

Keyfax can be launched via the [..](https://docs.keyfax.biz/integrations/apis/soap "mention") or [rest-api](https://docs.keyfax.biz/integrations/apis/rest-api "mention") and it will require populated startup data as described below.&#x20;

### Basic SOAP Requests

Below we've provided an example minimal SOAP request to help you get started using the Keyfax SOAP based API. Examples are provided for both Keyfax Staff & Keyfax Self-Service.&#x20;

{% hint style="info" %}
**NOTE** In all start-up data examples at minimum you will need to customize the `Company`, `ReturnUrl`, `OriginatingSystem`& `Mode` elements to suite your active Keyfax configuration.
{% endhint %}

The minimal values are described below\...

* **Company** - Please contact Omfax Systems for this information. This will vary depending on the installation being used. This is typically in the form Customer\_Module\_Environment - for example `AbcHousing_Staff_Live.`&#x20;
* **ReturnUrl** - The URL Keyfax will return back to after the script has been completed or cancelled. If omitted Keyfax will return to a standardized completion page.&#x20;
* **Mode** - Depending on your Keyfax configuration valid values include `RD`, `FL`, `ROL`, `EOL`. Please contact Omfax Systems to confirm exactly which mode you should use.&#x20;
* **OriginatingSystem** - This can be any string value and is simply used to distinguish requests across different systems. We would suggest using the name of your host system for this value.&#x20;

#### Launching Repairs Self Service (ROL)

The below illustrates how to obtain launch details for a Keyfax Self Service Repairs Online session. This only contains the very minimal start-up data and additional data can be provided as detailed within the "Full Schema" section further below.&#x20;

**URL**

`https://keyfax.yourdomain.com/interview/ws/keyfaxws.asmx`

**SOAP BODY**

```
<soap:Envelope xmlns:xsi="http//www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <Startup xmlns="http://keyfax.touch-base.com/">
      <startupXml>&lt;KeyfaxData Test="0"&gt;
  &lt;Startup&gt;
    &lt;Mode&gt;ROL&lt;/Mode&gt;
    &lt;UserName&gt;KFROL_User&lt;/UserName&gt;
    &lt;Password&gt;&lt;/Password&gt;
    &lt;Tenant&gt;Sundry Debt Void Code, Flat 1, Weaver Flats Cheshire Spencer Street Northwich CW8 1BP&lt;/Tenant&gt;
    &lt;TenantID&gt;32042011&lt;/TenantID&gt;
    &lt;OriginatingSystem&gt;POSTMON&lt;/OriginatingSystem&gt;
    &lt;Tenancy /&gt;
    &lt;RepairNo&gt;1000095&lt;/RepairNo&gt;
    &lt;AssetID&gt;1FLATSPENCERSTREETNORTHWICH&lt;/AssetID&gt;    
    &lt;Company&gt;OL3_Model_Test&lt;/Company&gt;
  &lt;/Startup&gt;
&lt;/KeyfaxData&gt;</startupXml>
    </Startup>
  </soap:Body>
</soap:Envelope>
```

#### Launching Repair Diagnostics (RD)

The below illustrates how to obtain launch details for a Keyfax Repairs Diagnostics session. This only contains the very minimal start-up data and additional data can be provided as detailed within the "Full Schema" section further below.&#x20;

**URL**

`https://keyfax.yourdomain.com/interview/ws/keyfaxws.asmx`

**SOAP BODY**

```
<soap:Envelope xmlns:xsi="http//www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <Startup xmlns="http://keyfax.touch-base.com/">
      <startupXml>&lt;KeyfaxData Test="0"&gt;
  &lt;Startup&gt;
    &lt;Mode&gt;RD&lt;/Mode&gt;
    &lt;UserName&gt;operator&lt;/UserName&gt;
    &lt;Password&gt;Global&lt;/Password&gt;
    &lt;Tenant&gt;Sundry Debt Void Code, Flat 2, Weaver Flats Cheshire Spencer Road Northwich CB8 1BP&lt;/Tenant&gt;
    &lt;TenantID&gt;32042011&lt;/TenantID&gt;
    &lt;OriginatingSystem&gt;POSTMON&lt;/OriginatingSystem&gt;
    &lt;Tenancy /&gt;
    &lt;RepairNo&gt;1000095&lt;/RepairNo&gt;
    &lt;AssetID&gt;1FLATSPENCERSTREETNORTHWICH&lt;/AssetID&gt;    
    &lt;Company&gt;RDFL_Test&lt;/Company&gt;
  &lt;/Startup&gt;
&lt;/KeyfaxData&gt;</startupXml>
    </Startup>
  </soap:Body>
</soap:Envelope>
```

### Full Schema

Note the schema describes a 'base' schema and is subject to change.

| Element                                                                                                   | Description                                                                                                                                                                                                                                                                                                                                                                                     |
| --------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `<KeyfaxData test="`**`0`**`" version="1`**`.1`**`">`                                                     | Set test="1" for test environments only                                                                                                                                                                                                                                                                                                                                                         |
| `<Startup>`                                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<OriginatingSystem>`**`My Housing System`**`</OriginatingSystem>`                                        | Name of Host System passing Start-up.xml                                                                                                                                                                                                                                                                                                                                                        |
| `<Mode>`**`RD`**`</Mode>`                                                                                 | <p>Typical Modes are:<br><strong>RD</strong> Repair diagnostics<br><strong>FL</strong> Front-line enquiries<br><strong>ROL</strong> Repairs on-line<br>EOL Enquiries on-line</p>                                                                                                                                                                                                                |
| `<UserName>`**`Operator`**`</UserName>`                                                                   | <p>Session based User ID text (must be the same value as used in session XMLHTTP calls). This person must be established as a user in Inter•View by (via the Administrator Tools). Note: in some integrations, it is not practical to supply a valid/registered username, e.g. Repairs Online; in these cases, default usernames would be established so this node can be left blank.  <br></p> |
| `<Password></Password>`                                                                                   | User password as setup in Keyfax Admin Tools. Alternatively, a single global (configurable) password can be used or the interface can authenticate with a valid UserName only.                                                                                                                                                                                                                  |
| `<Company>Keyfax Configuration Code</Company>`                                                            | A Keyfax configuration code. This reverted back from 'Config' on 09/11/2015,                                                                                                                                                                                                                                                                                                                    |
| `<ClientID>`**`MyHMSClient`**`</ClientID>`                                                                | A Client ID to use if the Host manages calls for multiple clients                                                                                                                                                                                                                                                                                                                               |
| `<ScriptSet>`**`1`**`</ScriptSet>`                                                                        | Code representing the tenure type for the caller.                                                                                                                                                                                                                                                                                                                                               |
| `<Category>`**`Optional Startup Category Name`**`</Category>`                                             | Mandatory if a Topic is passed                                                                                                                                                                                                                                                                                                                                                                  |
| `<Topic>`**`Optional Startup TopicName`**`</Topic>`                                                       | Category is mandatory if a Topic is passed                                                                                                                                                                                                                                                                                                                                                      |
| `<ReturnURL>`**`http://xxx.com/Page.aspx?status={0}&amp;co={1}&amp;guid={2}`**`</ReturnURL>`              | Webpage to display on completion                                                                                                                                                                                                                                                                                                                                                                |
| `<CallerDetails isTenant="`**`Y`**`" >`                                                                   | Caller Details                                                                                                                                                                                                                                                                                                                                                                                  |
| `<CallerID>`**`123456`**`</CallerID>`                                                                     | Caller unique identifier                                                                                                                                                                                                                                                                                                                                                                        |
| `<Caller>`**`RUPERT JONES,21 The Causeway,Bicester,OXON,B23 7AS`**`</Caller>`                             | Caller Name and Address                                                                                                                                                                                                                                                                                                                                                                         |
| `<Title>`**`MR`**`</Title>`                                                                               | Caller Title                                                                                                                                                                                                                                                                                                                                                                                    |
| `<FirstName>`**`Rupert`**`</FirstName>`                                                                   | Caller First Name                                                                                                                                                                                                                                                                                                                                                                               |
| `<LastName>`**`Jones`**`</LastName>`                                                                      | Caller Last Name                                                                                                                                                                                                                                                                                                                                                                                |
| `<DOB>`**`16-12-1976`**`</DOB>`                                                                           | Caller Date of Birth                                                                                                                                                                                                                                                                                                                                                                            |
| `<MainTelephone>`**`01869242967`**`</MainTelephone>`                                                      | Caller Main Telephone number                                                                                                                                                                                                                                                                                                                                                                    |
| `<HomeTelNo>`**`01234 555 666`**`</HomeTelNo>`                                                            | Caller Home Telephone number                                                                                                                                                                                                                                                                                                                                                                    |
| `<WorkTelNo>`**`01869 242 967`**`</WorkTelNo>`                                                            | Caller Work Telephone number                                                                                                                                                                                                                                                                                                                                                                    |
| `<Mobile>`**`07779235451`**`</Mobile>`                                                                    | Caller Mobile number                                                                                                                                                                                                                                                                                                                                                                            |
| `<Email>`**`RJ@hotmail.org`**`</Email>`                                                                   | Caller Email address                                                                                                                                                                                                                                                                                                                                                                            |
| `<Notes>`**`If not available at main Contact number, please try on Mobile phone.`**`</Notes>`             | Notes relevant to caller                                                                                                                                                                                                                                                                                                                                                                        |
| `<Financials>`                                                                                            | Financial section                                                                                                                                                                                                                                                                                                                                                                               |
| `<CurrentBalance>`**`445.54`**`</CurrentBalance>`                                                         | Caller current rent balance                                                                                                                                                                                                                                                                                                                                                                     |
| `<EligibleRent>`**`112.50`**`</EligibleRent>`                                                             | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                     |
| `<Contributions>`**`74.35`**`</Contributions>`                                                            | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                     |
| `<RegularPaymentMethod>`**`DIRECTDEBIT`**`</RegularPaymentMethod>`                                        | Caller method of rent payment                                                                                                                                                                                                                                                                                                                                                                   |
| `</Financials>`                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<Alert Type="`**`xxx`**`" Severe="`**`yes/no`**`" Level="`**`xxx`**`">`**`Visually Impaired`**`</Alert>` |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<Alert Type="`**`xxx`**`" Severe="`**`yes/no`**`" Level="`**`xxx`**`">`**`Blind`**`</Alert>`             |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<Dependent>`                                                                                             | Caller Dependant details                                                                                                                                                                                                                                                                                                                                                                        |
| `<Name></Name>`                                                                                           | Caller Dependant Name                                                                                                                                                                                                                                                                                                                                                                           |
| `<DOB></DOB>`                                                                                             | Caller Dependant Date of Birth                                                                                                                                                                                                                                                                                                                                                                  |
| `<Sex></Sex>`                                                                                             | Caller Dependant Sex                                                                                                                                                                                                                                                                                                                                                                            |
| `<Alert Type="`**`xxx`**`" Severe="`**`yes/no`**`" Level="`**`xxx`**`">`**`Visually Impaired`**`</Alert>` |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<Alert Type="`**`xxx`**`" Severe="`**`yes/no`**`" Level="`**`xxx`**`">`**`Blind`**`</Alert>`             |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `</Dependent>`                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `</CallerDetails>`                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<TenancyDetails>`                                                                                        | Details of Caller's tenancy                                                                                                                                                                                                                                                                                                                                                                     |
| `<Tenancy>`**`STD`**`</Tenancy>`                                                                          | Tenancy Code                                                                                                                                                                                                                                                                                                                                                                                    |
| `<TenancyType>`**`Assured`**`</TenancyType>`                                                              | Tenancy Type                                                                                                                                                                                                                                                                                                                                                                                    |
| `<Tenure_Code>`**`1`**`</Tenure_Code>`                                                                    | Tenure Code                                                                                                                                                                                                                                                                                                                                                                                     |
| `<OnMutualExchangeRegister>`**`N`**`</OnMutualExchangeRegister>`                                          | Is Caller on the Mutual Exchange Register?                                                                                                                                                                                                                                                                                                                                                      |
| `<OnTransferRegister>`**`N`**`</OnTransferRegister>`                                                      | Is Caller on the Transfer Register?                                                                                                                                                                                                                                                                                                                                                             |
| `<TenancyCommencementDate>`**`2015/01/01`**`</TenancyCommencementDate>`                                   | Date of Tenancy Commencement                                                                                                                                                                                                                                                                                                                                                                    |
| `<HousingOfficer>`**`John Smith`**`</HousingOfficer>`                                                     | Tenant Housing Officer Name                                                                                                                                                                                                                                                                                                                                                                     |
| `<MainTenant>`**`Y`**`</MainTenant>`                                                                      | Is Caller the Main Tenant?                                                                                                                                                                                                                                                                                                                                                                      |
| `<JointTenant TenantId="`**`xxx`**`">`                                                                    | Joint Tenant details                                                                                                                                                                                                                                                                                                                                                                            |
| `<Title>`**`MR`**`</Title>`                                                                               | Joint Tenant Title                                                                                                                                                                                                                                                                                                                                                                              |
| `<FirstName>`**`Rupert`**`</FirstName>`                                                                   | Joint Tenant First Name                                                                                                                                                                                                                                                                                                                                                                         |
| \<LastName>**Jones**\</LastName>                                                                          | Joint Tenant Last Name                                                                                                                                                                                                                                                                                                                                                                          |
| `<DOB>`**`1976-01-01`**`</DOB>`                                                                           | Joint Tenant Date of Birth                                                                                                                                                                                                                                                                                                                                                                      |
| `<MainTelephone>`**`01869242967`**`</MainTelephone>`                                                      | Joint Tenant Main Telephone number                                                                                                                                                                                                                                                                                                                                                              |
| `<HomeTelNo>`**`01234 555 666`**`</HomeTelNo>`                                                            | Joint Tenant Home Telephone number                                                                                                                                                                                                                                                                                                                                                              |
| `<WorkTelNo>`**`01869 242 967`**`</WorkTelNo>`                                                            | Joint Tenant Work Telephone number                                                                                                                                                                                                                                                                                                                                                              |
| `<Mobile>`**`07779235451`**`</Mobile>`                                                                    | Joint Tenant Mobile number                                                                                                                                                                                                                                                                                                                                                                      |
| `<Email>`**`RJ@hotmail.org`**`</Email>`                                                                   | Joint Tenant Email address                                                                                                                                                                                                                                                                                                                                                                      |
| `<Alert Type="`**`xxx`**`" Severe="`**`yes/no`**`" Level="`**`xxx`**`">`**`Visually Impaired`**`</Alert>` |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<Alert Type="`**`xxx`**`" Severe="`**`yes/no`**`" Level="`**`xxx`**`">`**`Blind`**`</Alert>`             |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `</JointTenant>`                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `</TenancyDetails>`                                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<PropertyID>`**`616161`**`</PropertyID>`                                                                 | Unique Property ID                                                                                                                                                                                                                                                                                                                                                                              |
| `<Property>`                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<AddressLine1>`**`21 THE CAUSEWAY`**`</AddressLine1>`                                                    | Tenant Property Address                                                                                                                                                                                                                                                                                                                                                                         |
| `<AddressLine2></AddressLine2>`                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<AddressLine3></AddressLine3>`                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<AddressLine4></AddressLine4>`                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<AddressLine5></AddressLine5>`                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<City>`**`BICESTER`**`</City>`                                                                           | Tenant Property City                                                                                                                                                                                                                                                                                                                                                                            |
| `<County>`**`OXON`**`</County>`                                                                           | Tenant Property County                                                                                                                                                                                                                                                                                                                                                                          |
| `<Postcode>`**`OX26 6AN`**`</Postcode>`                                                                   | Tenant Property Postcode                                                                                                                                                                                                                                                                                                                                                                        |
| `<DefaultContractor id="`**`xxx`**`">`**`Willmott Dixon`**`</DefaultContractor>`                          | Default Contractor for Tenant                                                                                                                                                                                                                                                                                                                                                                   |
| `<Contractor id="`**`xxx`**`" trade="`**`Gas`**`">`**`PHJONESN`**`</Contractor>`                          | Contractor and Trade                                                                                                                                                                                                                                                                                                                                                                            |
| `<ConstructionDate>`**`2015-01-01`**`</ConstructionDate>`                                                 | Construction Date of Tenant Property                                                                                                                                                                                                                                                                                                                                                            |
| `<InDefectLiabilityPeriod>`**`Y`**`</InDefectLiabilityPeriod>`                                            | Property in Defect Liability period?                                                                                                                                                                                                                                                                                                                                                            |
| `<DefectLiabilityExpiryDate>`**`2016-01-01`**`</DefectLiabilityExpiryDate>`                               | Defect Liability period expires on                                                                                                                                                                                                                                                                                                                                                              |
| `<TotalBedrooms>`**`3`**`</TotalBedrooms>`                                                                | Number of Bedrooms of Tenant Property                                                                                                                                                                                                                                                                                                                                                           |
| `<PropertyLastGasServiceDate>`**`2014-01-01`**`</PropertyLastGasServiceDate>`                             | Date of last gas service                                                                                                                                                                                                                                                                                                                                                                        |
| `<PropertyTypeCode>`**`BLK`**`</PropertyTypeCode>`                                                        | Code for Property type                                                                                                                                                                                                                                                                                                                                                                          |
| `<PropertyTypeDescription>`**`BLOCK`**`</PropertyTypeDescription>`                                        | <p>Type of Property (Block, Detached, Semi-Detached)<br></p>                                                                                                                                                                                                                                                                                                                                    |
| `<BlockCode>`**`66667`**`</BlockCode>`                                                                    | Code for the Block if applicable                                                                                                                                                                                                                                                                                                                                                                |
| `<Scheme_Code>`**`S0234`**`</Scheme_Code>`                                                                | Code of Scheme the Property belongs to                                                                                                                                                                                                                                                                                                                                                          |
| `<LA_Code>`**`127`**`</LA_Code>`                                                                          | Local Authority Code                                                                                                                                                                                                                                                                                                                                                                            |
| `<Road_Code>`**`R0461`**`</Road_Code>`                                                                    | Road Code                                                                                                                                                                                                                                                                                                                                                                                       |
| `<ComponentData>`                                                                                         | Data on Components within the Property                                                                                                                                                                                                                                                                                                                                                          |
| `<Component>`                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<Description>`**`HEATINGTYPE`**`</Description >`                                                         | Component Description                                                                                                                                                                                                                                                                                                                                                                           |
| `<Type>`**`GASBOILER`**`</Type>`                                                                          | Type of Component                                                                                                                                                                                                                                                                                                                                                                               |
| `<Make>`**`Worcester`**`</Make>`                                                                          | Make of Component                                                                                                                                                                                                                                                                                                                                                                               |
| `<Model>`**`DW123`**`</Model>`                                                                            | Model number of Component                                                                                                                                                                                                                                                                                                                                                                       |
| `<SerialNumber>`**`7894546136`**` ``</SerialNumber>`                                                      | Serial number of Component                                                                                                                                                                                                                                                                                                                                                                      |
| `<InstallDate>`**`2010-01-01`**`</InstallDate>`                                                           | Date Component was installed                                                                                                                                                                                                                                                                                                                                                                    |
| `<WarrantyExpiryDate>`**`2011-01-01`**`</WarrantyExpiryDate>`                                             | Date Warranty of Component expires                                                                                                                                                                                                                                                                                                                                                              |
| `<WarrantyNumber>`**`21234`**`</WarrantyNumber>`                                                          | Unique Warranty number                                                                                                                                                                                                                                                                                                                                                                          |
| `<LastServiceDate></LastServiceDate>`                                                                     | Date of last service                                                                                                                                                                                                                                                                                                                                                                            |
| `<NextServiceDate></NextServiceDate>`                                                                     | Date of next service due                                                                                                                                                                                                                                                                                                                                                                        |
| `<Contractor></Contractor>`                                                                               | Contract responsible for Component                                                                                                                                                                                                                                                                                                                                                              |
| `<Location></Location>`                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `</Component>`                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<Component>`                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<Description>`**`SHOWER`**`</Description>`                                                               |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<Type>`**`ELECTRIC`**`</Type>`                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<Make>`**`Honeywell`**`</Make>`                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<Model>`**`EL345`**`</Model>`                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<SerialNumber>`**`7894546136`**`</SerialNumber>`                                                         |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<InstallDate>`**`2010-01-01`**`</InstallDate>`                                                           |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<WarrantyExpiryDate>`**`2010-01-01`**`</WarrantyExpiryDate>`                                             |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<WarrantyNumber>`**`21234`**`</WarrantyNumber>`                                                          |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<LastServiceDate></LastServiceDate>`                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<NextServiceDate></NextServiceDate>`                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<Contractor>`**`SHOWERSRUS`**`</Contractor>`                                                             |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<Location></Location>`                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `</Component>`                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `</ComponentData>`                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<Adaptations>`                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<Adaptation Code="`**`LIFT:STAIR`**`">`**`STAIR LIFT IN PROPERTY`**`</Adaptation>`                       | Adapation Notes                                                                                                                                                                                                                                                                                                                                                                                 |
| `<Adaptation Code="`**`HANDRAIL`**`">`**`HANDRAILS IN PROPERTY`**`</Adaptation>`                          |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `</Adaptations>`                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<PlannedMaintenance>`                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<PMJob>`                                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<ProgrammeCode>`**`GASSERVICING0607`**`</ProgrammeCode>`                                                 |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<ProgrammeDescription>`**`Servicing Of Gas Appliances 2006/07`**`</ProgrammeDescription>`                |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<Contractor>`**`Enterprise`**`</Contractor>`                                                             |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<ContractStatus>`**`OPEN`**`</ContractStatus>`                                                           |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<LastCompletedDate>`**`2010-01-01`**`</LastCompletedDate>`                                               |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<WarrantyPeriod>`**`12 months`**`</WarrantyPeriod>`                                                      |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<NextPlannedDate>`**`2011-01-01`**`</NextPlannedDate>`                                                   |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `</PMJob>`                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `</PlannedMaintenance>`                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<ContactHistory Range="`**`Last 10 months`**`">`                                                         |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<CallType id="`**`xxx`**`">`**`Repair`**`</CallType>`                                                    |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<CallRef>`**`987654321`**`</CallRef>`                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<Status>`**`COMPLETE`**`</Status>`                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<Description>`**`Heating`**`</Description>`                                                              |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<RaisedDate>`**`YYYY/MM/DD HH:MM`**`</RaisedDate>`                                                       |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<TargetDate>`**`YYYY/MM/DD HH:MM`**`</TargetDate>`                                                       |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<CompletedDate>`**`YYYY/MM/DD HH:MM`**`</CompletedDate>`                                                 |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<Comments>`**`Migrated from Works Order Ref.12345`**`</Comments>`                                        |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<ReferredTo>`**`P H Jones Gas Servicing`**`</ReferredTo>`                                                |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<JobLineItem id="`**`1`**`">`                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<SoRCode>`**`12345A`**`</SoRCode>`                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<SoRShortDescription>`**`Find Fault and Rectify</`**`SoRShortDescription>`                               |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<Quantity>`**`1`**`</Quantity>`                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<Trade>`**`GAS`**`</Trade>`                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<PriorityCode>`**`E`**`</PriorityCode>`                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<Location>`**`BEDROOM`**`</Location>`                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `</JobLineItem>`                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `</ContactHistory>`                                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<Warning Type="`**`xx`**`">`**`Asbestos`**`</Warning>`                                                   |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<Warning Type="`**`xx`**`">`**`Violent history`**`</Warning>`                                            |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `<Notes>`**`If not available at main Contact number, please try on Mobile phone.`**`</Notes>`             |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `</Property>`                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `</Startup>`                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                 |
| `</KeyfaxData>`                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                 |
|                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                 |
