News & Announcements User Community Developer Community

Welcome to the RingCentral Community

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

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
Archive call logs
Tags: call logs
Aug 8, 2019 at 9:34am   •   1 replies  •  0 likes
Nitika D

I am new to coding and need help in archiving call logs .Please guide me with c# code to automatically archive call logs older than 3 days .

1 Answer
answered on Aug 8, 2019 at 11:48am  

Check out this dev manual documentation. Browse to the sample code section and choose the C# tab.

If you don't know how to get the RingCentral .Net SDK, see the quick start where it covers that part.

Now to define the period of time you want to read the call log, specify the dateFrom and dateTo as an example below:

parameters.dateFrom = "2019-08-05T00:00:00.000Z" 
parameters.dateTo = "2019-08-08T23:59:59.999Z" 

If you don't specify the dateTo parameter, it will take the current date and time.

Extra miles. You can implement call log synchronization to archive call log data using the Call Log Sync API as well.

Check out this blog, it is about archiving the message store (SMS, MMS, Fax and Voicemail). But you can have an idea how to use the sync API.


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

Developer Platform
Integrated Apps
App Gallery
Developer support
Games and rewards

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