Author Topic: JSON Reports: Setting min. call duration  (Read 1069 times)

Cleverton

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
JSON Reports: Setting min. call duration
« on: February 01, 2016, 20:24:03 »
Hi,

Is there a way to filter the results of the JSON Report API to consider only calls over 30s on the query?

For example, if I send the following command to the server using QmStats:

Code: [Select]
--user [user]:[pass] -i -H "Content-Type: application/json" -X
             GET "http://[serverURL:port]/queuemetrics/QmStats/jsonStatsApi.do?
             queues=q1
             &from=2015-12-01.00:00:00
             &to=2015-12-31.23:59:59
             &block=OkDO.RiassAllCalls"

The results consider all calls during the specified time period. Is there another parameter that can be used to consider only the calls over a certain duration on the result?

mirkox

  • Loway
  • Full Member
  • *
  • Posts: 218
  • Karma: 3
    • View Profile
Re: JSON Reports: Setting min. call duration
« Reply #1 on: February 02, 2016, 11:23:51 »
No I'm sorry, a the moment you should filter them after you get them from QM