$rcsdk = new RingCentral\SDK\SDK( $cid, $secret, $surl );
$platform = $rcsdk->platform();
$platform->login( $RINGCENTRAL_USERNAME, $RINGCENTRAL_EXTENSION, $RINGCENTRAL_PASSWORD );
// var_dump($platform);
$queryParams = array(
'type' => 'Voice',
'withRecording' => 'True',
'dateTo' => '2020-05-21',
'dateFrom' => '2020-05-20',
);
$callLogRecords = $platform->get('/account/~/extension/~/call-log', $queryParams)->json();
var_dump($callLogRecords);
This code works in sandbox, I was able to see the records Object if there's is any.
once the App graduated and I updated the credential info, however when I call this code the record Object is blank and there's data in the call log. Can anyone shed some light as to whats going on?