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.
Import company call log 2 Answers
Call log API not returning all data 1 Answer
Call Log: Archiving of call records 2 Answers