News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Call log API not returning all data
Tags: rest api, call logs
Aug 1, 2019 at 3:16am   •   3 replies  •  0 likes
scott-rister

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.

on Dec 1, 2022 at 5:55am   •  0 likes

Can you please help me I also have the same issue

2 Answers
answered on Nov 25, 2020 at 2:58am  

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



 0
on Dec 1, 2022 at 5:54am   •  0 likes

I also have the same issue

answered on Aug 1, 2019 at 8:44am  

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.


 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us