question

Nitika D avatar image
Nitika D asked ·

Archive call logs

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 .

frequently askedcall log
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

· Write an Answer
Phong Vu avatar image
Phong Vu answered ·

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.

Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.