Oracle Service Cloud RightNow CX PHP Connect API Analytics Report example
$report_id = ..74..;
$report = RNCPHP\AnalyticsReport::fetch($report_id);
$report_filter = new RNCPHP\AnalyticsReportSearchFilter;
$report_filter->Name = 'chats.email';
$report_filter->Values = array($email);
$filters = new RNCPHP\AnalyticsReportSearchFilterArray;
$filters[] = $report_filter;
$report_result = $report->run(0,$filters);
while($reportRow = $report_result->next())
{
print_r($reportRow);
$chatID = (int)$reportRow['chat_id'];
}
This entry was posted on Tuesday, August 30th, 2016 at 12:11 pm and is filed under Codeigniter, Oracle RightNow CX Technologies, PHP. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.