Professional Documents
Culture Documents
WFC81 IntegrationMgrDTKRef
WFC81 IntegrationMgrDTKRef
Developer’s Toolkit
Reference Guide
Version 8.1.
The information in this document is subject to change without notice and should not be construed as a commitment
by Kronos Incorporated. Kronos Incorporated assumes no responsibility for any errors that may appear in this
manual. This document or any part thereof may not be reproduced in any form without the written permission of
Kronos Incorporated. All rights reserved. Copyright 2017.
Altitude, Altitude Dream, Altitude Pairing, Altitude PBS, CardSaver, Gatekeeper, Gatekeeper Central, Keep.Trac,
Kronos, Kronos InTouch, Kronos Touch ID, the Kronos logo, Kronos Workforce Ready, My Genies, OptiLink,
ShiftLogic, ShopTrac, Timekeeper Central, TimeLink, Unicru, Visionware, Workforce Accruals, Workforce Central,
Workforce Genie, and Workforce TeleTime are registered trademarks of Kronos Incorporated or a related company.
ACA Manager, Altitude BLISS, Altitude Insight, Altitude MPP, Altitude MPPXpress, Altitude Rostering, Altitude VBS,
CMS, Comm.Mgr, CommLink, DKC/Datalink, eDiagnostics, FasTrack, Hireport, HR and Payroll Answerforce,
HyperFind, iBid, Kronos 4500, Kronos 4500 Touch ID, Kronos 4510, Kronos Acquisition, Kronos ByDemand,
Kronos e-Central, Kronos Efficient, Kronos Enterprise Archive, Kronos Essentials, Kronos for Dining Accelerated,
Kronos for Retail Accelerated, Kronos KnowledgePass, Kronos Paragon, Kronos TechKnowledgy, KronosWorks,
KVC ByDemand, KVC OnDemand, Labor Plus, MedSched, MPPXpress, Overall Labor Effectiveness, Schedule
Assistant, Smart Scheduler, Smart View, StaffEasy, Start Quality, Start WIP, Starter Series, StartLabor, Stromberg,
Timekeeper Decisions, Timekeeper Web, VisionPlus, WebStaff, webTA, webTA Mobile, Winstar Elite, WIP Plus,
Workforce Absence Manager, Workforce Acquisition, Workforce Activities, Workforce Analytics, Workforce
Attendance, Workforce Auditor, Workforce Budgeting, Workforce Central Portal, Workforce Connect, Workforce
Device Manager, Workforce Dimensions, Workforce Employee, Workforce ESP, Workforce Forecast Manager,
Workforce HR, Workforce Innovation That Works, Workforce Institute, Workforce Integration Manager, Workforce
IntegrityScreen, Workforce Leave, Workforce Manager, Workforce Mobile, Workforce MobileTime, Workforce
Operations Planner, Workforce Payroll, Workforce Record Manager, Workforce Recruiter, Workforce Scheduler,
Workforce Scheduler with Optimization, Workforce Selection, Workforce Smart Scheduler, Workforce Sourcing
Analytics, Workforce Tablet, Workforce Tablet Analytics, Workforce Talent Acquisition, Workforce Task
Management, Workforce Tax Filing, Workforce TeleStaff, Workforce TeleTime IP, Workforce Timekeeper,
Workforce View, and Workforce Worksheet are trademarks of Kronos Incorporated or a related company.
For a complete list of Kronos trademarks, please visit the "trademarks" page at www.kronos.com. The source code
for Equinox is available for free download at www.eclipse.org. All other trademarks or registered trademarks used
herein are the property of their respective owners and are used for identification purposes only. All specifications
are subject to change.
When using and applying the information generated by Kronos products, customers should ensure that they comply
with the applicable requirements of all applicable law, including federal and state law, such as the Fair Labor
Standards Act. Nothing in this Guide shall be construed as an assurance or guaranty that Kronos products comply
with any such laws.
Contents
3
Contents
4
Contents
5
Contents
6
Chapter 1
About This Guide
This reference guide defines and describes the XML API interface. XML API
reference information is available for the following products:
• Timekeeping
• Scheduling (including Task Management)
• Activities
• Attendance
• Data Integration
• Device Manager
• Leave
• Budgeting
Chapter 1 About This Guide
54 Kronos Incorporated
Abbreviations and terms
Abbreviation Term
API Application Program Interface
DTK Developer’s Toolkit
HTML Hypertext Markup Language
HTTP Hypertext Transfer Protocol
HTTPS Hypertext Transfer Protocol Secure
RDBMS Relational Database Management System
TCP/IP Transmission Control Protocol/Internet Protocol
URL Universal Resource Locator
XML Extensible Markup Language
55
Chapter 1 About This Guide
56 Kronos Incorporated
Chapter 2
XML Tags
Chapter 2 XML Tags
The XML tag name includes the technical name, or how the tag is referenced in
code, and the non-technical name, or how the tag is referenced in the XML Import
and Export Programmer sections and the user interface.
Example technical name: CheckAdvice
Example non-technical name: Earnings History
XML tag description
The XML tag description gives an overview of what the XML tag is used for, and
specifies whether it is used by another XML tag. The description also includes tag
level validations, if they are not standard validations. For example, standard date
validation is not mentioned, but if the date must fall during the last week of a
month, the information is included.
Function access control point
The function access control point identifies the functional area that a user must
have access to in order to use the XML tags within that functional area.
For example, for the Punch tag, the function access control point is API.Timecard.
This means that a user must have access to Timecard in order to use this tag.
To validate whether a user has the appropriate access rights, complete these steps
in Setup. Contact your system administrator if you do not have access to Setup:
1. Click Access Profiles.
2. Click Function Access Profiles from the list on the left.
3. Click the function access profile associated with the user whose access rights
you are checking; for example, IS.
The Edit Function Access Profile window opens.
4. Expand the API and API Beans entries to see the function access control
points.
58 Kronos Incorporated
Using the tag descriptions
5. Find the function access control point you are interested in (for example,
Timecard) and verify that it is set to Allowed for the type of operation the user
needs to perform.
If it is set to Allowed, the user has access rights to all the tags in the reference
chapter of this document whose Function Access Control Point is specified as
API.Timecard; for example, the Punch tag.
Note: In the GUI, the function access control point name may reflect the
control point’s association with Java beans. Thus, the GUI may refer to
API.Timecard as Timecard Beans.
Versions
The “introduced” version specifies the version number when the tag was
introduced. If the tag was modified since it was introduced, the version when it
was last changed is specified. If it has been modified in this release and you are
already using this tag, check your XML code to make sure it is up-to-date.
If the tag has been marked for deprecation, this information is specified. A
deprecated item will be removed from the API in the next major release, or
after one year, whichever date is later.
Syntax
This section describes the abstract syntax for the XML tag. XML tag names,
action names, action parameters, and property names are case sensitive.
Example:
Request -->
<Request Action = Actions
Parameters >
Properties
</Request>
Actions --> "AddComment" | "AddOnly" | "Delete"
Parameters -->
[ AccrualOverride = Boolean ]
[ allowAdHoc = Boolean ]
[ EchoData = Boolean ]
59
Chapter 2 XML Tags
Properties -->
<PayCodeMove
AmountInTimeOrCurrency = String
[ CommentText = String ]
Date = Date
( EnteredOnDate = Date )
( EnteredOnTime = Time )
[ FromLaborAccountName = String ]
FromPayCodeName = String
[ LaborAccountName = String ]
[ ManagerName = String ]
OrgJobId = String
[ OrgJobName = String ]
PayCodeName = String >
( <Comments>
<Comment>*
</Comments> )
<Employee>
<CurrentUser> | <PersonIdentity>
</Employee>
</PayCodeMove>
Conventions
60 Kronos Incorporated
Using the tag descriptions
• Contained API tags—If the syntax of the primary XML tag requires another
XML tag, which is not assigned to any property within the primary tag, a
container API tag is used to specify a placeholder for the other tag.
Action descriptions
61
Chapter 2 XML Tags
• The description tells what the action does, including validation rules.
• The return value type identifies whether the action returns any data, and if so,
the data type of the returned value.
• The required properties identifies all properties that must be specified when
this action is used.
• The optional properties identifies the properties that can optionally be
specified for the action.
• The access control point name identifies the type of access available for the
tag.
• The Action Parameters table specifies the names and descriptions of all
parameters associated with an action. Not all actions have action parameters.
• The “introduced” version specifies the version number when the action was
introduced. If the action was modified since it was introduced, the version
when it was last changed is specified. If it has been modified in this release
and you are already using this action, check your XML code to make sure it is
up-to-date.
If the action has been marked for deprecation, this information is specified. A
deprecated item will be removed from the API in the next major release, or
after one year, whichever date is later.
62 Kronos Incorporated
Using the tag descriptions
Property descriptions
The property description describes all of the properties specified for an XML tag.
• The property name includes the technical name, or how the property is
referenced in code; and the non-technical name, or how the property is
referenced in the XML Import and Export Programmer Guides and the user
interface.
• The description describes each property, including validation rules.
• Allowed Values identifies a predefined set of allowable values for the
property.
• The Default Value item identifies a default value, where appropriate.
• The Contributes to Uniqueness item identifies properties that are required as
part of the unique identification of an instance of a tag.
• Groups of Mutually Exclusive Properties specifies if any of the properties in a
tag are mutually exclusive. For example, in the EarnedAccruals tag, you can
specify the AmountInTime or the AmountInCurrency property, but not both.
• The “introduced” version specifies the version number when the property was
introduced. If the property was modified since it was introduced, the version
when it was last changed is specified. If it has been modified in this release
and you are already using this property, check your XML code to make sure it
is up-to-date.
If the property has been marked for deprecation, this information is specified.
A deprecated item will be removed from the API in the next major release,
or after one year, whichever date is later.
63
Chapter 2 XML Tags
64 Kronos Incorporated
DateFormatValidation Tag
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Actions
"GetListOfValidEntries"
"Validate"
Parameters
None
Properties
<DateFormatValidation
DateFormat = Integer
DateSeparator = Integer
[ValidationString = String] >
</DateFormatValidation>
Action Descriptions
GetListOfValidEntries
Gets the format this date must be in
Introduced in v6.1
Validate
Determine if the validation string is valid given the date format and date separator
Introduced in v6.1
Property Descriptions
DateFormat
Date Format
A date format enum
0: MMDDYY
1: MMDDYYYY
2: DDMMYY
3: DDMMYYYY
4: YYDDMM
5: YYYYDDMM
6: YYMMDD
7: YYYYMMDD
Type: Integer
Required
A number 0 to 7
DateSeparator
Date Separator
0: No separator
Type: Integer
Required
A number from 0 to 3.
ValidationString
Validation String
The string to validate, based on both the date format and date separator character
values. Those two values are specified in the "Validate input using desired date
format" area of the Validate User Input dialog box in Interface Designer.
Type: String
Optional
Download Context
Requests that a file be downloaded
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Properties
<DownloadContext
Type = String >
<File>
<WimFile>
</File>
</DownloadContext>
Property Descriptions
File
File
The file to be downloaded.
Required
Introduced in v6.1
Type
File Type
Specifies the type of download being requested.
Type: String
Required
Sample values:
DownloadLookTable
Introduced in v6.1
KnxEngineKBO Tag
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Actions
"Cancel"
"Execute"
"Progress"
"Prompts"
Parameters
None
Properties
<KnxEngineKBO
[JobId = Long]
[InterfaceName = String] >
</KnxEngineKBO>
Action Descriptions
Cancel
Cancels a running Workforce Connect job
Return Value Type: None
Introduced in v6.1
Execute
This action executes the Workforce Connect Engine
Progress
Looks up the current progress of an interface job, based on the id in the
knxrunhistory table
Prompts
Gets a list of prompts for an interface
Introduced in v6.1
Property Descriptions
InterfaceName
Name of Integration Manager Interface
The name of the Integration Manager interface to be processed by the Integration
Manager Engine.
Type: String
Optional
JobId
Integration Manager Run History ID
The Integration Manager run ID to be processed by the Integration Manager
Engine.
Type: Long
Optional
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Actions
"Validate"
Parameters
None
Properties
<LookupTableValidation
[LookupTableName = String]
[ValidationString = String] >
</LookupTableValidation>
Action Descriptions
Validate
validates that ValidationString exists in the 1st column of LookupTableName
Property Descriptions
LookupTableName
Lookup Table Name
Name of the lookup table to validate against
Type: String
Optional
Introduced in v6.1
ValidationString
Validation String
String to validate against the lookup table
Type: String
Optional
Introduced in v6.1
NoValidation Tag
No Validation
Validates any non-empty string.
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Actions
"GetListOfValidEntries"
"Validate"
Parameters
None
Properties
<NoValidation
[ValidationString = String] >
</NoValidation>
Action Descriptions
GetListOfValidEntries
always returns null
Introduced in v6.1
Validate
validates that ValidationString is not null or zero length
Introduced in v6.1
Property Descriptions
ValidationString
Validation String
The string to validate against NoValidation.
Type: String
Optional
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Properties
<Prompt
(InterfaceName = String)
(LinkName = String)
(LinkNumber = Integer)
(PromptName = String)
(ProvideCalendar = Boolean)
(VariableName = String) >
(<Validation>
</Validation>)
</Prompt>
Property Descriptions
InterfaceName
Interface Name
The interface name this prompt is from
Type: String
Output only
Introduced in v6.1
LinkName
Link Name
The name of the link this prompt is in
Type: String
Output only
None
Introduced in v6.1
LinkNumber
Link Number
The number of the link within this interface this prompt belongs to
Type: Integer
Output only
Introduced in v6.1
PromptName
Prompt Name
The text to display to ask user input
Type: String
Output only
None
Introduced in v6.1
ProvideCalendar
Provide Calendar
Whether to display a caledar for the user to select a date from
Type: Boolean
Output only
Introduced in v6.1
Validation
Validation
The validation to do on this prompt
Output only
Introduced in v6.1
VariableName
Variable Name
Variable name defined in the designer
Type: String
Output only
Introduced in v6.1
PromptValidation Tag
Prompt Validation
The type of validation that should be applied to a prompt.
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Properties
<PromptValidation
[ValidationString = String] >
</PromptValidation>
Property Descriptions
ValidationString
Validation String
The string to validate against this validator
Type: String
Optional
Introduced in v6.1
RunHistory Tag
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Actions
"RetrieveAll"
"RetrieveById"
Parameters
None
Properties
<RunHistory
(ActualStart = String)
Id = Long
(InterfaceName = String)
(UserName = String) >
(<RunStatusType>
<RunStatusType>
</RunStatusType>)
</RunHistory>
Action Descriptions
RetrieveAll
Retrieve all run history information associated with Workforce Integration
Manager
Introduced in v6.1
RetrieveById
Retrieves the run history information for the data integration job associated with
the Id property
Introduced in v6.2
Property Descriptions
ActualStart
Actual start time of the interface run
The time the interface run actually started
Type: String
Output only
Sample values:
ActualStart="12/26/2007 2:22PM"
Introduced in v6.1
Id
Id
Job Id for data integration interface in KNXRUNHISTORY table
Type: Long
Required
Introduced in v6.2
InterfaceName
Interface name
The name of the interface which was run
Type: String
Output only
Sample values:
InterfaceName="SimpleInterface"
Introduced in v6.1
RunStatusType
Run status
The status of the run; possible values are SCHEDULED, RUNNING,
COMPLETED, COMPLETED_WITH_ERRORS, and CANCELED.
Output only
Sample values:
<RunStatusType>
<RunStatusType Key="COMPLETED"/>
</RunStatusType>
UserName
User name
Name of the user who ran the interface
Type: String
Output only
Sample values:
UserName="SuperUser"
Introduced in v6.1
RunStatusType Tag
None
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Properties
<RunStatusType
(Key = String) >
</RunStatusType>
Property Descriptions
Key
Status of interface process
Current status of a Status of data integration interface process.
Type: String
Output only
Sample values:
RUNNING
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Actions
"GetListOfValidEntries"
"Validate"
Parameters
None
Properties
<SpecialLookupTableValidation
[LinkName = String]
[TableName = String]
[ValidationString = String] >
</SpecialLookupTableValidation>
Action Descriptions
GetListOfValidEntries
gets a list of strings from the special lookup table defined in the link
Validate
validates that ValidationString is in the first column of TableName defined as a
special lookup table in LinkName
Property Descriptions
LinkName
Link Name
The link name to find the special lookup table in
Type: String
Optional
Introduced in v6.1
TableName
Table Name
The special lookup table to look in for strings and validation defined in the
LinkName
Type: String
Optional
Introduced in v6.1
ValidationString
Validation String
the string to validate against the 1st column of special lookup table defined in the
link
Type: String
Optional
Introduced in v6.1
TableRow Tag
Table Row
Represents the value of a row in a table. Each column value is a SimpleValue
bean
in the Columns property. The TableRow bean does not have any information
about the
rows position in the table. Column values do not have an explicit column
position specified
None.
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Properties
<TableRow
[<Columns>
<SimpleValue>*
</Columns>]
</TableRow>
Property Descriptions
Columns
Column Values
Contains the column values for the row. Column position is determined by the
order of SimpleValue beans in the list.
Optional
Sample values:
<SimpleValue Value="a data" />
Introduced in v6.1
TransferContext Tag
Transfer Context
Specifies the type of File Transfer.
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Properties
<TransferContext
Type = String >
</TransferContext>
Property Descriptions
Type
Transfer Type
Specifies the type of file transfer.
Type: String
Required
Sample values:
UploadLookTable
Introduced in v6.1
ValidPromptString Tag
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Properties
<ValidPromptString
(ValidString = String) >
</ValidPromptString>
Property Descriptions
ValidString
Valid String
The valid string to wrap as a business object
Type: String
Output only
Introduced in v6.1
WimADPFileOption Tag
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Properties
<WimADPFileOption
[BatchNumber = String]
[CompanyCode = String] >
</WimADPFileOption>
Property Descriptions
BatchNumber
Batch Number
Batch Number for ADP Output type.
Type: String
Optional
Introduced in v6.1
CompanyCode
Company Code
ADP company code
Type: String
Optional
Introduced in v6.1
WimAPIIntegration Tag
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Actions
"Execute"
"RetrieveRunStatus"
Parameters
None
Properties
<WimAPIIntegration
Name = String
Input = String >
<RunStatus>
<WimAPIIntegrationRunStatus>
</RunStatus>
</WimAPIIntegration>
Action Descriptions
Execute
Request route be submitted for execution.
RetrieveRunStatus
Request run execution information of a route execution.
Property Descriptions
Input
Execution input parameters
Input parameters passed to the route execution.
Type: String
Required
Introduced in v8.0
Name
Defined route name
Name (ID) of the route to be executed.
Type: String
Required Key
Introduced in v8.0
RunStatus
Run status
Status of route execution.
Required
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Properties
<WimAPIIntegrationRunStatus
(EndTime = DateTime)
(ErrorMessage = String)
(StartTime = DateTime)
(Status = String)
ExecutionId = Long
(RouteName = String) >
</WimAPIIntegrationRunStatus>
Property Descriptions
EndTime
Execution end time
Time stamp of when the route execution stopped.
Type: DateTime
Output only
Introduced in v8.0
ErrorMessage
Execution error message
Error messge in case of execution error.
Type: String
Output only
Introduced in v8.0
ExecutionId
Numeric identifier of the route execution.
Numeric identifier of the route execution.
Type: Long
Required Key
Introduced in v8.0
RouteName
Route name
Name (ID) of the route that status applies.
Type: String
Output only
Introduced in v8.0
StartTime
Execution start time
Time stamp of when the route execution started.
Type: DateTime
Output only
Introduced in v8.0
Status
Execution status
Status of Camel route execution.
Type: String
Output only
Introduced in v8.0
WimConnectionInfo Tag
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Actions
"Delete"
"Retrieve"
"RetrieveAll"
"RetrieveAllForUpdate"
"RetrieveAllNames"
"RetrieveByType"
"RetrieveForUpdate"
"Test"
"Update"
Parameters
None
Properties
<WimConnectionInfo
Password = String
EncryptedPassword = String
Name = String
[Type = String]
[DataSourceName = String]
[ServerName = String]
[UserName = String]
[Description = String]
[ParameterString = String]
[InstanceName = String]
[JdbcUrl = String]
[JdbcDriverClass = String]
[LocalizedName = String]
[TimeOut = Integer]
[PortNumber = Integer]
[UrlPrefix = String] >
</WimConnectionInfo>
Action Descriptions
Delete
Deletes a Connecton from the WFC database.
Introduced in v6.1
Retrieve
Name of the connection to be retrieved
RetrieveAll
Retrieve all connections in WFC database.
RetrieveAllForUpdate
For SDM compliance, this action retrieves all connections in the WFC database
and exposes all attributes that are writeable via XML requests.
Introduced in v6.1
RetrieveAllNames
Retrieve a list of names of all connections in WFC data base.
RetrieveByType
Returns all the ConnectionInfo objects of the type specified in the WFC System
that are available to the logged on user via default GDAP.
Introduced in v6.3
RetrieveForUpdate
Retrieves a Connection object and displays all the writeable attributes in the XML
response.
Introduced in v6.1
Test
Tests the connection without storing it in the DB and throws an exception if any of
the required fields are null.
Introduced in v6.1
Update
Supports adding or updating the connection identified by the required Name
attribute.
Property Descriptions
Password
Password
Password to DB
Type: String
Introduced in v6.3
EncryptedPassword
Password to database
The password associated with the UserName property that will be used to log onto
the database server.
Type: String
DataSourceName
Database Name or Oracle SID
The unique indetifier for the data source on the database server. For Oracle
connections, this would be the SID. For MS SQL Server, this is the database
name.
Type: String
Optional
Introduced in v6.1
Description
Description of connection
User entered description of connection.
Type: String
Optional
Sample values:
Connection to HR database.
Introduced in v6.1
InstanceName
Instance Name on the Server
WFC Instance Name on the Server
Type: String
Optional
JdbcDriverClass
Java class name of JDBC Driver
For custom connections, this is fully qaulified Java class name of the JDBC
Driver.
Type: String
Optional
Sample values:
com.mysql.jdbc.Driver
Introduced in v6.1
JdbcUrl
JDBC Connection URL
For custom type connections, the JDBC Connection URL must be entered
directly.
Type: String
Optional
Introduced in v6.1
LocalizedName
LocalizedName
The Localized name for the connections used internally by the system. This
property is not persisted in the DB.
Type: String
Optional
Introduced in v6.1
Name
Connection Name
Name of connection. All names are unique for connections in WFC.
Type: String
Required Key
Sample values:
TestConnection
Introduced in v6.1
ParameterString
Driver connection properties
For standard connection types, this should be a SEMI COLON separated list of
connection properties for the JDBC Driver.
Type: String
Optional
Sample values:
oracle.jdbc.ReadTimeout=5000;txnAutoCommit=true;
Introduced in v6.1
PortNumber
Network port number
Network port number that database server is listening on.
Type: Integer
Optional
Sample values:
1521
Introduced in v6.1
ServerName
Database server name or IP address
Network name or IP address of database server.
Type: String
Optional
Introduced in v6.1
TimeOut
Login time out in seconds.
The time duration in seconds that the application will wait when attempting to
login to the system described by the connection.
Type: Integer
Optional
Introduced in v6.1
Type
Connection Type
Describes the the data source the connection will provide access to.
Type: String
Optional
Sample values:
Oracle
Introduced in v6.1
UrlPrefix
Url Prefix to be used(http or https)
Url Prefix(http or https) to be used to construct a valid URL to access a WFC
server
Type: String
Optional
Introduced in v6.1; last changed in v6.1
UserName
Database user name
The user name of the account on the data base server.
Type: String
Optional
Introduced in v6.1
Required
Connection Options
Describes the data integration options that can be overridden for source and output
targets that are associated with a connection.
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Properties
<WimConnectionOption
ConnectionName = String >
</WimConnectionOption>
Property Descriptions
ConnectionName
Name of the connection
Property to specify the connection name
Type: String
Required
Introduced in v6.1
WimEmployeeInfoConnOption Tag
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Properties
<WimEmployeeInfoConnOption
[DailyRecords = Boolean]
[IgnoreSignOff = Boolean]
PayPeriod = String
[EndDate = Date]
[StartDate = Date]
[ActiveEmployeesOnly = Boolean] >
<ConnectionOption>
<WimConnectionOption>
</ConnectionOption>
<XmlApiConnectionOption>
<WimXmlApiConnectionOption>
</XmlApiConnectionOption>
</WimEmployeeInfoConnOption>
Property Descriptions
ActiveEmployeesOnly
Process Active Employees Only
Set to true if you need to process active employees only.
Type: Boolean
Optional
Introduced in v6.1
ConnectionOption
Connect Information
Specifies the connection information.
Required
Introduced in v6.1
DailyRecords
Create Daily Records
Ste to true if you need to create daily records.
Type: Boolean
Optional
Introduced in v6.1
EndDate
Pay Period End Date
Specifies the pay period end date.
Type: Date
Optional
Introduced in v6.1
IgnoreSignOff
Ignore SignOff
Set to true if you need to ignore signoff.
Type: Boolean
Optional
Introduced in v6.1
PayPeriod
Pay Period
Specifies the Pay Period
Type: String
Required
Introduced in v6.1
StartDate
Pay Period Start Date
Specifies the Pay Period Start Date
Type: Date
Optional
Introduced in v6.1
XmlApiConnectionOption
Xml Api connection Information
Specifies the XML API connection information for Workforce Timekeeper
source.
Type: WimXmlApiConnectionOption tag
Required
Introduced in v6.1
WimExecOption Tag
Execution Option
Allows the user to enter options for the execution of an Integration Manager
interface (WimInterface). These options are only in effect for the duration of the
WimInterface execution.
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Properties
<WimExecOption
[BatchNumber = String]
[CompanyCode = String]
[CreateDailyRecords = String]
[IgnoreSignOff = String]
[IncludeActiveEmployees = String]
[PayPeriod = String]
[PayPeriodEnd = String]
[PayPeriodStart = String]
[PromptOnRenamePrevOutFile = String] >
[<Variables>
<WimVariable>*
</Variables>]
</WimExecOption>
Property Descriptions
BatchNumber
Batch number
Batch number for ADP output Type
Type: String
Optional
Introduced in v6.1
CompanyCode
Company Code
Company Code for ADP output type
Type: String
Optional
Introduced in v6.1
CreateDailyRecords
Create Daily Records
Switch to indicate whether to create Daily Records
Type: String
Optional
Introduced in v6.1
IgnoreSignOff
Ignore Signoff
Flag to indicate Ignore Signoff.
Type: String
Optional
IncludeActiveEmployees
Include Active Employees
Flag to process only active employees.
Type: String
Optional
PayPeriod
Pay Period
Specifies the pay period to override.
Type: String
Optional
Introduced in v6.1
PayPeriodEnd
Pay Period End Date
Property to specify pay period end date. Used when the Pay period is Range.
Type: String
Optional
Introduced in v6.1
PayPeriodStart
Pay Period Start Date
Property to specify Pay Period Start date.
Type: String
Optional
Introduced in v6.1
PromptOnRenamePrevOutFile
PromptOnRenamePrevOutFile
Set to true if you wish to allow prompting for the file name to rename any
previous output file. If set to false, the runtime engine should overwrite the
previous output file.
Type: String
Optional
Introduced in v6.1
Variables
Variables
Variables to use when running an interface
Optional
Introduced in v6.3
WimFile Tag
File
A file being transferred by the Integration Manager.
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Properties
<WimFile
[ContentName = String]
Name = String
[Type = String] >
[<FileContents>
<TableRow>*
</FileContents>]
</WimFile>
Property Descriptions
ContentName
File Content
Identifies source of file content
Type: String
Optional
none
Sample values:
C:KRONOSINTERFACEDESIGNERKNXWFC_SQL.TBL"
Introduced in v6.1
FileContents
Table Contents
Contains the value of a table when the WimFile bean has a type of "LookTable"
Optional
Sample values:
<TableRow>
<Columns>
<SimpleValue Value="Column 1 Value" />
<SimpleValue Value="Column 2 value" />
</Columns>
</TableRow>
Introduced in v6.1
Name
File Name
The name that uniquely identifies the file.
Type: String
Required Key
Must be specified.
Introduced in v6.1
Type
File Type
Identifies the type of the file
Type: String
Optional
Must be a valid type. Valid types are: "LookTable". Must be specified for Upload
actions.
Sample values:
LookTable
Introduced in v6.1
WimFileOption Tag
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Properties
<WimFileOption
[AppendRecords = Boolean]
FileName = String
MappedFolderName = String
[RenamePreviousOutputFile = Boolean] >
</WimFileOption>
Property Descriptions
AppendRecords
Append Records
Set to true if you neeed to append records if the file already exists.
Type: Boolean
Optional
FileName
File Name
Specifies the output/input file name.
Type: String
Required
Introduced in v6.1
MappedFolderName
Name of the Mapped Folder
Name of the Mapped Folder
Type: String
Required
Introduced in v6.1
RenamePreviousOutputFile
Rename Previous Output File
Set to true if you need to rename the output file of the previous run.
Type: Boolean
Optional
File Service
Performs actions on WIM files.
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Actions
"Download"
"Upload"
Parameters
None
Properties
<WimFileService
[<Context>
<DownloadContext>
</Context>]
[<ServiceType>
<WimFileTransfer>
</ServiceType>]
</WimFileService>
Action Descriptions
Download
Downloads files or run logs
A valid DownloadContext must be specified
Upload
Uploads files to the WIM service
Introduced in v6.1
Property Descriptions
Context
Context
Specifies the context for a download action
Optional
Sample values:
<DownloadContext Type="DownloadLookTable">
<File> <WimFile Name="C:KRONOSINTERFACEDESIGNERKNXWFC_SQL.TBL" </
File>
</DownloadContext>
Default value: none
Introduced in v6.1
ServiceType
Service Type
Specifies the files being uploaded.
Optional
Introduced in v6.1
WimFileTransfer Tag
File Transfer
Specifies the files transfer by an upload or download action.
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Properties
<WimFileTransfer
[<Context>
<TransferContext>
</Context>]
<FileList>
<WimFile>*
</FileList>
</WimFileTransfer>
Property Descriptions
Context
Context
Specifies the type of file transfer.
bean.
Sample values:
<TransferContext Type="UploadLookTable" />
Introduced in v6.1
FileList
File List
The files being uploaded or downloaded
Required
Sample values:
<WimFile Name="C:KRONOSINTERFACEDESIGNERKNXWFC_SQL.TBL"
Type="LookTable"
ContentName="C:KRONOSINTERFACEDESIGNERKNXWFC_SQL.TBL">
<FileContents>
<TableRow>
<Columns>
<SimpleValue Value="a=b=c<=d," />
<SimpleValue Value="b,x'yv" />
</Columns>
</TableRow>
<TableRow>
<Columns>
<SimpleValue Value=""ab" ,"c&d',"
/>
<SimpleValue Value=""ef"" />
</Columns>
</TableRow>
</FileContents>
</WimFile>
Introduced in v6.1
WimFolderMap Tag
Mapped Folders
Business object to access mapped folders.
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Actions
"AddOnly"
"Delete"
"Retrieve"
"RetrieveAll"
"RetrieveAllNames"
"RetrieveForUpdate"
"Test"
"Update"
Parameters
None
Properties
<WimFolderMap
FolderAlias = String
[FolderPath = String] >
</WimFolderMap>
Action Descriptions
AddOnly
Adds an entry to the KNXFOLDERMAP table, linking an alias to a path
Delete
Deletes an entry from the KNXFOLDERMAP table
Retrieve
Returns the specified folder map object
RetrieveAll
Returns a list of all folder map objects
RetrieveAllNames
Returns a list of existing folder map names
Introduced in v6.1
RetrieveForUpdate
Returns the specified folder map object
Test
Test FolderAlias to the mapped FolderPath
Introduced in v7.0
Update
Updates the path of an existing folder map entry, or adds a new entry if the
supplied folder alias does not exist
Return Value Type: None
Property Descriptions
FolderAlias
Folder Alias
The alias to a folder map
Type: String
Required Key
FolderPath
Folder Path
Path on filesystem
Type: String
Optional
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Properties
<WimInputPrompt
<PromptDateFormatValidation>
<DateFormatValidation>
</PromptDateFormatValidation>
<PromptLookupTableValidation>
<LookupTableValidation>
</PromptLookupTableValidation>
<PromptSpecialLookupTableValidation>
<SpecialLookupTableValidation>
</PromptSpecialLookupTableValidation>
<PromptNoValidation>
<NoValidation>
</PromptNoValidation>
AssocLinkName = String
AssocStepNumber = Integer
Response = String
Request = String
VariableName = String >
</WimInputPrompt>
Property Descriptions
PromptDateFormatValidation
Prompt with Date Format Validation
Prompt with Date Format Validation
PromptLookupTableValidation
Prompt with Lookup Table Validation
Prompt with Lookup Table Validation
PromptSpecialLookupTableValidation
Prompt with Special Lookup Table Validation
Prompt with Special Lookup Table Validation
PromptNoValidation
Prompt with no validation
Validation is not required
Type: String
Required
AssocStepNumber
Associated Step Number
The priority number of the step the prompt is associated with.
Type: Integer
Required
Introduced in v6.1
Request
Requested information
The name or title of the prompt. This prompt can be specified in the Prompt field
of the Validate User Input dialog box in Interface Designer when you configure a
variable user prompt in a link.
Type: String
Required
Response
Information submitted
Information submitted to the prompt's request.
Type: String
Required
VariableName
Variable for prompt
This variable is used in a configuration where one interface calls another interface
that has links with prompts. In that configuration, the value for VariableName is
the name of the prompt variable that is used by the link that is being called.
Type: String
Required
Required
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Actions
"CancelRun"
"Delete"
"Execute"
"Retrieve"
"RetrieveAll"
"RetrievePrompts"
"RetrieveRunStatus"
"Update"
Parameters
Retrieve
[LoadAssocLinks = Boolean]
[LoadAssocLookupTables = Boolean]
[LoadLightLinks = Boolean]
[LoadRunOptions = Boolean]
Properties
<WimInterface
(Description = String)
Name = String >
[<AssocLinks>
<WimLink>*
</AssocLinks>]
[<AssocLookupTables>
<WimLookupTable>*
</AssocLookupTables>]
[<StepOverrides>
<WimStepOverride>*
</StepOverrides>]
(<UnansweredPrompts>
<WimInputPrompt>*
</UnansweredPrompts>)
[<AnsweredPrompts>
<WimInputPrompt>*
</AnsweredPrompts>]
<RunStatus>
<WimInterfaceRunStatus>
</RunStatus>
[<ExecuteOption>
<WimExecOption>
</ExecuteOption>]
</WimInterface>
Action Descriptions
CancelRun
Request that a Interface run execution be terminated before normal completion.
Introduced in v6.1
Delete
Delete the Interface specified by the Name attribute from the available list of
Interfaces in the XML user's Generic Data Access Profile
Introduced in v6.1
Execute
Request that the named interface be submitted for execution.
Introduced in v6.1
Retrieve
Retrieve the Interface specified by the Name attribute
RetrieveAll
List of all available Interface in the XML user's Generic Data Access Profile
Introduced in v6.1
RetrievePrompts
Retrieve prompt that must be answered in order to execute the WimInterface
RetrieveRunStatus
Request run execution information on a interface execution.
Introduced in v6.1
Update
Request that the named interface be updated with the provided Step Overrides.
Introduced in v6.1
Property Descriptions
AnsweredPrompts
Prompts providing answers
List of prompts that have responses to their requests.
Optional
Introduced in v6.1
AssocLinks
Associated links with an interface
This property represents the links associated with the given wim interface.
Optional
Introduced in v6.3
AssocLookupTables
Associated lookup tables with an interface
Indicator for defining if the associated lookup tables to be retrieved.
Optional
Introduced in v6.3
Description
Description
Additional information that helps identifies Interface
Type: String
Output only
Introduced in v6.1
ExecuteOption
Runtime options for an Interface
This tag provides a means to override interface options at runtime without
updating the interface.
Type: WimExecOption tag
Optional
Introduced in v6.1
Name
Unique name of Interface
The unique name for the Interface deployed to the WIM application by the
Interface Designer
Type: String
Required Key
Introduced in v6.1
RunStatus
Run Status
Status of an interface run
Required
Introduced in v8.0
StepOverrides
Overrides for steps in an interface
A list of overrides for the steps in an interface.
Optional
Output only
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Properties
<WimInterfaceRunStatus
(CurrentStepNumber = Integer)
(InterfaceName = String)
(CurrentStepName = String)
JobId = Integer
(StartTime = DateTime)
(EndTime = DateTime)
(TotalRecords = Integer)
(RecordsProcessed = Integer) >
(<Status>
<RunStatusType>
</Status>)
</WimInterfaceRunStatus>
Property Descriptions
CurrentStepName
Name of Link or Command
The name of the Link or Command in the list of Steps being processed.
Type: String
Output only
Introduced in v6.1
CurrentStepNumber
Indicates priority order of step
Numeric value that indicates the priority order that the step currently being
processed was set at by the user.
Type: Integer
Output only
Introduced in v6.1
EndTime
Time stamp of when execution stopped.
The date and time the execution of the interface stopped.
Type: DateTime
Output only
Introduced in v6.1
InterfaceName
Name of Interface that status applies.
The name of the WIM Interface that the status information applies to.
Type: String
Output only
Type: Integer
Required Key
Introduced in v6.1
RecordsProcessed
Total records currently processed by interface
Indicates the total number of records processed by the interface that is currently
running on the data integration server.
Type: Integer
Output only
StartTime
Time stamp of when execution started.
The start date and time the execution of the Interface begain.
Type: DateTime
Output only
Introduced in v6.1
Status
Indicates running state
Indicates the running state of execution.
Type: RunStatusType tag
Output only
Introduced in v6.1
TotalRecords
Total number of records that will be processed
Total number of records that will be processed when the Interface excution
completes.
Type: Integer
Output only
Introduced in v6.1
WimLink Tag
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Actions
"Retrieve"
"RetrieveAll"
Parameters
Retrieve
[LoadAssocInterfaces = Boolean]
[LoadAssocLookupTables = Boolean]
[LoadLightLinks = Boolean]
Properties
<WimLink
Name = String >
</WimLink>
Action Descriptions
Retrieve
Retrieve a Integration Manager link with the name provided.
Introduced in v6.1
Action Parameters
RetrieveAll
Retrieve a list of all Links in the system.
Introduced in v6.1
Property Descriptions
Name
Unique Name of Link
Unique name for a WimLink.
Type: String
Required Key
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Actions
"Retrieve"
"RetrieveAll"
Parameters
Retrieve
[LoadAssocInterfaces = Boolean]
[LoadAssocLinks = Boolean]
[LoadLightLinks = Boolean]
Properties
<WimLookupTable
Name = String >
</WimLookupTable>
Action Descriptions
Retrieve
Retrieves the lookup table information for the given name
Introduced in v6.3
Action Parameters
RetrieveAll
Retrieves all the lookup tables.
Introduced in v6.3
Property Descriptions
Name
Lookup Table Name
Name of the lookup table to be lookedup.
Type: String
Required Key
Introduced in v6.3
WimLookupTableOption Tag
Syntax
None
WimSourceOption Tag
Syntax
None
WimStepOverride Tag
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Properties
<WimStepOverride
[EnabledState = Boolean]
StepName = String
[OverridesLink = Boolean]
StepNumber = Integer
StepType = String >
[<Output>
<WimADPFileOption> | <WimConnectionOption> |
<WimEmployeeInfoConnOption> | <WimFileOption> |
<WimLookupTableOption> | <WimSourceOption> |
<WimXmlApiConnectionOption>
</Output>]
[<Source>
<WimADPFileOption> | <WimConnectionOption> |
<WimEmployeeInfoConnOption> | <WimFileOption> |
<WimLookupTableOption> | <WimSourceOption> |
<WimXmlApiConnectionOption>
</Source>]
</WimStepOverride>
Property Descriptions
EnabledState
Execute Link or Command?
Indicates whether or not Link or Command should be executed.
Type: Boolean
Optional
Introduced in v6.1
Output
Output type options
Overrides the Output type options for the Step Override.
Optional
Introduced in v6.1
OverridesLink
Overrides link
Set to true to enable override link options with step overrides in a data integration
interface.
Type: Boolean
Optional
Optional
Introduced in v6.1
StepName
Name of the Step
Name of the Step
Type: String
Required
Introduced in v6.1
StepNumber
Step Number
The number for the step in an interface.
Type: Integer
Required
Introduced in v6.1
StepType
Type of the Step
Property to specify whether the Step is a Link or Command.
Type: String
Required
Introduced in v6.1
WimVariable Tag
Variable Assignment
The name and value of a variable used by Integration Manager.
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Properties
<WimVariable
[ActionType = String]
[Comment = String]
[EnabledState = Boolean]
Name = String
[Value = String] >
</WimVariable>
Property Descriptions
ActionType
Action Type
String that describes the action that should be used to obtain the variable's value.
Type: String
Optional
Introduced in v6.1
Comment
Comments for Variable
Comments for Variable
Type: String
Optional
Introduced in v6.1
EnabledState
Enabled State
Property that specifies whether to use this variable or not.
Type: Boolean
Optional
Introduced in v6.1
Name
Variable Name
Name of the Variable
Type: String
Required
Introduced in v6.1
Value
Variable Value
Value of the variable.
Type: String
Optional
Introduced in v6.1
WimVariableSet Tag
Link Variables
Link variables for Integration Manager.
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Properties
<WimVariableSet
<Values>
<NameValuePair>*
</Values>
</WimVariableSet>
Property Descriptions
Values
Values
validate
Required
validate
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Properties
<WimXmlApiConnectionOption
[XmlTABatchName = String]
ConnectionName = String
[UseXMLTa = Boolean] >
</WimXmlApiConnectionOption>
Property Descriptions
ConnectionName
Connection Name
The name of the XML API connection.
Type: String
Required
Type: Boolean
Optional
XmlTABatchName
Batch Name for Transaction Assistant
The batch name for Transaction Assistant.
Type: String
Optional
XML Log
XML Log for one Data Integration Interface Job
Syntax
Request
<Request Action = Actions
Parameters >
Properties
</Request>
Actions
"RetrieveXmlLog"
Parameters
None
Properties
<WimXmlLog
Id = Long
(XmlLog = String) >
</WimXmlLog>
Action Descriptions
RetrieveXmlLog
Retrieves the xml log from the KNXRUNHISTORY table for the data integration
job associated with the Id property
Property Descriptions
Id
Id
Job Id for data integratin interface in KNXRUNHISTORY table
Type: Long
Required
Introduced in v6.2
XmlLog
XML Log
The xml log generated from a data integration run of an xml api import or export
Type: String
Output only
None
Introduced in v6.2
Chapter 3
Import XML Transactions
This section describes the XML APIs that are used for import operations. Some
components might not include any import XML transactions.
It does not include non-import types of actions, such as Load, or non-import data
types for properties, such as OutputOnly. Import transactions are grouped
together, according to the type of import; for example, all Accrual transactions are
grouped together.
When importing data, review the following considerations:
• The username and password that are used in the Logon request to import data
is the user whose access rights are checked during the import. A unique user
name, Import, is available for the specific purpose of importing data. When
the Import user name is associated with the import, the correct access rights
are set. In addition, using the Import user name will likely improve
performance because security privilege checks that are associated with other
users are bypassed. See the import section for more information.
• When you import data, be sure to take the sequence of imports into
consideration. Some data must be imported before other data is imported. For
example, if you import punch data for a person who has not been added to the
database yet, the punch import will fail. See the import user’s guide for more
information.
• There are two ways to refer to an XML tag or property: a non-technical name,
or its descriptive name; and a technical name, or its name as it is used in XML
syntax. In this document, the non-technical name is shown first. However,
examples use technical names.
3435
Chapter 3 Import XML Transactions
2
Transactions
4
Transactions
6
Transactions
8
Transactions
No Validation
The following actions are available for the No Validation transactions:
• Validate
File Service
The following actions are available for the File Service transactions:
10
Transactions
XML Log
The following action is available for the XML Log transactions:
12
Chapter 4
Export XML Transactions
This section describes the XML APIs that are used for export operations. Some
components might not include any export XML transactions.
It does not include non-export types of actions, such as Update, or non-export data
types for properties. Export transactions are grouped together, according to the
type of export; for example, all Accrual transactions are grouped together.
When exporting data, review the following considerations:
• The username and password that are used in the Logon request to export data
is the user whose access rights are checked during the export. A unique user
name, Import, is available for the specific purpose of importing and
exporting data. When the Import user name is associated with the export,
the correct access rights are set. In addition, using the Import user name will
likely improve performance because security privilege checks that are
associated with other users are bypassed. See the import section for more
information.
• There are two ways to refer to an XML tag or property: a non-technical name,
or its descriptive name; and a technical name, or its name as it is used in XML
syntax. In this document, the non-technical name is shown first. However,
examples use technical names.
3927
Chapter 4 Export XML Transactions
Mapped Folders
The following actions are available for the Mapped Folders transactions:
• RetrieveAllNames
• Retrieve
• RetrieveForUpdate
• RetrieveAll
2
Transactions
4
Transactions
6
Transactions
8
Transactions
No Validation
The following actions are available for the No Validation transactions:
• GetListOfValidEntries
File Service
The following actions are available for the File Service transactions:
• Download
• Upload
10
Transactions
XML Log
The following action is available for the XML Log transactions:
• RetrieveXmlLog
12