Author Topic: How to get the time off data for Agents from Adherence / Schedule?  (Read 2303 times)

Offline satya

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
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);

Offline msh

  • Newbie
  • *
  • Posts: 30
  • Karma: 1
Re: How to get the time off data for Agents from Adherence / Schedule?
« Reply #1 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.