List Existing Files
The CDRs module is aimed at letting you download monthly CDR files; it partly replicates what is available on the web portal.
listExistingFile method: This API allows you to list all the files that are available for download. You should use this method to get the name of the file before you can use the downloadFile method which requires the file name as an input parameter.
If there are no files listed in the output of this method, you will need to request file creation again.