Keyfax
  • 📋What is Keyfax?
  • Product Suite
    • Keyfax Administrator Tools
      • System Requirements
      • Installation
      • Logging On
      • Navigation
      • Exclusive Mode
      • Script Levels
        • Master Scripts
          • Category Editing
          • Topic Editing
          • Self-Service Categories
        • System Scripts
          • Cancel
          • Priority Justifications
          • Results
          • Special Instructions
          • Startup
        • Script Sets
          • Category Properties
          • Setting up Topics
          • Topic Properties
          • Loading Script Sets
      • Script Editing
        • Script Editing - The basics
        • References
        • Testing your changes
        • Script Flows
      • Script Entities
        • Databoxes
          • Script Data
            • Host-specific notes
          • SQL Query
            • Testing SQL Query Databoxes
          • Import XML
          • Export XML
          • System Values
          • Company Data
          • Testing Databoxes & Expressions
          • Databox Read
          • Databox Write
          • Databoxes in Messages & Tasks
        • Questions
          • Address
          • Checklist
          • Date/Time
          • Dynamic Lists
            • Testing Dynamic Lists
            • Dynamic List Examples
          • External Forms (eForms)
            • External Forms - Technical
          • File Upload
          • List
          • Numeric
          • Text
          • Video Call
        • Asset Data
        • Markers
        • Messages
          • Testing Messages
        • Services
          • Host-specific notes
        • Priorities
        • Tasks
          • Enclosures & Attachments
          • Continuations
          • Host-specific notes
      • Reports
      • Databox Examples
        • Business Days
        • Working Hours
        • Time of day
        • Higher priority jobs
        • Script Duration
        • How did it happen?
        • Repair Description
        • Concatenating CSV
        • Tenant Handbook
        • Multi-line Addresses
        • Priority / Response Days
        • Contains Text
      • Databox Expressions
        • Text Expressions
          • CSV
          • Entry
          • Exists
          • FieldMerge
          • Index
          • IndexOf
          • InList
          • Item
          • Len
          • ListTidy
          • Lower
          • PadLeft
          • Replace
          • Row
          • RowMerge
          • SubStr
          • Trim
          • Upper
          • WCase
        • Numeric Expressions
          • Abs
          • AsNum
          • Between
          • Int
          • Mod
          • Number
          • Result
          • Round
        • Date Expressions
          • After
          • AsDate
          • Before
          • BetweenDates
          • DateAdd
          • Day
          • Month
          • Now
          • Today
          • WeekDay
          • Year
        • Number Formatting
        • Operators And Literals
        • Logical Expressions
        • Additional Functions
          • Ds
      • Users
        • Finding active users
        • Keyfax SSO – via Microsoft Entra ID Support
      • Advanced
        • Base Task Templates
          • Email Task Templates
          • Letter Task Templates
          • Note Task Templates
          • SMS Task Templates
          • VoiceSage Task Templates
          • Host-specific notes
        • Export & Import
        • Communications Queues
      • Host Operations
        • ActiveH Operations
          • Introduction
          • Actions
          • Databoxes & UDEs
          • Emails
          • Mail Merge Letters
          • Populating CallType
          • Populating JobType
          • Repairs Inspection Task
          • Repairs Interface
        • Fast Lean Smart
      • Best Practices
        • Extracting XML from Keyfax tables
        • Script Performance
        • Handling multiple rows from SQL
        • HTML Editor
        • Writing SQL Queries
      • Known Issues
        • Startup Messages
        • Running but not Visible
        • Error 1001 During Install
        • Stopped Working
    • Keyfax Staff
      • System Requirements
      • Advisor Feedback
      • Priority and Quantity
    • Keyfax Self-Service
      • System Requirements
      • Browser Support
    • KeyNamics
      • Model Driven Apps
      • Power Pages Portals
      • Installation
        • System Requirements
        • Solution Import
        • Basic Setup
        • Known Issues
      • Embedding
        • Model Driven Apps
        • Power Pages Portals
      • Configuration
        • Settings
        • Mappings
          • Creating Mappings
          • Minimum Mapping Requirements
          • Mapping Entity Form Fields
          • Mapping Lookup fields
          • Mapping Examples
        • FetchXML
          • Creating FetchXML queries
        • Logging
        • Test
      • Advanced
        • Mode Translation Rules
        • Customising Launch Button
        • Extending Export Data
        • Mapping Dump Fields
        • Mapping JSON Results
        • Enabling Help Panes
        • Mobile Operation
        • Handling uploaded content
      • Technical
        • Topology
        • Copying Environments
        • Keyfax Startup Data
        • Keyfax Export Data
    • Keyfax Client
      • Installation
        • Getting Started
        • Launch Tester
        • Uninstall / reinstall
        • Known Issues
    • Keyfax Cloud
      • Uptime Guarantee
      • Business Continuity
  • General
    • General FAQs
      • General Questions
      • Installation Questions
      • Migration Questions
      • Security Questions
      • Test & Training Questions
    • Keyfax FAQs
      • Keyfax Administrator Tools
      • Keyfax Staff
      • Keyfax Self-Service
      • KeyNamics
      • Keyfax Client
      • Keyfax Cloud
    • Issues & Solutions
      • Emails not working
    • Release Notes
      • Keyfax
        • 4.4.7
        • 4.4.6
        • 4.4.5
        • 4.4.4
        • 4.4.3
        • 4.4.2
        • 4.4.1
        • 4.4.0
        • Previous Releases
      • Keyfax Client
        • 4.0.0.44
        • 4.0.0.43
        • 4.0.0.42
        • Previous Releases
      • KeyNamics
        • 3.0.0.0
        • 2.0.0.13
        • Previous Releases
      • Older Releases
        • Staff
  • Integrations
    • API Docs
      • REST API
        • Quick Start
        • Deep Dive
        • API SDKs
          • .NET SDK
          • JavaScript SDK
          • Start-Up Data
          • Processing Results
        • API Reference
      • SOAP API
        • Quick Start
        • Error Handling
        • Status Codes
        • XML Schemas
          • Startup Schema
          • Results Schema
          • Results with Note
          • Cancelled Schema
          • Address data
      • Legacy APIs
        • Active X
        • Asynchronous Pluggable Protocols
        • XmlHttp
    • Integrations
      • Aareon
        • Introduction
        • Launching Keyfax Repairs
        • Launching Keyfax Enquiries
        • Configuration
        • SOAP based integration
        • QL Message fields
        • Known problems
      • Accuserve
      • ActiveH Desktop
        • Introduction
        • ActiveH Repair Interface
        • Known Problems
        • Keyfax Configuration
          • MISExchange.xml
          • Example Settings
          • Retrieving Block Codes
        • MIS Configuration
          • Exchange Process
          • Exchange Elements
          • User Permissions
          • User Security
          • UDE Interface
          • UDE Configuration
          • Settings
          • Desktop Configuration
          • Priorities Configuration
          • Populating Job Type
          • Populating Assigned To
          • Populating Call Classification
          • Configuring Log Call
            • Launching Keyfax from Response Repairs
          • Workflow Integration Actions
        • MIS interface Objects
          • CRM Gateway
          • Desktop Task
          • System Task Email Addressee
          • Desktop Task Action
          • Repair Request
          • Repair Request Inspection
          • Repair Request Task
      • ActiveH Portal (TIPS)
        • Introduction
        • Settings
        • Known Issues
      • ActiveH Web
      • Breeze IT
      • Caltech
      • Capita
        • Capita Housing / Academy
          • Host Table Usage
          • Troubleshooting
        • Open Housing
      • Civica
        • Civica CX
          • Introduction
          • Mappings
          • Start Up Data
          • Inspections
          • Known Issues
        • Civica CM
          • Known problems
        • Servitor
          • Example Import XML
          • Example Export XML
      • ContactView
      • Dynamics
      • Kirona
      • Lagan
      • MIS
      • MRI
      • Northgate
        • Launching Keyfax
        • Exchange process
        • XML/Field mappings
      • OneServe
      • ROCC
      • Total Mobile
        • Launching Keyfax (TASK)
        • TotalView Configuration
      • SDM
    • Best Practices
      • Integration Considerations
      • Displaying Keyfax Self-Service
  • Technical
    • General
      • Keyfax Architecture
      • Clearing Cache
    • Cloud Operation
      • Microsoft Azure
      • Amazon Web Services
    • Configuration Settings
      • Introduction
      • Paths Element
    • Developer Zone
      • eForm Technical Details
    • SQL Server
      • Freeing Space
      • Maintaining Indexes
      • Maintenance Plan
      • Restoring Live into Test
  • Links
    • Our Web Site
    • Our Blog
    • Try Keyfax
    • Contact Us
Powered by GitBook
On this page
  • Basic SOAP Requests
  • Full Schema
  1. Integrations
  2. API Docs
  3. SOAP API
  4. XML Schemas

Startup Schema

All the supported start-up data supported by Keyfax.

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 SOAP API or REST API and it will require populated startup data as described below.

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.

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.

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.

  • 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.

  • 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.

  • 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.

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.

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.

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>

Typical Modes are: RD Repair diagnostics FL Front-line enquiries ROL Repairs on-line EOL Enquiries on-line

<UserName>Operator</UserName>

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.

<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>

<Contributions>74.35</Contributions>

<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>

Type of Property (Block, Detached, Semi-Detached)

<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>

PreviousXML SchemasNextResults Schema

Last updated 1 year ago