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 Records - Date Filter Window
Tags: rest api
Aug 26, 2021 at 8:36am   •   1 replies  •  0 likes
Jorge Correia

I'm using the "Get Company Call Log Records" API endpoint to extract call data to be analysed on our system.

However it seems the dateFrom and dateTo are filtering on the startTime field instead of endTime (startTime + duration) and because of that its possible to miss some calls if we just set the dateFom on the next collection to the previous dateTo + 1ms.

E.g.:

Call Collection #1 - GetCompanyCallLogRecords endpoint with datefrom: 2021-08-01T00:00:00.000Z and dateto: 2021-08-01T23:59:59.999Z

Call Collection #2 - GetCompanyCallLogRecords endpoint with datefrom: 2021-08-02T00:00:00.000Z and dateto: 2021-08-02T23:59:59.999Z

With these 2 queries I will miss all the calls that have started before 2021-08-01T23:59:59.999Z but ended after 2021-08-01T23:59:59.999Z.

Some of my questions are:

  • Is the filter on the startTime by design or a bug? It makes more sense filter on the endTime..
  • Is there any max duration imposed by RingCentral or a call can be active forever?

Do you have any advice on how to deal with this scenario to ensure no data is missed, and at the same time no need to deal with duplicates.

I'm also aware of the the Sync endpoint but because we will deal with high volume of calls (and there is a limit of 250 per request on this endpoint) I was following the CallLog approach (as suggested on this other post I've created - https://community.ringcentral.com/questions/101780/sychronization-flow-call-log-records.html).


Thanks

1 Answer
answered on Aug 26, 2021 at 1:06pm  

See me response in your previous post.


 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