Professional Documents
Culture Documents
6
WFM I nt egr at i on API
Devel oper s Gui de
The information contained herein is proprietary and confidential and cannot be disclosed or duplicated
without the prior written consent of Genesys Telecommunications Laboratories, Inc.
Copyright 20052008 Genesys Telecommunications Laboratories, Inc. All rights reserved.
About Genesys
Genesys Telecommunications Laboratories, Inc., a subsidiary of Alcatel-Lucent, is 100% focused on software for call
centers. Genesys recognizes that better interactions drive better business and build company reputations. Customer
service solutions from Genesys deliver on this promise for Global 2000 enterprises, government organizations, and
telecommunications service providers across 80 countries, directing more than 100 million customer interactions every
day. Sophisticated routing and reporting across voice, e-mail, and Web channels ensure that customers are quickly
connected to the best available resourcethe first time. Genesys offers solutions for customer service, help desks,
order desks, collections, outbound telesales and service, and workforce management. Visit www. genesysl ab. comfor
more information.
Each product has its own documentation for online viewing at the Genesys Technical Support website or on the
Documentation Library DVD, which is available from Genesys upon request. For more information, contact your sales
representative.
Not i ce
Although reasonable effort is made to ensure that the information in this document is complete and accurate at the
time of release, Genesys Telecommunications Laboratories, Inc., cannot assume responsibility for any existing errors.
Changes and/or corrections to the information contained in this document may be incorporated in future versions.
Your Responsi bi l i t y f or Your Syst em s Secur i t y
You are responsible for the security of your system. Product administration to prevent unauthorized use is your
responsibility. Your system administrator should read all documents provided with this product to fully understand the
features available that reduce your risk of incurring charges for unlicensed use of Genesys products.
Tr ademar ks
Genesys, the Genesys logo, and T-Server are registered trademarks of Genesys Telecommunications Laboratories,
Inc. All other trademarks and trade names referred to in this document are the property of other companies. The
Crystal monospace font is used by permission of Software Renovation Corporation, www. Sof t wareRenovat i on. com.
Techni cal Suppor t f r om VARs
If you have purchased support from a value-added reseller (VAR), please contact the VAR for technical support.
Techni cal Suppor t f r om Genesys
If you have purchased support directly from Genesys, please contact Genesys Technical Support at the following
regional numbers:
Prior to contacting technical support, please refer to the Genesys Technical Support Guide for complete
contact information and procedures.
Or der i ng and Li censi ng Inf or mat i on
Complete information on ordering and licensing Genesys products can be found in the Genesys 7 Licensing Guide.
Rel eased by
Genesys Telecommunications Laboratories, Inc. www. genesysl ab. com
Document Version: 76wm_dev_02-2008_v7.6.001.00
Region Telephone E-Mail
North and Latin America +888-369-5555 or +506-674-6767 support @genesysl ab. com
Europe, Middle East, and Africa +44-(0)-118-974-7002 support @genesysl ab. co. uk
Asia Pacific +61-7-3368-6868 support @genesysl ab. com. au
J apan +81-3-6361-8950 support @genesysl ab. co. j p
WFM Integration APIDevelopers Guide 3
Tabl e of Cont ent s
Pr ef ac e ................................................................................................................... 7
Intended Audience..................................................................................... 7
Usage Guidelines...................................................................................... 8
Chapter Summaries................................................................................... 9
Document Conventions........................................................................... 10
Related Resources.................................................................................. 12
Making Comments on This Document .................................................... 13
Chapt er 1 About the WFM Integration API........................................................... 15
Features Overview.................................................................................. 15
Components ............................................................................................ 16
The Discovery Interface...................................................................... 17
Platform Requirements............................................................................ 17
Development Platform........................................................................ 17
Production Runtime Platform.............................................................. 18
Architecture............................................................................................. 18
Service-Oriented Architecture............................................................. 18
Asynchronous Requests.......................................................................... 19
Using the Code Samples......................................................................... 19
Using the WFM Integration API Reference............................................. 21
Chapt er 2 Locator, Session, and Util ................................................................... 23
Prerequisites............................................................................................ 23
Locator Essentials................................................................................... 24
Session Essentials .................................................................................. 25
Session Service Code Examples........................................................ 26
Util Essentials.......................................................................................... 28
Chapt er 3 Configuration ........................................................................................ 29
Configuration Prerequisites..................................................................... 29
Configuration Essentials.......................................................................... 29
Retrieving Configuration Data ................................................................. 30
Table of Contents
4 Workforce Management 7.6
Setting Time Zones.................................................................................. 31
Updating Configuration Objects............................................................... 31
Chapt er 4 Calendar ................................................................................................ 33
Calendar Prerequisites............................................................................ 33
Calendar Essentials................................................................................. 33
Time Off Balances and Carry-Over ......................................................... 34
Working with Calendar Items................................................................... 35
Chapt er 5 Forecast................................................................................................. 37
Forecast Prerequisites............................................................................. 37
Forecast Essentials ................................................................................. 37
Retrieving Forecast Data......................................................................... 38
Chapt er 6 Schedule................................................................................................ 41
Schedule Prerequisites............................................................................ 41
Schedule Essentials ................................................................................ 41
Agent Scheduled States ..................................................................... 42
Special Scheduled State Types .......................................................... 43
Scheduled State Information............................................................... 44
Retrieving Agent-Day Schedule Data...................................................... 47
Inserting Schedule Items......................................................................... 49
Retrieving Totals...................................................................................... 49
Chapt er 7 Schedule Trading ................................................................................. 51
Schedule Trading Prerequisites............................................................... 51
Schedule Trading Essentials................................................................... 52
Trade Proposals ...................................................................................... 55
Trade Responses .................................................................................... 56
Trade Record........................................................................................... 58
Agent TradingProposals....................................................................... 58
Agent TradingResponses..................................................................... 60
TradingSupervisor Actions................................................................... 61
Auto-Approval.......................................................................................... 62
Trading Rules .......................................................................................... 62
Auto-Decline Conditions.......................................................................... 63
Manual Approval Conditions.................................................................... 63
Auto-Approval Conditions........................................................................ 63
Auto-Cancel ........................................................................................ 63
Trade Queries.......................................................................................... 64
WFM Integration APIDevelopers Guide 5
Table of Contents
Querying Trade Proposals.................................................................. 64
Querying Trade Responses................................................................ 65
Querying Trades ................................................................................. 66
Chapt er 8 Performance.......................................................................................... 69
Performance Prerequisites...................................................................... 69
Performance Essentials........................................................................... 69
Retrieving Performance Data.................................................................. 72
Chapt er 9 Adherence............................................................................................. 73
Adherence Prerequisites ......................................................................... 73
Adherence Essentials.............................................................................. 73
Retrieving Agent State and Adherence Event Data................................. 77
I ndex ................................................................................................................. 79
Table of Contents
6 Workforce Management 7.6
WFM Integration API 7
Pr ef ac e
Welcome to the Workforce Management 7.6 WFM Integration API
Developers Guide. This guide provides a high-level overview of Workforce
Management (WFM) 7.5 WFM Integration API (application programming
interface) features and functions, together with software-architecture
information and development-planning materials. It presents an overview of
the APIs architecture and communication protocols, the setup procedures for
client development, and the products API capabilities.
This document is valid only for the 7.5 release of this product.
Not e: For versions of this document created for other releases of this product,
please visit the Genesys Technical Support website, or request the
Documentation Library CD, which you can order by e-mail from
Genesys Order Management at orderman@genesysl ab. com.
This preface provides an overview of this document, identifies the primary
audience, introduces document conventions, and lists related reference
information:
Components, page16
Architecture, page18
The host name and port number for your WFM Server.
The object IDs used in your WFM database (such as site IDs, agent
IDs, and so on).
The host name and port number for your WFM Server.
The object IDs used in your WFM database (such as site IDs, agent
IDs, and so on).
Prerequisites, page23
Auto-Approval, page62