Question

Call log API not returning all data

  • 1 August 2019
  • 4 replies
  • 1950 views

  • Anonymous
  • 0 replies

Hi!

We are working with RingCentral "Read Call Logs" API and we have observed that the data returned do not match with the "Analytical Reports" provided by RC Admin account.

For example, In the week 2019-07-22 to 2019-07-28 for the extension 111 (RC extension 214644031) the API gives around 40 results back whereas when we check the "Performance Reports" in RC Admin account the same person has over 330 calls.


Please see below the request metadata:

{
"uri": "https://platform.ringcentral.com/restapi/v1.0/account/~/extension/214644031/call-log?view=Simple&type=Voice&showBlocked=true&withRecording=false&dateFrom=2019-07-22T00:00:00.000Z&dateTo=2019-07-28T00:00:00.000Z&showDeleted=false&page=1&perPage=1000",
"records": [],
"paging": {
"page": 1,
"perPage": 1000
},
"navigation": {
"firstPage": {
"uri": "https://platform.ringcentral.com/restapi/v1.0/account/~/extension/214644031/call-log?view=Simple&type=Voice&showBlocked=true&withRecording=false&dateFrom=2019-07-22T00:00:00.000Z&dateTo=2019-07-28T00:00:00.000Z&showDeleted=false&page=1&perPage=1000"
},
"lastPage": {
"uri": "https://platform.ringcentral.com/restapi/v1.0/account/~/extension/214644031/call-log?view=Simple&type=Voice&showBlocked=true&withRecording=false&dateFrom=2019-07-22T00:00:00.000Z&dateTo=2019-07-28T00:00:00.000Z&showDeleted=false&page=1&perPage=1000"
}
}
}


Please let me know what we are missing here. Any assistance would be extremely helpful.


4 replies

Userlevel 1

Hi Scott,

There must be some thing incorrect in the request. Can you make sure that you are reading the call log of an extension in both cases. If you log in the service dashboard with an admin user, you probably read the call log of all the users under the account. Then it is equivalent to reading the call log using the API at the account level "/account/~/call-log". It could be in your case that you are calling API at the extension level "/account/~/extension~/call-log" and that is why you get records only for that extension.

Hi
I am having same issues

My account extension is 301
my client ID is aL3JQllRQDGW-CkNOEEGdw
I am trying to get company call log but I am not getting the full data

{
"uri": "https://platform.devtest.ringcentral.com/restapi/v1.0/account/286393004/call-log?view=Simple&showBlocked=true&withRecording=false&dateFrom=2020-11-24T10:56:00.000Z&page=1&perPage=100",
"records": [],
"paging": {
"page": 1,
"perPage": 100
},
"navigation": {
"firstPage": {
"uri": "https://platform.devtest.ringcentral.com/restapi/v1.0/account/286393004/call-log?view=Simple&showBlocked=true&withRecording=false&dateFrom=2020-11-24T10:56:00.000Z&page=1&perPage=100"
},
"lastPage": {
"uri": "https://platform.devtest.ringcentral.com/restapi/v1.0/account/286393004/call-log?view=Simple&showBlocked=true&withRecording=false&dateFrom=2020-11-24T10:56:00.000Z&page=1&perPage=100"
}
}
}
{
"uri": "https://platform.devtest.ringcentral.com/restapi/v1.0/account/286393004/call-log?view=Simple&showBlocked=true&withRecording=false&dateFrom=2020-11-24T10:56:00.000Z&page=1&perPage=100",
"records": [],
"paging": {
"page": 1,
"perPage": 100
},
"navigation": {
"firstPage": {
"uri": "https://platform.devtest.ringcentral.com/restapi/v1.0/account/286393004/call-log?view=Simple&showBlocked=true&withRecording=false&dateFrom=2020-11-24T10:56:00.000Z&page=1&perPage=100"
},
"lastPage": {
"uri": "https://platform.devtest.ringcentral.com/restapi/v1.0/account/286393004/call-log?view=Simple&showBlocked=true&withRecording=false&dateFrom=2020-11-24T10:56:00.000Z&page=1&perPage=100"
}
}
}
https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/call-log?view=Simple&page=1&perPage=100


I also have the same issue

Can you please help me I also have the same issue

Reply