(2024.1) Zero/Low Calls Report Event
The Zero/Low Calls Report Event can be triggered using Custom Logic. The following parameters are Required to execute the Event.
Zero/Low Calls Report
/**
* Event: Zero/Low Calls Report
* Listener Class: Application_Model_CallDetails_CallDetails
* Listener Method: eventZeroCallsReport
*/
PCR_Event::attachDb(
"zero-calls-report",
["Application_Model_CallDetails_CallDetails" => "eventZeroCallsReport"]
);
PCR_Event::trigger(
"zero-calls-report",
[
"date_range" => "Last 30 Days", //Value entered in Date Range
"service_host" => "22", //RecID of Service Host
"call_count" => "10",
"duration" => "30",
"email" => "test@test.com", //Optional field
"service_host_display" => "Avaya", //Name of Service Host
"dateRange" =>
[
1662177600, //Not sure what these numbers represent? Hopefully a Dev will know!
1664769600
],
"eventBroadcastBy" => "216121",
"eventBroadcastTime" => "Oct 3, 2022, 2 => 50 pm",
"eventBroadcastDayofWeek" => "1",
"eventBroadcastHourMin" => "1450",
]
);