Genesys CTI User Forum

Genesys CTI User Forum => Genesys-related Development => Topic started by: satya on February 12, 2016, 08:41:01 PM

Title: How to get the time off data for Agents from Adherence / Schedule?
Post by: satya on February 12, 2016, 08:41:01 PM
Today we use the below API to get the Agent Punch in and Punch out. This operation returns agentId, Punch In and Punch Out, Site Id, State Id, Reasons information. Is there a way to identify [b] time off / AWOP (Absence with out pay) [/b] information from below mentioned API? If not, What is the alternate way to get the time-off / AWOP  information for agents in specific day?

[b]API Name: [/b]
AdherenceService.getAgentStateResults(RequestID);
Title: Re: How to get the time off data for Agents from Adherence / Schedule?
Post by: msh on February 18, 2016, 09:16:18 AM
I assume its the WFM API you are using.

The best way to do this if you use a recent WFM version is to use the WFM ETL database to extract it. It can be done with SQL.

If you want to use the API there is a example of how to do this in the schstate.java file in the examples folder.