API - Relatório - Produtividade de Operadores

Para poder utilizar a API do Evolux, é necessário primeiro Gerar um Token.

Report URL/callcenter/report/agents_performance
API URL:/api/v1/report/agents_performance


Atualmente, a maneira mais fácil de usar essa API é através do relatório original. Acessar a Report URL pela interface Web, escolher os filtros desejados e copiar os parâmetros GET que o relatório preenche na URL ao ser gerado. 

Acesso via WEB do Relatório (Report URL)

https://example.evolux.net.br/callcenter/report/agents_performance?start_date=02%2F02%2F2017&end_date=02%2F02%2F2017&queue_id=183&generate_report=true&export_format=csv

Parâmetros GET da URL:

?start_date=02%2F02%2F2017&end_date=02%2F02%2F2017&queue_id=183&generate_report=true&export_format=csv

Acesso via API do Relatório (API URL)

curl 'https://example.evolux.net.br/api/v1/report/agents_performance?start_date=&end_date=&queue_id=183&generate_report=true&export_format=csv&token=205e281e-9620-4f58-9001-bb40fe9989e2'


Para usar a API, é necessário incluir também o parâmetro Token na requisição.

Retorno:

{
   "data" : [
      {
         "total_out_not_completed_calls" : 0,
         "idleness" : "00:00:00",
         "total_in_duration" : "00:00:00",
         "total_campaign_duration" : "00:00:00",
         "total_out_completed_duration" : "00:00:00",
         "percentage_occupied" : "0.00%",
         "attempts" : 0,
         "total_in_calls" : 0,
         "total_out_completed_calls" : 0,
         "disconnection_rate" : "0.0%",
         "att" : "00:00:00",
         "productive_pause" : "00:00:00",
         "pause_total" : "00:00:00",
         "logon" : "00:00:00",
         "name" : "Bruno Levy",
         "total_out_completed_ringing" : "00:00:00",
         "out_completed_att" : "00:00:00",
         "total_campaign_calls" : 0,
         "id" : 66,
         "unproductive_pause" : "00:00:00",
         "campaign_att" : "00:00:00",
         "total_out_not_completed_duration" : "00:00:00",
         "login" : "bruno.levy"
      },
      {
         "login" : "rebeca.maia",
         "total_out_not_completed_duration" : "00:00:00",
         "campaign_att" : "00:00:00",
         "unproductive_pause" : "00:00:00",
         "total_campaign_calls" : 0,
         "id" : 56,
         "total_out_completed_ringing" : "00:00:00",
         "name" : "Rebeca Maia",
         "out_completed_att" : "00:00:35",
         "logon" : "07:42:58",
         "pause_total" : "00:00:00",
         "productive_pause" : "00:00:00",
         "att" : "00:00:00",
         "total_out_completed_calls" : 1,
         "disconnection_rate" : "0.0%",
         "total_out_completed_duration" : "00:00:35",
         "total_in_calls" : 0,
         "percentage_occupied" : "0.13%",
         "attempts" : 0,
         "idleness" : "07:42:23",
         "total_out_not_completed_calls" : 0,
         "total_in_duration" : "00:00:00",
         "total_campaign_duration" : "00:00:00"
      },
      {
         "percentage_occupied" : "0.00%",
         "attempts" : 0,
         "total_in_calls" : 0,
         "total_out_completed_duration" : "00:00:00",
         "total_campaign_duration" : "00:00:00",
         "total_in_duration" : "00:00:00",
         "total_out_not_completed_calls" : 0,
         "idleness" : "00:00:00",
         "att" : "00:00:00",
         "disconnection_rate" : "0.0%",
         "total_out_completed_calls" : 0,
         "pause_total" : "00:00:00",
         "productive_pause" : "00:00:00",
         "logon" : "00:00:00",
         "id" : 29,
         "total_campaign_calls" : 0,
         "out_completed_att" : "00:00:00",
         "name" : "Jo�o Paulo",
         "total_out_completed_ringing" : "00:00:00",
         "unproductive_pause" : "00:00:00",
         "login" : "joaopaulo",
         "total_out_not_completed_duration" : "00:00:00",
         "campaign_att" : "00:00:00"
      },
      {
         "pause_total" : "00:21:31",
         "productive_pause" : "00:21:31",
         "logon" : "01:26:03",
         "total_out_completed_duration" : "00:00:14",
         "percentage_occupied" : "25.93%",
         "attempts" : 1,
         "total_in_calls" : 2,
         "idleness" : "01:03:44",
         "total_in_duration" : "00:00:32",
         "total_out_not_completed_calls" : 0,
         "total_campaign_duration" : "00:00:00",
         "att" : "00:00:16",
         "disconnection_rate" : "50.0%",
         "total_out_completed_calls" : 1,
         "unproductive_pause" : "00:00:00",
         "login" : "hiago.miguel",
         "total_out_not_completed_duration" : "00:00:00",
         "campaign_att" : "00:00:00",
         "total_campaign_calls" : 0,
         "id" : 79,
         "name" : "hiago miguel",
         "total_out_completed_ringing" : "00:00:02",
         "out_completed_att" : "00:00:14"
      },
      {
         "total_out_completed_ringing" : "00:00:00",
         "name" : "Caio Cesar",
         "out_completed_att" : "00:00:00",
         "total_campaign_calls" : 0,
         "id" : 77,
         "unproductive_pause" : "00:02:56",
         "campaign_att" : "00:00:00",
         "total_out_not_completed_duration" : "00:00:00",
         "login" : "caio.cesar",
         "idleness" : "01:05:44",
         "total_in_duration" : "00:01:14",
         "total_out_not_completed_calls" : 0,
         "total_campaign_duration" : "00:00:00",
         "total_out_completed_duration" : "00:00:00",
         "total_in_calls" : 3,
         "percentage_occupied" : "5.15%",
         "attempts" : 0,
         "disconnection_rate" : "0.0%",
         "total_out_completed_calls" : 0,
         "att" : "00:00:24",
         "productive_pause" : "00:02:20",
         "pause_total" : "00:05:16",
         "logon" : "01:09:18"
      },
      {
         "att" : "00:00:15",
         "disconnection_rate" : "100.0%",
         "total_out_completed_calls" : 6,
         "total_out_completed_duration" : "00:15:02",
         "attempts" : 0,
         "percentage_occupied" : "12.12%",
         "total_in_calls" : 1,
         "total_out_not_completed_calls" : 4,
         "idleness" : "01:55:09",
         "total_in_duration" : "00:00:15",
         "total_campaign_duration" : "00:00:00",
         "logon" : "02:11:02",
         "pause_total" : "00:00:00",
         "productive_pause" : "00:00:00",
         "total_campaign_calls" : 0,
         "id" : 73,
         "total_out_completed_ringing" : "00:00:18",
         "name" : "Artur Oliveira",
         "out_completed_att" : "00:02:30",
         "login" : "artur.oliveira",
         "total_out_not_completed_duration" : "00:00:19",
         "campaign_att" : "00:00:00",
         "unproductive_pause" : "00:00:00"
      },
      {
         "total_out_not_completed_calls" : 0,
         "idleness" : "00:51:25",
         "total_in_duration" : "00:00:00",
         "total_campaign_duration" : "00:00:00",
         "total_out_completed_duration" : "00:00:00",
         "percentage_occupied" : "0.00%",
         "total_in_calls" : 0,
         "attempts" : 0,
         "total_out_completed_calls" : 0,
         "disconnection_rate" : "0.0%",
         "att" : "00:00:00",
         "productive_pause" : "00:00:00",
         "pause_total" : "00:00:00",
         "logon" : "00:51:25",
         "name" : "Aline Ara�jo",
         "total_out_completed_ringing" : "00:00:00",
         "out_completed_att" : "00:00:00",
         "total_campaign_calls" : 0,
         "id" : 36,
         "unproductive_pause" : "00:00:00",
         "total_out_not_completed_duration" : "00:00:00",
         "campaign_att" : "00:00:00",
         "login" : "aline.araujo"
      }
   ],
   "meta" : {
      "status" : 200,
      "message" : "OK"
   },
   "params" : {
      "queue_id" : "183",
      "export_format" : "csv",
      "end_date" : "02/02/2017",
      "start_date" : "02/02/2017"
   }
}