I'm doing some investigation about how to extract call log records from RingCentral to run some analytics against the data. I'm trying to use the Sync API endpoint however I've a few questions about the synchronization flow and how it works:
- How the 250 records limit works? If initially I've more than 250 records on RingCentral how can I extract those records?
- If I've more than 250 records and I do a FSync call, how many record are returned? 250? More? Exception?
- I've found this article (Sync RingCentral Call Log into Google Sheets) and took a look on the code and the implemented flow is the following: Do a FSync call with recordCount = 250, then if response contains more than 250 records (is this possible?), request older data through "Get Company Call Log Records" search endpoint. Then I'm assuming that I can start using the ISync using the SyncInfo from the initial FSync. Is this the recommended flow?
- If ISync returns an error because there is more than 250 new records, what is the best way to restart the synchronization? Call the FSync and pass the LastSyncInfo.syncTime as the value for the dateFrom filter?
For testing purposes and to play with this synchronization process it will be very useful for me to have a huge number of calls on my sandbox account. Is there any quick away to generate dummy calls to be extracted through the API?
Many thanks.