Feature #1385

Dashboard API

Added by Demian Biscocho over 2 years ago. Updated over 2 years ago.

Status:Feedback Start date:07/27/2014
Priority:High Due date:07/31/2014
Assignee:Jerico James Milo % Done:

100%

Category:- Spent time: -
Target version:1.0

Description

Create API for the dashboard entries.

Widgets:

Today's Status
Agents & Leads Status
Agents & Phones

History

Updated by Jerico James Milo over 2 years ago

  • % Done changed from 0 to 80

Demian,

Below are the API's done and for testing from the dashboard, the only remaining widget is the Agents/Phones most likely 2 functions. From the naming convention itself, you can determine its function. For example: getAgentsOnline.php(this will get the total agents online) just remove the word get to determine its function.
Server: web01
Location of the API: /var/www/jameshv/goAPI/

getAgentsOnline.php
getLeadsinHopper.php
getTotalAgentsWaitCalls.php
getTotalInboundSales.php
getliveinbound.php
getDroppedPercentage.php
getOutSalesPerHour.php
getTotalAnsweredCalls.php
getTotalOutboundSales.php
getliveoutbound.php
getINSalesHour.php
getTotalActiveLeads.php
getTotalCalls.php
getTotalSales.php
getringingcall.php
getInSalesPerHour.php
getTotalAgentsCall.php
getTotalDialableLeads.php
getTotalcalls.php
getIncomingQueue.php
getTotalAgentsPaused.php
getTotalDroppedCalls.php

Other API's involve:
goDBconnectA.php (connection to asterisk database)
goDBconnectB.php (connection to goautodial database)
goSample.php (this is how you will code[php] to get the requested values)
goAPI.php (call the API above)
goFunctions.php (centralize functions used by the API's above)

Updated by Jerico James Milo over 2 years ago

Jerico James Milo wrote:

Demian,

Below are the API's done and for testing from the dashboard, the only remaining widget is the Agents/Phones most likely 2 functions. From the naming convention itself, you can determine its function. For example: getAgentsOnline.php(this will get the total agents online) just remove the word get to determine its function. Server: web01 Location of the API: /var/www/jameshv/goAPI/

getAgentsOnline.php getLeadsinHopper.php getTotalAgentsWaitCalls.php getTotalInboundSales.php getLiveInbound.php getDroppedPercentage.php getOutSalesPerHour.php getTotalAnsweredCalls.php getTotalOutboundSales.php getLiveOutbound.php getINSalesHour.php getTotalActiveLeads.php getTotalCalls.php getTotalSales.php getringingcall.php getInSalesPerHour.php getTotalAgentsCall.php getTotalDialableLeads.php getTotalcalls.php getIncomingQueue.php getTotalAgentsPaused.php getTotalDroppedCalls.php

Other API's involve: goDBconnectA.php (connection to asterisk database) goDBconnectB.php (connection to goautodial database) goSample.php (this is how you will code[php] to get the requested values) goAPI.php (call the API above) goFunctions.php (centralize functions used by the API's above)

Updated by Jerico James Milo over 2 years ago

  • % Done changed from 80 to 100

for final testing.

Updated by Jerico James Milo over 2 years ago

  • Status changed from New to Feedback

Also available in: Atom PDF