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 .
© 1999-2024 RingCentral, Inc. All rights reserved.
Privacy Notice
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 .
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.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.